Skip to content

MuhammadTanveerAbbas/kanbi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

66 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kanbi Logo

Kanbi

AI-powered Kanban board that turns notes, PDFs, and URLs into organized tasks in seconds

Live Demo License TypeScript Next.js Supabase Tailwind CSS Stripe


Kanbi Board

Overview

Kanbi solves the gap between raw, unstructured notes and an actionable task board. Instead of manually copying tasks from emails, PDFs, or meeting notes, Kanbi uses Groq AI (llama-3.3-70b) to extract, organize, and prioritize them into a Kanban board in under 2 seconds. Built for solo developers, freelancers, and small teams who want a smart productivity layer without the bloat of enterprise tools.


✨ Features

  • πŸ€– AI Task Extraction Paste text, upload a PDF, or drop a URL and get a structured Kanban board instantly via Groq AI
  • 🧠 Workload Analysis Real-time burnout risk detection, deadline clustering, and workload health scoring
  • πŸ’¬ AI Productivity Coach Conversational assistant with full board context for planning, prioritization, and advice
  • πŸš€ Autopilot Mode Morning briefings, auto-scheduling, and intelligent task adjustments based on your workload
  • πŸ“€ Board Export Export any board as a formatted DOCX or PDF file
  • πŸ“Š Analytics Dashboard Task stats, activity charts, daily/weekly goal tracking, and AI insight feed
  • 🎨 Board Templates Pre-built templates for Daily, Sprint, Meeting, Project, and Quick Start workflows
  • πŸ’³ Stripe Subscriptions Free and Premium ($9/mo) tiers with usage limits enforced via RLS
  • πŸ”’ Row Level Security All database tables protected with Supabase RLS policies
  • πŸŒ— Dark / Light Mode System-aware theme with manual toggle
  • ⌨️ Keyboard Shortcuts Power-user shortcuts throughout the app
  • πŸ“± Responsive Design Fully usable on mobile, tablet, and desktop

πŸ›  Tech Stack

Category Technology
Framework Next.js (App Router, Turbopack)
Language TypeScript 5
Styling Tailwind CSS 3.4 + Radix UI + shadcn/ui
Database Supabase (PostgreSQL + RLS)
Auth Supabase Auth (SSR)
AI Groq SDK (llama-3.3-70b-versatile)
Payments Stripe
Animation Framer Motion
Charts Recharts
Export docx + jspdf
Validation Zod
Testing Vitest + Playwright
Deployment Vercel


πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • pnpm (npm install -g pnpm)
  • Supabase account
  • Groq API key
  • Stripe account (for payments)

Installation

# 1. Clone the repo
git clone https://github.com/MuhammadTanveerAbbas/kanbi.git
cd kanbi

# 2. Install dependencies
pnpm install

# 3. Set up environment variables
cp .env.example .env.local
# Fill in your values (see Environment Variables section below)

# 4. Run the development server
pnpm dev

# 5. Open in browser
http://localhost:3000

Database Setup

  1. Create a project at supabase.com
  2. Open the SQL Editor and run supabase/schema.sql
  3. Copy the project URL and keys into .env.local

πŸ” Environment Variables

Create a .env.local file in the root directory:

# Supabase  Required
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key

# Groq AI  Required
GROQ_API_KEY=your_groq_api_key

# Stripe  Required for payments
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
STRIPE_PRICE_ID=price_your_price_id

# Google OAuth & Calendar Integration (coming soon  not active)
# GOOGLE_CLIENT_ID=your_google_oauth_client_id
# GOOGLE_CLIENT_SECRET=your_google_oauth_client_secret

# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_USE_AI=true

Get your keys:


πŸ“ Project Structure

kanbi/
β”œβ”€β”€ public/                  # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ (auth)/          # Sign-in, sign-up, forgot, reset-password
β”‚   β”‚   β”œβ”€β”€ api/
β”‚   β”‚   β”‚   β”œβ”€β”€ ai/          # Chat, workload analysis, completion tracking
β”‚   β”‚   β”‚   β”œβ”€β”€ autopilot/   # Morning briefings, schedule, settings
β”‚   β”‚   β”‚   β”œβ”€β”€ boards/      # Board CRUD and export
β”‚   β”‚   β”‚   β”œβ”€β”€ extract/     # Text task extraction
β”‚   β”‚   β”‚   β”œβ”€β”€ parse-pdf/   # PDF task extraction
β”‚   β”‚   β”‚   β”œβ”€β”€ parse-url/   # URL task extraction
β”‚   β”‚   β”‚   β”œβ”€β”€ integrations/# Third-party integrations (coming soon)
β”‚   β”‚   β”‚   β”œβ”€β”€ stripe/      # Checkout and billing portal
β”‚   β”‚   β”‚   └── webhooks/    # Stripe webhook handler
β”‚   β”‚   └── dashboard/       # Board, chat, autopilot, saved, settings pages
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ ai/              # Task generator component
β”‚   β”‚   β”œβ”€β”€ auth/            # Auth forms
β”‚   β”‚   β”œβ”€β”€ board/           # Kanban board UI
β”‚   β”‚   β”œβ”€β”€ dashboard/       # Dashboard widgets
β”‚   β”‚   β”œβ”€β”€ landing/         # Landing page sections
β”‚   β”‚   └── ui/              # shadcn/ui primitives
β”‚   β”œβ”€β”€ hooks/               # useTasksStore, useAuth
β”‚   └── lib/
β”‚       β”œβ”€β”€ ai/              # WorkloadAnalyzer, ChatAssistant, AutopilotEngine
β”‚       β”œβ”€β”€ export/          # DOCX and PDF exporters
β”‚       β”œβ”€β”€ services/        # UsageService, BoardService, CachingService
β”‚       β”œβ”€β”€ supabase/        # Client, server, and middleware helpers
β”‚       └── validation/      # Zod schemas
β”œβ”€β”€ supabase/
β”‚   └── schema.sql           # Full database schema
β”œβ”€β”€ e2e/                     # Playwright end-to-end tests
β”œβ”€β”€ .env.example             # Environment variable template
└── next.config.ts           # Next.js config with security headers

πŸ“¦ Available Scripts

Command Description
pnpm dev Start development server
pnpm build Build for production
pnpm start Start production server
pnpm lint Run ESLint
pnpm test Run unit tests (single run)
pnpm test:watch Run unit tests in watch mode
pnpm test:coverage Generate coverage report
pnpm test:e2e Run Playwright E2E tests
pnpm test:e2e:ui Run Playwright tests with UI

πŸ’° Usage Limits

Free Premium ($9/mo)
AI extractions / day 10 50
AI extractions / month 300 1,500
Board saves / day 10 50
Board saves / month 300 1,500
AI Chat + Autopilot βœ“ βœ“
PDF import βœ“ βœ“
DOCX & PDF export βœ“ βœ“
Google Calendar sync Coming soon Coming soon

🌐 Deployment

This project is deployed on Vercel.

Deploy Your Own

Deploy with Vercel

  1. Click the button above
  2. Connect your GitHub account
  3. Add all environment variables in the Vercel dashboard
  4. Deploy

For production, update:

  • NEXT_PUBLIC_APP_URL β†’ your domain
  • STRIPE_WEBHOOK_SECRET β†’ production webhook secret from Stripe dashboard

πŸ—Ί Roadmap

  • AI task extraction from text, PDF, and URL
  • Drag-and-drop Kanban board
  • Workload analysis and burnout detection
  • AI productivity coach (chat)
  • Autopilot morning briefings
  • Google Calendar integration (coming soon)
  • Stripe subscriptions
  • Board export (DOCX + PDF)
  • Analytics dashboard
  • Team / collaboration features
  • Mobile app version
  • Slack and Notion integrations
  • Custom AI model selection

🀝 Contributing

Contributions are welcome. Feel free to:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.


πŸ‘¨β€πŸ’» Built by The MVP Guy

Muhammad Tanveer Abbas SaaS Developer | Building production-ready MVPs in 14–21 days

Portfolio Twitter LinkedIn GitHub

If this project helped you, please consider giving it a ⭐

About

AI powered Kanban board that extracts tasks from notes, PDFs & URLs in seconds, built with Next.js, Supabase, Groq & Stripe.

Topics

Resources

License

Stars

Watchers

Forks

Contributors