A URL shortener that uses a live lava lamp animation as a pseudo-random seed for short code generation — inspired by Cloudflare's lava lamp wall.
Final_Draft_Demo.mp4
Most URL shorteners just increment an ID. 1, 2, 3. Predictable and guessable.
Ember renders a live metaball lava lamp simulation in the browser. When you shorten a link, it samples pixel data from the animation at that exact moment and mixes it into the short code seed. Every code is unique and unpredictable — derived from real-time visual chaos.
It's pseudo-random, not true entropy. But it's a better story than id + 1.
- Backend — Python, Flask, SQLite
- Frontend — HTML, CSS, JavaScript, GSAP
- Algorithm — Base62 encoding seeded with canvas pixel sampling
- Python 3.x
- pip
git clone https://github.com/jay06rathod/Ember.git
cd Emberpython -m venv env
source env/bin/activate # Windows: env\Scripts\activatepip install flaskpython app.pyVisit http://localhost:5000 in your browser.
Ember/
├── app.py # Flask routes and core logic
├── db.py # Database setup
├── index.html # Frontend — lava lamp + UI
├── urls.db # SQLite database (auto-generated)
└── README.md
MIT License — feel free to use, modify, and distribute.
Jay Rathod
- GitHub: @jay06rathod
- Twitter: @Jay_Rathod_06