URL shortener / redirection service powered by Supabase, Cloudflare Workers, Workers KV and Cloudflare Pages.
MIT License
Launch your own personal URL shortener / redirection service using free tiers of Supabase, Cloudflare Workers, Workers KV and Cloudflare Pages.
Visit https://supaflare.licit.dev. Also accessible through https://supaflare.pages.dev.
Use Magic Link to login or sign in with GitHub.
Create and manage your links!
URLs have to start with a protocol such as
https://
,ftp://
Custom protocols are supported (eg:
tg://
opens the Telegram app).
Test your links at https://out.licit.dev/slug
Provide authentication and segretation of data between different users.
Store redirection links and metadata.
Convenient access to access the above Supabase features used.
Perform URL redirection and to update link data.
Read and store link data used when redirecting web requests.
Host the front-end Vue 3 web application.
Create a Fork of Supaflare as the deployments are pushed via GitHub Actions.
id
found in /worker/wrangler.toml with the one you have just created.+ New query
.API
.Vue
.dist
.app
.VITE_SUPABASE_KEY
with the Project API key > anon / public.VITE_SUPABASE_URL
with the Config > URL.VITE_SUPAFLARE_WORKER_URL
with https://supaflare-worker.<your workers subdomain>.workers.dev
.CLOUDFLARE_ACCOUNT_ID
with the Account ID.CF_API_TOKEN
with the API Key.CF_PAGES_MASTER_WEBHOOK_URL
with the Deploy hook URL.SUPABASE_API_KEY
with the Project API key > anon / public.SUPABASE_JWT_SECRET
with the Config > JWT Secret.SUPABASE_URL
with the Config > URL.SUPAFLARE_ADMIN_KEY
with a random non-empty string, used as secret for manual updates.MASK_WORKER_URL
with your worker hostname for masking. Eg: test.workers.devPlease set the Site URL in Supabase Settings > Auth settings
to be the URL of your Cloudflare Pages site.
For external OAuth providers, refer to the auth guide provided by Supabase.
You may restrict the access to your web application using Cloudflare Access based on your requirements.
Developed by licitdev