Lightweight, Modern, Free and Open Source Link Shortener
- SvelteKit (Web Framework)
- Tailwind CSS (CSS Framework)
- TypeScript (Programming Language)
- Flowbite (UI Component)
- Prisma (ORM)
- Zod (Validation Library)
- Auth.js (Auth Library)
- Auto Animate (Animation Library)
- Day.js (Date Parser Library)
- Inversify (Dependency Injection Library)
- Svelte French Toast (Toast / Notification Library)
- Node.js
- Node.js Package Manager (pnpm is highly recommended)
- PostgreSQL
- GitHub OAuth
- Google OAuth
git clone https://github.com/tfkhdyt/pondokeun
cd pondokeun
pnpm i
# npm install
# yarn install
# setup environment variable
cp .env.example .env
# and then put your env var to .env file
# start your PostgreSQL
sudo systemctl start postgresql.service
# database migration
pnpm prisma migrate dev
DATABASE_URL
= Your PostgreSQL database urlGITHUB_ID
= Your GitHub OAuth Client IDGITHUB_SECRET
= Your GitHub OAuth Client SecretGOOGLE_ID
= Your Google OAuth Client IDGOOGLE_SECRET
= Your Google OAuth Client SecretAUTH_SECRET
= Random stringPUBLIC_APP_URL
= Your app URL
Check .env.example file for more info.
# development
pnpm dev
# production
pnpm build
pnpm preview
# if you change the database schema
pnpm prisma migrate dev