⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
AGPL-3.0 License
A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
Experience the demo at Sink.Cool. Log in using the Site Token below:
Site Token: SinkCool
We welcome your contributions and PRs.
Video tutorial: https://www.youtube.com/watch?v=MkU23U2VE9E
Fork the repository to your GitHub account.
Create a Cloudflare Pages project.
Select the Sink
repository and the Nuxt.js
preset.
Configure environment variables.
NUXT_SITE_TOKEN
length must exceed 8.NUXT_CF_ACCOUNT_ID
find your account ID.NUXT_CF_API_TOKEN
Create a Cloudflare API token. This token requires Account.Account Analytics
permissions at the very least. Reference..Save and deploy.
Cancel the deployment, navigate to Settings
-> Functions
.
KV
to a KV namespace.AI
to the Workers AI Catalog. Optional
ANALYTICS
to the sink
dataset, and enable Cloudflare Analytics Engine beta for your account.Redeploy.