A modern, unified personal productivity workspace built with Next.js 16, React 19, Prisma ORM, PostgreSQL, TanStack Query v5, and the Web Audio API.
PulseFlow combines task management, calendar scheduling, habit tracking, and deep focus into a cohesive, quiet, and fast daily workspace.
- NLP Time Setting (
lib/nlp.ts) β Parses natural language directly into dates, times, recurrence rules, priorities, tags, and durations. Features live "Understood" previews in both the quick-add input bar and the modal dialog. Handles expressions liketomorrow,next monday,in 3 days,every weekday,at 5pm,#work, and!3(high priority). - Voice Dictation β Speech-to-text capture using the Web Speech API in quick-add surfaces.
- Global Command Palette (
βK/Ctrl+K) β Jump directly between modules, search tasks and lists, or switch views instantly.
- Multiple Views:
- Task List View β Group by list, tag, date, or priority; sorting, drag-to-reorder, and floating batch actions.
- Kanban Board β Visual columns organized by status or priority with drag-and-drop movement.
- Eisenhower Matrix β 4-quadrant prioritization (Urgent/Important, Important, Urgent, Neither) with drag-to-reprioritize.
- Timeline Schedule β Gantt-style daily timeline with drag-to-move, drag-to-resize duration, and snap-to-grid.
- Calendar View β Full month, week, day, and agenda views with appointment-style time slots and multi-day spans.
- Task Inspector β In-depth task sidebar for markdown descriptions, checkable subtasks, file attachments, reminders, due dates, and recurrence rules.
- Smart Filters β Saved filter builder with criteria for priorities, tags, lists, due date windows, completion status, and keyword matching.
- Habit Sections β Organize routines into custom time-of-day sections (e.g., Morning Routine, Afternoon Focus, Evening Wind-down).
- Streak & Consistency Tracking β Best and current streaks, completion rates, and monthly consistency.
- Visual Heatmap β Year-at-a-glance GitHub-style activity grid showing daily completion density.
- Value & Check Habits β Track binary check-offs or numeric targets (glasses of water, pages read, meditation minutes).
- Habit Logs & Archiving β Complete historical logging with notes and ability to archive habits without losing data.
- Customizable Intervals β Standard 25/5 work-rest splits or fully customized durations.
- Ambient Soundscapes β Synthesized real-time audio generators for White Noise, Rain, Ocean Waves, and Cafe ambience via the Web Audio API without external audio file dependencies.
- Task Association & Stats β Link focus sessions to specific tasks and view daily, weekly, and all-time focus statistics.
- Live Countdown Cards β Track upcoming deadlines, milestones, anniversaries, and holidays.
- Progress Tracking β Visual progress bars toward target dates with custom emoji icons and colors.
- 40+ Themes (
lib/themes.ts) β Curated light, dark, and OLED midnight themes with instant CSS variable switching. - Custom List Backgrounds β Gradients and subtle geometric patterns for individual list headers.
- Three-Voice Typography β Onest for clean UI grotesque readability, Instrument Serif for elegant editorial display headers, and Geist Mono for tabular figures and clocks.
- Shared Lists & Member Roles β Invite collaborators as Editors or Viewers with task assignments.
- Calendar Subscriptions β Subscribe to external
.ics/ iCal calendar feeds. - Multi-Notification Reminders β Configure multiple alarms per task with custom lead times.
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router, Server & Client Components) |
| UI Library | React 19, Tailwind CSS v4, Lucide Icons |
| State & Data Layer | TanStack React Query v5 (Optimistic UI, Query Invalidation) |
| Database & ORM | PostgreSQL, Prisma ORM 6 |
| Audio Engine | Web Audio API (Synthesized timers, completion chimes, ambient noise) |
| Drag & Drop | @dnd-kit (Sortable, Core, Modifiers) |
| Charts | Recharts (Responsive bar charts, streak analytics) |
| Authentication | Jose JWT sessions, Bcrypt password hashing |
βββ app/
β βββ api/ # REST API endpoints (tasks, habits, filters, settings, auth)
β βββ fonts.ts # Typography configurations (Onest, Instrument Serif, Geist Mono)
β βββ globals.css # Design system tokens (--app-*) and utility typography
β βββ layout.tsx # Root application layout
β βββ page.tsx # Main workspace client entry
βββ components/
β βββ auth/ # Sign-in & registration modals
β βββ event-calendar/ # Month, week, day, and agenda calendar components
β βββ providers/ # TanStack Query client provider
β βββ ui/ # Primitives (dialogs, tooltips, buttons, popovers)
β βββ workspace/ # Core product modules
β βββ command-palette.tsx
β βββ countdown-view.tsx
β βββ eisenhower-matrix-view.tsx
β βββ filter-panel.tsx
β βββ habit-view.tsx
β βββ module-rail.tsx
β βββ pomodoro-view.tsx
β βββ quick-add-modal.tsx
β βββ settings-view.tsx
β βββ sidebar.tsx
β βββ statistics-view.tsx
β βββ task-calendar-view.tsx
β βββ task-input-bar.tsx
β βββ task-inspector.tsx
β βββ task-kanban-view.tsx
β βββ task-list-view.tsx
β βββ theme-picker.tsx
β βββ timeline-view.tsx
β βββ workspace-app.tsx
βββ context/
β βββ workspace-context.tsx# Global workspace state and mutation context
βββ hooks/
β βββ use-workspace.ts # TanStack Query hooks, caches, and optimistic mutations
βββ lib/
β βββ auth.ts # JWT signing and session management
β βββ filters.ts # Saved filter query compilation
β βββ nlp.ts # Natural language task parser
β βββ recurrence.ts # Recurring task advance & schedule calculation
β βββ seed-user.ts # Initial workspace starter data seeder
β βββ sound-utils.ts # Web Audio API chimes and white-noise soundscapes
β βββ themes.ts # 40+ workspace themes & CSS custom property engine
βββ prisma/
βββ schema.prisma # Database schema definitions
- Node.js:
v20.xor higher - pnpm:
v9.xor higher - PostgreSQL: Running instance or connection URI
Copy the example environment file and set your database connection:
cp .env.example .envEnsure .env contains:
DATABASE_URL="postgresql://user:password@localhost:5432/pulseflow?schema=public"
JWT_SECRET="your-secure-random-secret"pnpm installpnpm exec prisma db push
pnpm exec prisma generatepnpm devOpen http://localhost:3000 in your browser.
A pre-populated demo account is available out of the box with sample tasks, habits, and schedules:
- Email:
demo@pulseflow.app - Password:
password123
To verify types and generate an optimized production build:
# Type check
pnpm exec tsc --noEmit
# Production build
pnpm build
# Start production server
pnpm start