Case study
Link shortening service
Web service for generating short links with redirection to the source address
01 Task
I needed my own link shortening service, without third-party services. Someone else’s brand in the address and the risk that the short link would be disabled at any time were not suitable
02 Solution
Wrote a compact service in Python. Generates a short code, gives a quick redirect and does not generate new codes for already shortened links. I deliberately avoided heavy dependencies in order to cheaply host and embed anywhere
03 Solved tasks
- I made the front according to the layout
- Wrote a compact link shortening service in Python
- Implemented short code generation and fast redirect
- Eliminated duplicate codes for already shortened links
- I did without heavy dependencies for the sake of cheap hosting
04 Result
Your own short links on your own domain and under your own control. Raises on a regular VPS in a couple of minutes