Simple and compact (less than 40 lines) personal URL shortener, powered by Express on Node.js. No database needed, Tinchy uses a JSON file for persistence.


tin·chy adj. smaller than tiny.

Yep, it's a ridiculously simple and compact (less than 40 lines) personal URL shortener that takes fatty URLS and makes them tinchy.

Tinchy urls are in the form of http://domain.com/abc

Just Node 0.6+ and the Express framework. No database needed, tinchy persists URLs on the filesystem using JSON, so no database is needed.

I also wrote a python version of Tinchy.

  • Personal URL shortener.

  • <40 lines of code.

  • Express is the only dependency.

  • No database needed, files are persisted to the filesystem as JSON files.

  • Good for storing a few thousand personal URLs, if you expect to be storing tens of thousands then look somewhere else. This is not a bitly clone :).

  • Do whatever you want with it.

  • I hope it wont blow up but if it does then sorry :(