A simple, fast, and friendly URL shortener built with Flask + MongoDB. Perfect for saving long educational links with a quick code you can remember. 🧠🔗
Paste your long study URL, get a tiny code like #abc123, and use that code to get back to it later!
- 🔒 URL validation & smart formatting
- 🪄 Random code generation (like
#xYz9T3) - 💾 MongoDB for persistent storage
- 📈 Basic API for stats
- Python (Flask)
- MongoDB Atlas
- HTML + Bootstrap (for the frontend)
-
Clone the repo
git clone https://github.com/TraxDinosaur/StudyLinks.git cd StudyLinks -
Install dependencies
pip install -r requirements.txt
-
Run the server
python app.py
-
Open your browser
http://localhost:5000
/api/stats– returns basic count of stored links
{
"total_urls": 12,
"total_codes": 12
}TraxDinosaur 🌐 traxdinosaur.github.io
Creative Commons BY-SA 4.0 Feel free to remix or share – just give credit and share alike.
