lil is a URL shortening service built with the promise of never saving any user-data. It uses random captcha's to validate users and a username of the user's choice to do user sessions.
An instance of it can be found over at one0.xyz.
The old branch has the vue+sequelize codebase.
$ cp .env.example .env
$ sqlite3 lil.db < sql/000-all-tables.sql
$ npm i
$ npm start
Open http://localhost:3030.
-
Using lil from your terminal
Have
curlinstalled on your machine. Then copy overextras/lilto somewhere in your$PATH.$ cp extras/lil ~/bin $ # usage $ lil "https://www.warp.dev/pricing" $ lil "https://www.warp.dev/pricing" warpTo add your
~/binin your$PATH, put this in your~/.profilefile[ -d $HOME/bin ] && export PATH="${HOME}/bin:${PATH}"
-
There is a sample
nginxconfig in theextrasfolder. -
Migrating from 1.0.0 to 2.0.0
Get the old database and then run
node extras/mig.js lil.old.dbThis will insert all active urls and users from the old database into the current one.