A simple URL shorter for NodeJS

It’s called Biu, because in Chinese this Pinyin (something like phonetic symbols) pronounces like “be-yo”, the sound that old-fashioned laser gun would make in films.

I decide not to use database but instead use a single text file, because for a private URL shorter, the links number would hardly be big. And it will read all the links into memory once starts.

Considering its application scene, I think it’s rational to make things, including setup, simpler.

Demo http://biu.link
Github http://biu.link/git (https://github.com/vilic/biu)

Original link of this archive: http://vilic.info/blog/archives/1129
本文的原始链接: http://vilic.info/blog/archives/1129