Self-hostable, Personal URL Shortner That Lives on The Edge
View Demo
·
Report Bug
·
Request Feature
Kotaa is a simple, personal, self-hostable URL shortner that can be deployed to the Vercel Edge network.
- SvelteKit
- Redis (Upstash)
- Supabase (For authentication)
- Vercel Edge Network
PUBLIC_SUPABASE_URL: This can be found in the "API" section of your Supabase project's settings
PUBLIC_SUPABASE_ANON_KEY: This can be found in the "API" section of your Supabase project's settings
PUBLIC_ALLOWED_EMAILS: Comma separated email address list which are allowed to access the dashboard. (Do not keep any spaces) e.g: john@gmail.com,jane@gmail.com
The following values in the .env file will be auto filled if you are deploying directly to vercel. If not, you need to setup a project on Upstash and copy these values from the dashboard.
Easiest way to get up and running with Kotaa
If you don't like the blue Vercel "deploy" button.
- Fork & Clone
- Run
npm install - Copy
.env.exampleand rename it to.env - Add your upstash environment variables
- supabase setup
- Create an account or login to your supabase account
- Add
PUBLIC_SUPABASE_URLandPUBLIC_SUPABASE_ANON_KEYvalues into the.envfile. (You can get these values from supabase)
- upstash setup
- Create a new project on upstash and you can find the env variables required for
upstashfrom the upstash dashboard. - Copy those over to your local
.envfile
- Create a new project on upstash and you can find the env variables required for
- Push and deploy the project to vercel. (Remember to add your environment variables!)
- Add a custom domain to your vercel project (like
link.navindu.me) and you're good to go!
Distributed under the GPL-3.0 License.
Feel free to contact me via hello@navindu.me or through my twitter link.navindu.me/twitter
