尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證WorkNest — An all-in-one personal workspace for managing daily work logs, tasks, tickets, notes, resources, sprint reports, and AI-powered productivity insights.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A private, single-user workspace for a software professional's working day — daily work logs, ticket history, follow-ups, notes and a resource library — recorded as it happens, so months later it still answers "what did I do, when, and in what order?"
Built with Next.js 16, React 19, TypeScript, Tailwind CSS 4, MUI 9, Auth.js, PostgreSQL 16 and Prisma 7. Optional AI summaries and sprint reports via OpenRouter.
You need: Node.js 20.9+ (24 LTS recommended),
Docker Desktop (running) and Git.
Nothing else — no global packages, no npm install at the root (the root has no
dependencies; the app's are installed for you).
git clone https://github.com/stingo-36/WorkNest.git
cd WorkNest
npm run dev
That's it. The first run sets everything up (about 30 seconds), then starts the app at http://localhost:3000. The terminal prints a demo login:
[email protected]SEED_PASSWORD in app/.envOr register your own account from the sign-in page.
Prefer to set up without starting the server? Run
npm run setup, thennpm run devwhenever you want to work. Works the same on macOS, Linux and Windows.
npm run dev runs scripts/setup.mjs before starting Next.js. Every step checks first
and skips what's already done, so it's safe — and quick — on every start:
app/.env from app/.env.example with a freshly generated AUTH_SECRET
and demo password (an existing app/.env is never touched).npm ci) and generates the Prisma client — only when
they're missing or package-lock.json changed.workspace-db, host port 5434).prisma migrate deploy).Have PostgreSQL 16 running somewhere you can reach, then:
git clone https://github.com/stingo-36/WorkNest.git
cd WorkNest/app
cp .env.example .env # then edit: DATABASE_URL, AUTH_SECRET, SEED_PASSWORD
node -e "console.log(require('crypto').randomBytes(32).toString('base64'))" # a random AUTH_SECRET to paste in
npm ci # installs packages and generates the Prisma client
npx prisma migrate deploy # creates the tables
npm run db:seed # optional: demo account (replaces ALL users — empty DB only)
npm run dev # http://localhost:3000
| Area | What it does |
|---|---|
| Work Logs | One log per day: meeting notes, ticket work, learning notes, attachments. Grouped by sprint. Holiday/leave days. Copy a day as plain text. |
| Tickets | Find or create a ticket inside today's log. Work history is append-only — yesterday's update is never overwritten. Five-stage workflow. |
| Tracker | Follow-ups ("what did I tell whom, and when"), tasks, notes and ideas, grouped into Overdue / Today / Upcoming. |
| Notes | Notebooks → sections → pages with a rich-text editor. |
| Resources | Links, docs, tools, commands and snippets with searchable tags. |
| Favourites | Everything you've starred, in one place. |
| Reports | A "5-15" report per sprint, built from your work logs, ready to paste into a doc. |
| Achievements | Certifications, courses and awards on a timeline, with the certificate attached. |
| AI summaries | Optional: a short summary of any day and the sprint report, written by AI (your own OpenRouter key, free models work). No key → no AI; nothing is invented. |
| Profile | Your name, sprint calendar, tracked lists, whether you track tickets, and your AI key. |
Full product spec: PRD.md.
Run from the repo root.
| Command | Does |
|---|---|
npm run dev | Set up (if needed) and start the dev server on :3000 |
npm run setup | Set up only |
npm run build / npm run start | Production build / serve it |
npm run typecheck · npm run lint | Type-check (generates Next's route types first) · lint |
npm run db:seed | ⚠️ Re-seed the demo account (replaces all users) |
npm run db:studio | Browse the database in Prisma Studio |
npm run db:migrate | Create + apply a migration after editing app/prisma/schema.prisma |
npm run db:up · npm run db:down | Start · stop the Postgres container (data is kept) |
More scripts (extra seeds, hosted DB) are listed in Architecture.md.
app/.env is created for you and is git-ignored. Template: app/.env.example.
| Variable | Purpose |
|---|---|
DATABASE_URL | Postgres connection (local Docker DB by default) |
AUTH_SECRET | Signs sessions — generated by setup. Changing it signs everyone out. |
AUTH_TRUST_HOST | true |
SEED_EMAIL · SEED_PASSWORD | The demo account the seed creates |
HOSTED_DATABASE_URL | Only for deploying — see below |
OPENROUTER_API_KEY | Optional server-wide AI key. Each user can also add their own in Profile → Account. |
OPENROUTER_MODEL | Optional comma-separated model list (default: free models) |
Never commit .env files or real credentials; this repository is public.
├── app/ Next.js application
│ ├── prisma/ schema, migrations, seed scripts
│ ├── public/home/ 3D character art for the homepage and sign-in pages
│ └── src/
│ ├── app/ routes (App Router)
│ ├── actions/ server actions — the app's API
│ ├── lib/ server-only data layer
│ └── components/ UI
├── scripts/setup.mjs one-command setup
├── docker-compose.yml local Postgres
└── *.md project docs (below)
| Doc | Read it for |
|---|---|
| PRD.md | What the product does and why |
| Architecture.md | How it's built: routes, data model, rules |
| Design-System.md | Colours, type, spacing, components |
| AGENTS.md | How to work on the code (humans and AI agents) |
| Memory.md | Decisions made and why, known gotchas |
| skills.md | Step-by-step recipes for common changes |
Vercel (project root directory app) with a hosted Postgres such as Neon. Set
DATABASE_URL (pooled), AUTH_SECRET and AUTH_TRUST_HOST=true in Vercel, then apply
migrations from your machine with npm --prefix app run db:hosted. Full checklist:
skills.md → Deploy.
| Problem | Fix |
|---|---|
| "Docker is installed but not running" | Start Docker Desktop, wait until it's ready, re-run. |
| Port 5434 already in use | Stop whatever uses it, or change the port in docker-compose.yml and DATABASE_URL. |
| Port 3000 already in use | Stop the other app, or run npm --prefix app run dev -- -p 3001. |
| Page loads but buttons do nothing | Open http://localhost:3000, not 127.0.0.1 — the dev server blocks other origins. |
| Signed out unexpectedly | AUTH_SECRET changed; just sign in again. |
| "Cannot find module … generated/prisma" | npm --prefix app exec prisma generate (setup normally does this). |
| Old styles or pages after pulling | Stop the server, delete app/.next, run npm run dev again. |
| Start over with an empty database | ⚠️ Deletes all local data: docker compose down -v, then npm run dev (it re-creates the DB and seeds the demo account). |