BioLink

BioLink Premium

A premium, guns.lol-style bio-link platform built for creators. Every profile is a fully customizable landing page with animated themes, music, video, gallery, analytics, and more.

Live Demo

Visit your own profile at https://your-domain.com/bio?username=yourname

Features

Tech Stack

Layer Technology
Backend Node.js 20, Express, SQLite
Auth JWT (HTTP-only cookies), bcrypt, Passport.js
Frontend Vanilla JS, Premium CSS (glassmorphism, neon, glitch)
Icons Custom SVG (no emojis)
QR Codes qrcode library
Analytics SQLite time-series

Quick Start

# Install dependencies
npm install

# Start the server
npm start
# or
node server.js

# Visit http://localhost:5000

Environment Variables

Create a .env file or set these in your environment:

JWT_SECRET=your-secret-key
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
GITHUB_CLIENT_ID=...
GITHUB_CLIENT_SECRET=...
DISCORD_CLIENT_ID=...
DISCORD_CLIENT_SECRET=...
OAUTH_CALLBACK=https://your-domain.com
PORT=5000

API Endpoints

Auth

Bio

Analytics

Admin

Project Structure

├── server.js              # Express server, middleware, routes
├── db.js                  # SQLite schema & initialization
├── middleware/
│   └── auth.js              # JWT auth, RBAC, role guards
├── routes/
│   ├── auth.js              # Login, register, JWT
│   ├── oauth.js             # Google, GitHub, Discord OAuth
│   ├── bio.js               # Bio CRUD, QR codes
│   ├── links.js             # Link management
│   ├── gallery.js           # Gallery images
│   ├── media.js             # Music/video embeds
│   ├── analytics.js         # Views, clicks, charts
│   └── admin.js             # Admin panel API
├── public/
│   ├── index.html           # Landing page
│   ├── dashboard.html       # Bio builder dashboard
│   ├── admin.html           # Admin panel
│   ├── bio.html             # Public bio page
│   ├── style.css            # Premium design system
│   ├── js/
│   │   ├── app.js           # Global utilities, particles, auth
│   │   ├── dashboard.js     # Bio builder logic
│   │   ├── bio.js           # Bio page renderer
│   │   ├── admin.js         # Admin panel logic
│   │   ├── auth.js          # Auth API helpers
│   │   ├── links.js         # Link drag-and-drop
│   │   ├── gallery.js       # Gallery uploader
│   │   ├── media.js         # Media embeds
│   │   └── analytics.js     # Analytics charts
│   ├── icons/
│   └── assets/
├── package.json
├── README.md
└── .gitignore

Themes

Theme Description
Dark Default deep purple/black
Light Clean white/gray
Cyber Matrix green terminal
Neon Hot pink/magenta
Midnight Deep blue
Sunset Warm orange/red
Ocean Cool blue/cyan
Forest Green/nature

License

MIT