A link-in-bio page that's yours — not a SaaS account. One link that says everything about you — your name, your work, and every place to find you — on a fast, fully responsive page that looks right on any screen. And it's built for more than human eyes: the same page hands clean, structured information to search engines, link previews, and AI assistants, so you're represented correctly whether someone reads it, crawls it, or asks about you. Humans, bots, and agents — all covered. One small container, one SQLite file, two runtime dependencies, and no build step. Self-host it behind your reverse proxy, point your domain at it, and edit everything from a built-in admin panel. It's a drop-in replacement for LinkStack and hosted link-in-bio services: the same idea, a fraction of the footprint, and your data stays on your own disk.
| Image size | ~170 MB on disk (~60 MB compressed) |
| Runtime deps | 2 (hono, @hono/node-server) |
| Storage | SQLite (node:sqlite) + local uploads |
| Frontend | Server-rendered HTML + one CSS file. No JS framework. |
- Public profile page at
/— name, tagline, description, avatar, and a list of link buttons. - Built-in admin editor at
/admin— edit everything from the browser; no config files, no redeploys. - Custom favicon and per-theme backgrounds — upload an image and it's resized and converted in your browser (512×512 PNG favicon, WebP backgrounds), with fill/fit/stretch, nine anchor points, tiling, scroll/fixed, and an image opacity over a solid background colour.
- Social preview image — generate a 1200×630 card (avatar, name, tagline on
the accent colour) in the browser; it's served as
og:image/twitter:imageso your page looks right when shared on Discord, Slack, or Twitter. - QR code share — click your avatar to open a modal with a QR code for your page URL, the URL as text, and a link to make your own page. Works without JavaScript.
- Discoverable identity — optional job title, employer, alumni, expertise, and
public contact details are published as schema.org structured data, microformats,
Open Graph profile meta, the contact card (vCard
ROLE/ORG/EMAIL/TEL), andllms.txt, so search engines and AI assistants describe you accurately. Everything is editable from the admin Identity section. - Link icons — Font Awesome classes (with a lookup link) or uploaded images; the editor shows only the fields for the chosen icon type, and an Upload icon button resizes and converts your graphic in the browser.
- Link "more info" cards — give any link an optional description written in a small, safe Markdown subset (bold, italic, lists, rules, inline code). On a hover-capable device the button reveals a card with the icon at double size, the title, the description, and a footer with plain Open: text followed by the URL as a link (without the scheme, dashed underline turning solid on hover); touch devices keep plain tap-to-open.
- Short links — give any link a short slug (for example
your-domain.com/matrix) right in its editor. The slug redirects to the real target, is checked for availability as you leave the field (and again on save), and cannot duplicate another link or shadow an app route such as/adminor/login. It lives on the link, so editing or clearing it frees the old slug immediately; while active, the button and the hover card's Open: footer show and open the short link instead of the target. - Drag to reorder links, with Move up/down buttons for keyboard and no-JS use.
- One-click backup & restore — download the whole profile (content, theme,
identity, and images) as a
.tar.gz, and restore it later. - Dark and light themes — set a default of light, dark, or system (follow the visitor's OS), and optionally let visitors switch for themselves with a bottom-right switcher that remembers their choice.
- Password managed from the UI — a fresh install starts with a bootstrap
password and forces you to pick your own on first login; change it any time
from the Security section (signs out other sessions), or reset a forgotten one
with a single
docker execcommand. - Crawler- and agent-friendly —
robots.txt,sitemap.xml(withlastmod),llms.txt(with an identityFactsblock), a canonical link,theme-color, schema.orgProfilePage/PersonJSON-LD, and site-verification files served fromdata/root/. - Contact exchange — a one-click vCard (
/contact.vcf), a JSON summary (/contact.json), and a WebFinger probe (/.well-known/webfinger). - Tiny and dependency-light — two runtime dependencies, no build step, TypeScript run directly by Node.
- Hardened container — non-root, read-only root filesystem,
cap_drop: ALL, and no published ports.
git clone https://github.com/niels-emmer/profile-page.git
cd profile-page
cp .env.example .env
# set PROXY_NETWORK in .env to the Docker network your reverse proxy is on
docker compose up -d --buildThe container joins the external Docker network named in PROXY_NETWORK
(default proxy-net) and listens on port 3000; no ports are published.
Point your reverse proxy at http://profile-page:3000. If the network does not
exist yet, create it once: docker network create <name>.
Once it is running, open /admin on your domain to edit your profile — see
Editing your profile.
Any TLS-terminating proxy works (Nginx Proxy Manager, Caddy, Traefik). The proxy
and the container must share the Docker network named in PROXY_NETWORK in your
.env. For Nginx:
server {
listen 443 ssl;
server_name example.com;
location / {
proxy_pass http://profile-page:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
# Overwrite, do not append, so the app sees a trustworthy client IP.
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}Set BASE_URL=https://example.com in .env so absolute URLs (canonical,
og:url, sitemap, vCard) are correct.
npm install
npm run seed # create the database and demo profile
npm start # http://localhost:3000Requires Node.js >= 24 — the app runs TypeScript directly, with no build step.
Everything is edited from the built-in admin panel — no config files, no redeploys.
- Open
/adminon your site (e.g.https://example.com/admin, orhttp://localhost:3000/adminlocally). You are redirected to/login. - Sign in. A fresh install starts with the bootstrap password
changeme; the first visit to/adminthen asks you to pick your own secure password. - Edit and save — changes appear on the public page immediately.
Reset it from the container, then restart so the app picks it up (this also signs out every session):
docker exec -it profile-page node src/reset-password.ts
docker compose restart profile-page
# resets to "changeme" — log in and you will be asked to set a new one
# or pick the new password directly:
docker exec -it profile-page node src/reset-password.ts 'my-new-password'
docker compose restart profile-pageThe panel covers:
| Section | What it does |
|---|---|
| Profile | Name, tagline, and description |
| Theme | Default light/dark/system, whether visitors can switch, and text/accent colours |
| Avatar | Upload a square image (shown as a circle) |
| Preview | Generate a 1200×630 social preview card (name, tagline, avatar on the accent colour) shown when your page is shared, or upload your own |
| Favicon | Upload a browser-tab icon (centre-cropped to a 512×512 PNG in your browser) |
| Background | Per-theme background image with opacity, a solid colour behind it, and size/position/tiling/scroll options |
| Links | Add, edit, delete, and drag-to-reorder your link buttons, with an optional "more info" description shown in a hover card and an optional short-link slug |
| Backup & restore | Download or restore the whole profile as a .tar.gz |
| Security | Change your admin password (signs out other sessions) |
Each link has an Icon type selector that shows only the relevant fields:
- Font Awesome — an Icon font-awesome code field (with a link to the
Font Awesome search in a new tab) and an
Icon colour field. The bundled set is
Font Awesome Free 6.7.1 — solid, regular, and
brand icons. Copy a class and paste it in, e.g.
fa-solid fa-globe,fa-brands fa-github, orfa-regular fa-envelope. Include the family prefix (fa-solid,fa-regular, orfa-brands) or the icon will not render. - Image path — an Icon path field plus an Upload icon button that
resizes and converts your graphic in the browser and fills the path for you.
You can also use a bundled asset such as
/assets/icons/github.svg(the Simple Icons brand icons) or any file under/assets/uploads/.
Each link can publish a short address too. Enter a slug such as matrix in the
Short link field to make <your-domain>/matrix redirect to the link's real
URL.
- Slugs are 1–32 characters: lowercase letters, numbers, and inner hyphens. Input is trimmed and lowercased.
- A slug must be unique across links.
admin,login,logout,health, andassetsare reserved so a short link can never shadow an app route. - The editor checks availability when you leave the field and again on Save link; a duplicate is not saved.
- There is no separate short-link screen. The slug belongs to its link, so changing or clearing it — or deleting the link — frees the old slug.
- While a slug is active, the button itself opens the short URL and the hover
card's
Open:footer shows it instead of the raw target. The short URL 302-redirects, so the target can change without breaking a shared link.
npm run dev # watch mode (node --watch)
npm test # node:test suite
npm run typecheck # tsc --noEmit
npm run seed # create the database + demo profile- No build step.
src/*.tsis executed directly by Node's type stripping;npm startrunsnode src/server.ts. - Docker build:
docker build -t profile-page .— multi-stage, production dependencies only. - Debugging: the app logs to stdout (
docker compose logs -f profile-page).GET /healthreturns200 okand backs the container healthcheck. If port 3000 is taken locally, setPORT(e.g.PORT=3999 npm start). - Data: everything stateful lives in
DATA_DIR(./datalocally,/datain the container) —profile.dbplusuploads/. It is gitignored; never commit it. - Layout:
src/(server, routes, render, db, auth, upload, backup),public/(CSS, fonts, icons),tests/(node:test),docs/.
See CONTRIBUTING.md for guidelines. The project deliberately keeps exactly two runtime dependencies — prefer the Node standard library.
All configuration is via environment variables (see .env.example).
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Listen port |
DATA_DIR |
./data (/data in Docker) |
SQLite database + uploads |
ADMIN_PASSWORD |
(unset) | Optional: pin the admin password from the environment. When set it wins over a UI change on restart, which also signs out every session. Leave unset to manage the password from the UI. |
PROXY_NETWORK |
proxy-net |
External Docker network shared with your reverse proxy |
SESSION_SECRET |
(generated) | Cookie signing secret. Generated and persisted if unset. |
SECURE_COOKIES |
true in production |
Adds the Secure flag to session cookies. Set false only for plain-HTTP local development. |
BASE_URL |
(request host) | Public base URL for absolute URLs in meta tags and discovery files. |
On first run the app seeds a demo profile ("Alex Rivera" and a few example links)
so a fresh install isn't empty. Edit it in /admin, or replace it wholesale with
a seed file:
cp personal-seed.example.json data/personal-seed.json
# edit data/personal-seed.json, then:
node src/seed.ts data/personal-seed.jsonA seed replaces the profile, theme, and all links. Image paths refer to files
under data/uploads/, so the JSON and its uploads travel together. Both live in
the gitignored data/ directory and are never committed.
See SECURITY.md. Highlights: scrypt password hashing, signed
HttpOnly SameSite=Lax cookies, CSRF protection, login rate limiting, upload
validation, strict security headers, parameterised SQL, and a non-root, read-only
container.
- AGENTS.md — entry point for contributors and AI agents
- docs/governance/ — invariants, architecture, style guide, UI guidelines, testing, workflow, and locked decisions
- docs/DEPLOYMENT.md — reverse proxy, backups, upgrades
- docs/API.md — routes, data model, seed format, discovery endpoints
- SECURITY.md — threat model and hardening
- docs/THIRD-PARTY.md — bundled assets and licenses
- Design inspiration: LinkStack (MIT). The public page reimplements its look from scratch — no LinkStack code is copied.
- Fonts & icons: Inter (OFL 1.1), Font Awesome Free 6.7.1 (icons CC BY 4.0, fonts OFL 1.1, code MIT), and Simple Icons (CC0 1.0).
- Built with: Hono and
@hono/node-server (MIT), plus Node's
built-in
node:sqlite. - Full third-party details: docs/THIRD-PARTY.md.
MIT — see LICENSE.

