THIS IS SHUT DOWN
As this was simply a project I was working on for studies, it is now shut down so that it doesn't drain my Heroku credits anymore. There are also tons of security issues and I don't have the time or energy to maintain this anymore. Maybe I'll revisit the concept in the future, but definitely not anytime soon.
URL Slicer πͺ
URL Slicer is an easy-to-use, lightweight web tool for shortening URLs in a modern and customizable way. Slice through the clutter of long URLs and serve your audience with clean, manageable links!

π Try URL Slicer out!
You can try out URL Slicer at the website. It's totally free and has absolutely no limits!
π Features
- π Custom short links
- π Detailed analytics
- π Advanced security options
- π± Mobile-friendly design
- π Geo-targeting
- π Password protection
- πΌοΈ QR code generation
π οΈ Technologies Used
- Backend: Node.js with Express.js
- Database: MongoDB with Mongoose
- Authentication: Passport.js
- Frontend: EJS templating engine
- Styling: Custom CSS
- Icons: Feather Icons
- Email: Nodemailer (with Outlook SMTP)
- Geolocation: geoip-lite
- QR Code: qrcode
ποΈ Project Structure
url-slicer/
β
βββ views/ # EJS templates
βββ public/ # Static assets
β βββ styles.css # Main stylesheet
βββ server.js # Main application file
βββ package.json # Project dependencies
βββ .env # Environment variables (not in repo)
π Getting Started
-
Clone the repository:
git clone https://github.com/LyubomirT/url-slicer.git -
Install dependencies:
npm install -
Set up your environment variables in a
.envfile:[email protected] password=your_outlook_password PORT=3000 SESSION_SECRET=your_session_secret MongoURI=your_mongodb_connection_string -
Start the server:
npm start -
Visit
http://localhost:3000in your browser.
π Security Features
- Password hashing with bcrypt
- Session management
- CSRF protection
- Rate limiting for password attempts
- Secure password reset mechanism
π Analytics
URL Slicer provides detailed analytics for your shortened URLs, including:
- Total clicks
- Geographical distribution of clicks
- Device and browser statistics
- Click-through rates over time
π API Endpoints
/shorten: Create a new short URL/:code: Redirect to the original URL/stats/:code: Get statistics for a specific URL/api/analytics: Get overall analytics data
π€ Contributing
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
π License
This project is GPL-3.0 licensed.
π€ Author
Lyubomir Ternavskiy
- GitHub: @LyubomirT
- Buy Me a Coffee: Support URL Slicer
- Discord: @lyubomirt
- Email: [email protected]
- Server: The Orange Squad
Made with β€οΈ by Lyubomir Ternavskiy