Skip to content

derLesh/kurz

Repository files navigation

KURZ

Quickly share texts and links with your friends

Stack

  • Next.js
  • Tailwind CSS
  • Shadcn UI
  • Lucide Icons
  • Drizzle ORM
  • Turso
  • SQLite
  • BetterAuth

Features

  • Create short links (KURZ)
  • Share links with your friends
  • Expire links after a certain time
  • Create texts and share them with your friends
  • Syntax highlighting

Development

Requirements

  • Node.js 22+
  • A Turso account

Setup

  1. Clone the repository
git clone https://github.com/derlesh/kurz.git
  1. Install dependencies
npm install
  1. Create a .env file and set the environment variables
BETTER_AUTH_SECRET= # Can be generated with `npx better-auth@latest secret`
BETTER_AUTH_URL=

TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=

GH_CLIENT_ID=
GH_CLIENT_SECRET=

NEXT_PUBLIC_APP_URL=
  1. Generate the database schema
npm run db:push
  1. Run the development server
npm run dev

Thanks

I've planned to do something like this for a while now. I've wanted a better way to share texts with friends. After I've found slug I had the motivation to start this project. The project now has an URL shortening feature which I didn't have in mind when I started.

So thank you slug for the inspiration!

About

Share texts and images with your friend

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages