A warm, minimal personal task manager built around one idea: recording an activity should take 3–5 seconds. Log what you did, organise it into simple projects, and keep a searchable history of all your work.
This edition is fully self-contained: one Docker container with its own server and database. No Supabase, no Vercel, no external service account — it runs anywhere Docker runs, and your data lives in a single SQLite file on your own machine/server.
- ⚡ Quick Add — title is the only mandatory field; date auto-fills, status defaults to Pending, Save & Add Another for rapid-fire logging, Save as Completed for things already done
- ⌨️ Keyboard shortcuts —
Nnew task ·Ctrl/Cmd + Kglobal search ·Escclose ·Entersave & add another - ✅ One-click completion — completion date/time recorded automatically; completed tasks are never deleted, they move to history
- 🗂️ Three simple views — List (default), Kanban Board, and Calendar. The Board matches the warm reference design: peach TO DO, cream-yellow IN PROGRESS, sage-green DONE columns with white rounded cards, a green “✓ Completed” pill on done cards, the project as a label chip, and a centred + Add Task button at the end of each column that opens Quick Add with that column's status pre-set
- 📁 Simple projects — projects are just containers: task counts, per-status breakdown, and a completion %
- 🔎 Global search & filters — search titles, descriptions, remarks and project names; filter by project, status and date range
- 🕘 Activity History — a day-by-day work log with filters and CSV export
- 🧰 Bulk actions, duplicate, quick edit — select many tasks and complete / re-status / delete them together
- 👥 Roles & teams — three roles (admin / manager / user) on one login screen, manager-run teams, and shared team projects every member can work on (see “Roles & Teams” below)
- 🛡️ Admin panel — admins manage all users (roles, activate/deactivate, delete) and can download a full database backup
- 💾 Production backup — data lives in one SQLite file on a named Docker volume; a backup script and an admin download make snapshots trivial, and restarts/redeploys never touch the volume
- 🔐 Secure self-hosted auth — email/password (scrypt-hashed, never stored in plain text), 30-day cookie sessions, login rate-limiting, and optional TOTP two-factor authentication (Google/Microsoft Authenticator, Authy). Personal data stays private; only team projects are shared
- 🎨 Warm pastel design — terracotta primary, sage-green Done, rounded cards, light & dark themes, responsive desktop-first layout
| Layer | Tech |
|---|---|
| Frontend | React 18 + Vite 6 |
| Server | Node 24 (node:http) — serves the built frontend + a JSON REST API under /api/ |
| Database | SQLite via Node's built-in node:sqlite — one file, WAL mode |
| Auth | scrypt password hashing, hashed session tokens, RFC 6238 TOTP (HMAC, ±1 window) |
| Icons | lucide-react |
| Packaging | Docker (multi-stage build) + Docker Compose, one service, one volume |
Requirements: Docker with the Compose plugin, on any OS.
cp .env.example .env # optional — defaults work out of the box
docker compose up -d --buildThen open http://localhost:8080, click Create Account, and start logging. That's it — the first account is created in the app itself; there is no separate database or cloud setup.
Useful commands:
docker compose ps # status + health
docker compose logs -f # server logs
docker compose down # stop (data is kept in the volume)
docker compose up -d # start again — all accounts/tasks are still thereOne login screen for everyone — the role on the account decides what each person can do. All permissions are enforced on the server, on every API route.
| Role | Can do |
|---|---|
| Admin | Everything a manager can, plus the Admin page: list all users, change any user's role, activate/deactivate accounts (deactivated users cannot log in), delete users, and download a database backup. The first account ever created becomes admin automatically. The last admin (and your own account) cannot be demoted, deactivated or deleted. |
| Manager | Create/edit/delete teams they manage, add members by registered email, remove members, and create shared team projects. Admins inherit all manager powers. |
| User | Personal projects/tasks, plus full access to team projects of teams they belong to. Sees their teams and members read-only on the Teams page. |
Teams & shared projects
- A team's creator is its manager. Members are added by the email of an already-registered account.
- When creating/editing a project, pick a Team (or leave it personal). A team project is a common project: all team members can see it and create/edit/complete/delete its tasks (each task records who actually created it). Personal projects stay private to their owner.
- Only a shared project's creator, a manager of that team, or an admin can edit/delete the project itself. Deleting a team turns its projects back into personal projects of their creators — nothing is deleted.
- Deleting a user removes their personal data; team projects they created are kept with the creator cleared.
Your data is a single SQLite database (collabflow.db) stored in the named Docker volume collabflow-data. It survives:
docker compose restart,docker compose down+docker compose up -d- Image rebuilds / redeploys (
docker compose up -d --build)
docker compose down -v deletes the volume and all data. Don't use -v unless you mean it.
Make a backup (any of these):
# 1) Script — works on the host next to a running container, writes backups/collabflow-<timestamp>.db
docker compose exec app node scripts/backup.js
# 2) Admin download — Admin page → "Download database backup (.db)" (GET /api/admin/backup, admin only)
# 3) Copy the file straight out of the volume
docker run --rm -v collabflow-data:/data -v "$PWD":/backup alpine cp /data/collabflow.db /backup/collabflow-manual.dbBoth the script and the admin download use SQLite VACUUM INTO, so the snapshot is consistent even while the app is running.
Restore a backup:
docker compose down
docker run --rm -v collabflow-data:/data -v "$PWD":/backup alpine sh -c "cp /backup/collabflow-<timestamp>.db /data/collabflow.db && rm -f /data/collabflow.db-wal /data/collabflow.db-shm"
docker compose up -dKeep backups private — the file contains password hashes and TOTP secrets.
The image is a plain Docker container, so it runs unchanged on:
- Any VPS / cloud VM (Oracle Cloud free tier, Hetzner, DigitalOcean, a home server, a Raspberry Pi with a 64-bit OS…) —
docker compose up -d --buildand you're live - Container platforms that accept a Dockerfile / Compose file (Render, Railway, Fly.io, Coolify, Dokploy, Portainer…) — point them at this folder/repo, publish port
8080, and mount a persistent volume at/data
Notes for internet use:
- Put a reverse proxy with HTTPS in front (Caddy, Nginx Proxy Manager, Traefik, or a Cloudflare Tunnel) and set
COOKIE_SECURE=truein.env. - Your data is one file: everything lives in the
collabflow-datavolume ascollabflow.db. Backup = copy that file (e.g.docker run --rm -v collabflow-data:/data -v "$PWD":/backup alpine cp /data/collabflow.db /backup/), restore = put it back. Keep backups private — the file contains password hashes and TOTP secrets.
npm install
npm run build # production build → dist/
node server/index.js # serves app + API on http://localhost:8080For frontend-only iteration, npm run dev starts Vite — but the API must also be running (node server/index.js in another terminal, on a different port if needed), because the app signs in and loads data from /api/. There is no demo mode in this edition: if the server isn't running, sign-in simply fails with a clear error.
Environment variables (server): PORT (default 8080), DATA_DIR (default ./data locally, /data in the container), COOKIE_SECURE (false unless behind HTTPS).
Browser ──► Node server (server/index.js, one process)
├─ GET /… → built React app from dist/ (SPA fallback)
└─ /api/… → JSON REST API
├─ /api/auth/* signup, login (+ TOTP step), logout, me,
│ change-password, profile, totp status/enroll/verify/disable
├─ /api/projects CRUD (deleting a project keeps its tasks, unlinked)
├─ /api/tasks CRUD + bulk delete; completed_at set/cleared server-side
├─ /api/teams teams + members (manager/admin managed)
├─ /api/admin/* user management + DB backup download (admin only)
└─ /api/health { ok: true } — used by the Docker healthcheck
Data: SQLite at $DATA_DIR/collabflow.db (users, sessions, projects, tasks, teams, team_members)
- Supabase removed entirely — no cloud project, no env keys, no
@supabase/supabase-js. Auth, database and TOTP MFA are implemented inserver/index.jswith Node built-ins (scrypt, HMAC TOTP,node:sqlite); the only added runtime dependency isqrcode, used to render the TOTP enrolment QR as SVG. - Data moved from browser/Postgres to your server — tasks and projects persist in SQLite across restarts and devices; the old demo mode (localStorage) is gone, so the app always starts empty until you create an account.
- Board restyled to the warm reference board (peach / cream-yellow / sage columns, white rounded cards, per-column “+ Add Task” with the status pre-set).
- Packaging added —
Dockerfile(multi-stage, non-root, healthcheck),docker-compose.yml(single service, named volume,restart: unless-stopped),.dockerignore, and a Docker-focused.env.example(PORT,COOKIE_SECURE). - Password minimum is now 8 characters everywhere, and login is rate-limited (10 failed attempts per email+IP per 15 minutes).
- users —
id, email (unique), password_hash, salt, display_name, role (admin/manager/user), is_active, totp_secret, totp_enabled, created_at - sessions —
token_hash (SHA-256 of the cookie token — the raw token is never stored), user_id, expires_at, created_at - teams / team_members —
teams: id, name, description, created_by, created_at, updated_at·team_members: team_id + user_id (PK), role_in_team (manager/member), joined_at - projects —
id, user_id (creator, nullable), team_id (nullable — set = shared team project), project_name, description, start_date, end_date, status (active/completed/archived), remarks, created_at, updated_at - tasks —
id, user_id (actual creator), project_id (nullable), title, description, remarks, status (pending/in_progress/completed), task_date, start_date, due_date, completed_at, created_at, updated_at
Built by Tanish Sahu (@Tanishsahu13) — a personal productivity project, designed to be simple on the surface and powerful underneath.
MIT