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
curl
installed on your machine. Then copy overextras/lil
to somewhere in your$PATH
.$ cp extras/lil ~/bin $ # usage $ lil "https://www.warp.dev/pricing" $ lil "https://www.warp.dev/pricing" warp
To add your
~/bin
in your$PATH
, put this in your~/.profile
file[ -d $HOME/bin ] && export PATH="${HOME}/bin:${PATH}"
-
There is a sample
nginx
config in theextras
folder. -
Migrating from 1.0.0 to 2.0.0
Get the old database and then run
node extras/mig.js lil.old.db
This will insert all active urls and users from the old database into the current one.