Skip to content
procpaleePublic

Repository files navigation

⚠️ Moved (2026-07-04): Protask now lives as the protask module of the unified workbench monorepo (mounted at the root catch-all route). This repo is archived — new work happens in workbench.

Protask logo

Protask

A self-hosted workspace, project & GTD task manager — with multi-views, a Kanban board, calendars, and an Excalidraw overview canvas.

A local-first, installable (PWA) alternative to Akiflow / Todoist that runs on your own Supabase + Vercel.

License: MIT PWA React TypeScript Supabase Vite

Protask workspace — table view grouped by Phase and Project

Important

Protask is a single-instance app. By default it has no login — one Supabase instance = one user (or a small, trusted group sharing the same data). It is not multi-tenant. Run your own instance; don't point untrusted users at a shared one. To safely use your public URL from any device, enable Private mode (Google sign-in + Row-Level Security). Full multi-user auth is on the roadmap.

Using someone else's deployment? You can't — deploying gives you your own private instance backed by your Supabase. To use Protask, fork/clone and run your own (see Quick start); your data is never shared with, and never sees, another instance.

✨ Features

  • Hierarchy — Workspace ▸ Phase ▸ Project ▸ Task ▸ subtasks (checklist tree).
  • Multi-views, everywhere — view any workspace or project as a Table (group by status / label / project / nested Phase·Project), a Board (Kanban: 백로그 / 시작전 / 진행중 / 완료, derived from dates + Someday), or a Calendar. Full drag-and-drop, keyboard arrow navigation, and ←/→ tab switching.
  • GTD workflow — Inbox quick-capture (Ctrl+K, Korean natural-language dates) → Today / Scheduled / Someday. Dual dates (do-date + deadline), overdue grouping, recurring tasks. Today has both a list and a section board view.
  • Overview canvas — a per-workspace Excalidraw whiteboard + notes to map the big picture.
  • Calendar — month/week, drag tasks onto days, workspace/project filters, and a two-way Google Calendar overlay (drag a Google event to another day and it's rescheduled in Google too).
  • Local-first & PWA — optimistic edits with a serial sync outbox; installable and offline-capable.
  • MCP server — mcp/project_board_mcp_v2.py lets AI agents read & write the board.

📸 Screenshots

Project Kanban board
Project — Kanban board
Calendar with Inbox/Someday panel
Calendar with side panel & filters
Scheduled — upcoming tasks by date
Scheduled — upcoming by date
Today section board
Today — section board view

🚀 Quick start (self-host)

git clone https://github.com/procpalee/protask.git
cd protask
npm install
cp .env.example .env      # set your Supabase URL + anon key
npm run dev               # http://localhost:5173

Set up the database — create a project at supabase.com, then in SQL Editor run the migrations in order:

supabase/migrations/0001_init.sql
supabase/migrations/0002_custom_sections.sql
supabase/migrations/0003_gtd.sql
supabase/migrations/0004_workspace_color.sql
supabase/migrations/0006_task_important.sql

0005_rls.sql is optional — run it only if you want Private mode (locks the instance to your signed-in account).

Put the project's URL and anon key (Supabase → Settings → API) into .env, then create your first workspace in the sidebar. The instance starts empty — it's yours alone.

☁️ Deploy (Vercel)

Deploy with Vercel

Import the repo into Vercel and add the environment variables VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY (plus VITE_GOOGLE_CLIENT_ID for Google Calendar). Protask is a Vite SPA — Vercel auto-detects the build, and pushes to main auto-deploy.

📅 Google Calendar (optional)

  1. Google Cloud Console → create an OAuth Web Client ID; add your origins (https://your-app.vercel.app, http://localhost:5173).
  2. Frontend: set VITE_GOOGLE_CLIENT_ID.
  3. Token proxy (api/google-token.ts, a Vercel function): set server env GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET (optionally APP_ORIGINS to restrict CORS). For local dev, set VITE_API_BASE to your deployed URL.

Leave VITE_GOOGLE_CLIENT_ID blank to disable the integration.

🔒 Private mode (lock to your account)

By default Protask has no login, so anyone with your URL sees your data. To use the same public URL across your phone and computers while keeping it private to you:

  1. Supabase → Authentication → Providers → Google: enable it, paste a Google OAuth Client ID + Secret. In Google Cloud Console add Supabase's callback https://<project-ref>.supabase.co/auth/v1/callback to the client's authorized redirect URIs.
  2. Supabase → Authentication → URL Configuration: set Site URL to your deployment and add your URLs (e.g. https://your-app.vercel.app, http://localhost:5173) to Redirect URLs.
  3. Run the migration supabase/migrations/0005_rls.sql (enables Row-Level Security — only signed-in requests can touch the data).
  4. Frontend: set VITE_REQUIRE_AUTH=true (in .env and in Vercel). Redeploy.
  5. Sign in once with your Google account, then in Supabase Auth disable new sign-ups so only your account exists.
  6. MCP server: since RLS blocks the anon key, set the MCP's SUPABASE_KEY to your service_role key (it bypasses RLS — keep it server-side only, never in the frontend).

To revert, set VITE_REQUIRE_AUTH=false and disable row level security on the tables.

🧱 Tech stack

Vite · React 19 · TypeScript · Tailwind v4 · zustand · @dnd-kit · Excalidraw · Supabase (normalized schema, no realtime — serial outbox sync) · vite-plugin-pwa · Vercel serverless.

🗺️ Roadmap

  • Multi-user hosting — Supabase Auth + per-row user_id + Row-Level Security + login UI (currently single-instance only).

📄 License

MIT © 2026 procpalee

Releases

Packages

Contributors

Languages