⚡ Powerful Analytics
🎛️ User-friendly modern browser interface
💾 > 20 MB
🌐 Works even on microhosting services!
🏗️ Build with sqlite3 and nodeJS
🏃 Developed with speed in mind
- Clone the git repo:
git clone https://github.com/MoPaMo/f.git
- Enter the new directory:
cd f
- Install the node modules:
npm install
- Add a .env and choose a password
echo "pwd=[your password]" > .env
- Create the database file in ./db/
sqlite3 db/db.db
Copy and paste these SQL commands
For the lazy: You can also just copy example.db
into ./db/
and rename it to db.db
- Run it!
npm start # or node index.js
CREATE TABLE links (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL , token TEXT NOT NULL UNIQUE, url TEXT NOT NULL, created INTEGER);
CREATE TABLE refs (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, link_id INTEGER NOT NULL, lang TEXT, browser_name TEXT, os_name TEXT, versionName TEXT, platType TEXT, referrer TEXT, full_ua TEXT, timeHit INTEGER);
Name | Type | Special |
---|---|---|
Item One | Item Two | Item Three |