7a42b8bfa32988caafedd5cfbe8a185855113c4d
All checks were successful
Build and Deploy PunktFri / build-and-deploy (push) Successful in 49s
- Add hero CTA button linking directly to signup form (#tilmeld anchor) - Add id='tilmeld' anchor to signup section - Add founding-note: early signups shape the initiative - Improve /tak page: share box with pre-written copy-paste text + clipboard button - Update tak contact link styling (remove inline styles) - Add CSS for .hero-cta, .founding-note, .share-box, .copy-btn, .copy-confirm
PunktFri.dk
Flask landing page for PunktFri — a Danish non-profit registrar initiative for self-hosters.
Setup
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py
Visit http://localhost:5000
Environment variables
| Variable | Default | Description |
|---|---|---|
PORT |
5000 |
Port to listen on |
DATABASE |
punktfri.db |
SQLite database path |
LOG_FILE |
signups.log |
Signup log file path |
ADMIN_USER |
admin |
Admin username |
ADMIN_PASS |
punktfri2024 |
Admin password |
Change ADMIN_USER and ADMIN_PASS before deploying publicly.
Routes
/— Landing page + signup form/tak— Confirmation page after signup/admin— Signup table (HTTP Basic Auth)/health— Health check (returns{"status": "ok"})
Data
Signups are stored in two places:
- SQLite (
punktfri.db) — queryable, used by/admin - Log file (
signups.log) — append-only plaintext log
Both are created automatically on first run.
Admin
Visit http://localhost:5000/admin and enter the credentials above.
Description
Languages
HTML
46.1%
CSS
35.6%
Python
11.7%
HCL
4.6%
Dockerfile
1.2%
Other
0.8%