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: [email protected],[email protected]
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.example
and rename it to.env
- Add your upstash environment variables
- supabase setup
- Create an account or login to your supabase account
- Add
PUBLIC_SUPABASE_URL
andPUBLIC_SUPABASE_ANON_KEY
values into the.env
file. (You can get these values from supabase)
- upstash setup
- Create a new project on upstash and you can find the env variables required for
upstash
from the upstash dashboard. - Copy those over to your local
.env
file
- 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 [email protected]
or through my twitter link.navindu.me/twitter