Shorten is a high-performance URL shortener that generates 8-bit short links with fast redirection, analytics, and custom alias support.
- Custom Branded Links: Personalize short links with your brand.
- Analytics Dashboard: Track engagement, clicks, and user behavior.
- No Cookies Required: Get insights without tracking users invasively.
- Seamless Integration: Use API for automated link generation.
- Secure & Fast: Reliable and efficient link redirection.
- Frontend: React.js / Next.js
- Backend: Express.js
- Database: MongoDB / PostgreSQL
- Authentication: JWT / OAuth
- Hosting: Vercel / AWS / DigitalOcean
- Clone the repository:
git clone https://github.com/yourusername/shorten.git cd shorten
- Install dependencies:
npm install
- Set up environment variables in a
.env
file:DATABASE_URL=your_database_url JWT_SECRET=your_secret_key
- Run the development server:
npm start
- Enter a long URL and generate a short link.
- Share the short link with your audience.
- Track engagement and performance from the analytics dashboard.
POST /shorten
- Create a short link.GET /:shortCode
- Redirect to the original URL.GET /stats/:shortCode
- Get analytics data.
Feel free to contribute! Fork the repo, create a branch, and submit a PR.
This project is licensed under the MIT License.