Skip to content

A clean and minimal URL shortener built with NextJs. Shorten, customize, and manage your links with a simple, elegant interface.

License

Notifications You must be signed in to change notification settings

gvrciary/nex-url

Repository files navigation

nex url - Professional URL Shortener

Next.js TailwindCSS TypeScript BetterAuth Drizzle Turso

Whats is nex url?

A minimalist URL shortener focused on simplicity, speed, and clean links.

Features

  • URL Shortening: Convert long URLs into short, shareable links
  • Custom Aliases: Create personalized short links with custom aliases
  • Dashboard: Manage all your links in one place
  • Responsive Design: Works perfectly on desktop and mobile
  • Dark/Light Theme: Toggle between themes for optimal viewing
  • Real-time Updates: Instant feedback and updates
  • Export Data: Download your links data as JSON

Installation

  1. Clone the repository
git clone https://github.com/gvrciary/nex-url.git
cd nex-url
  1. Install dependencies
npm install
  1. Environment Setup Create a .env.local file in the root directory:
# Database Configuration (Turso)
TURSO_CONNECTION_URL=your_turso_database_url
TURSO_AUTH_TOKEN=your_turso_auth_token

# Authentication
BETTER_AUTH_SECRET=your_random_secret_key
BETTER_AUTH_URL=http://localhost:3000
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_github_client_secret
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
  1. Database Setup Run database migrations:
npm run db:generate
npm run db:migrate
  1. Run in development mode
npm run dev

License

LICENSE - MIT by gvrciary

About

A clean and minimal URL shortener built with NextJs. Shorten, customize, and manage your links with a simple, elegant interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages