Exponential:基于 T3 Stack 的开源项目管理与生产力平台
positonic/exponential
Exponential 是一个基于 T3 Stack 构建的开源生产力与项目管理平台,支持项目跟踪、OKR 目标管理、AI 每日规划、会议转录与 CRM 等功能。
An open-source productivity and project management platform built with the T3 Stack. Manage projects, track goals and key results, plan your day with AI, and collaborate across workspaces.
Features
- Project Management - Create and track projects with status, priority, and progress across workspaces
- Action Management - Flexible task system with priorities, tags, and project linking
- Goals & OKRs - Hierarchical goal-key-result-action alignment
- Daily Planning - Journal system with reflection, planning tools, and daily scoring
- AI Assistant - Chat interface powered by Mastra agents with semantic video search
- Meetings - Calendar integration with transcription and auto-generated action items
- CRM - Contact/organization management, deal pipeline (Kanban), Gmail/Calendar import
- Workspaces - Organize everything by team or client (personal, team, organization)
- Bounty System - Attach bounties to actions for open-source contributors (coming soon)
Tech Stack
- Framework: Next.js 15 with App Router
- Language: TypeScript (strict mode)
- Authentication: NextAuth.js v5 (Discord, Google, Microsoft, Notion, Email)
- Database: PostgreSQL with Prisma ORM
- API: tRPC for end-to-end type-safe APIs
- UI: Mantine v7 + Tailwind CSS
- AI: OpenAI, Langchain, Mastra multi-agent system
- Testing: Vitest with Testcontainers for integration tests
- Deployment: Vercel
Getting Started
Prerequisites
- Node.js >= 20
- npm >= 10
- PostgreSQL (local or remote)
Setup
-
Clone the repository
git clone https://github.com/positonic/exponential.git cd exponential -
Install dependencies
npm install
-
Configure environment variables
cp .env.example .env.local
Edit
.env.localand fill in the required values. At minimum:Variable Description DATABASE_URLPostgreSQL connection string AUTH_SECRETGenerate with npx auth secretOAuth provider At least one: Discord, Google, Microsoft, or Notion See .env.example for all available configuration options.
-
Set up the database
npx prisma migrate dev
-
Start the development server
npm run dev
Open http://localhost:3000.
Scripts
| Command | Description |
|---|---|
npm run dev |
Start dev server (Turbopack) |
npm run build |
Production build |
npm run start |
Start production server |
npm run check |
Lint + type check (run before committing) |
npm run lint:fix |
Auto-fix ESLint issues |
npm run format:write |
Format with Prettier |
npm run test |
Run unit tests |
npm run test:integration |
Run integration tests (requires Docker) |
npm run test:all |
Run all tests |
npx prisma migrate dev |
Create/apply database migrations |
npx prisma studio |
Open Prisma Studio GUI |
Project Structure
src/
├── app/ # Next.js App Router
│ ├── (home)/ # Landing page & auth
│ ├── (sidemenu)/ # Main authenticated app
│ │ └── w/[workspaceSlug]/ # Workspace-scoped routes
│ │ ├── projects/ # Project management
│ │ ├── actions/ # Action/task tracking
│ │ ├── goals/ # Goal setting
│ │ ├── crm/ # CRM pipeline
│ │ ├── meetings/ # Meeting notes
│ │ └── settings/ # Workspace settings
│ ├── _components/ # Shared components
│ └── api/ # API routes & tRPC
├── providers/ # React context providers
├── server/ # Server-side code
│ ├── api/ # tRPC routers
│ ├── auth/ # Authentication config
│ ├── services/ # Business logic layer
│ └── tools/ # AI tools
├── lib/ # Shared utilities
├── styles/ # Global styles & theme
└── types/ # TypeScript definitions
CLI & Integrations
Exponential CLI
Manage actions, projects, and workspaces from the command line:
npm install -g exponential-cli exponential auth login --token <your-jwt> --api-url https://www.exponential.im exponential actions list exponential actions create -n "My task" -p <project-id>
See exponential-cli for full docs.
OpenClaw (AI Agent)
Give your AI agent access to Exponential via OpenClaw:
npx clawhub install exponential
Your agent can then create tasks, manage kanban boards, and track projects through natural conversation.
Bounty API
All bounties are machine-readable — no auth required to browse:
- REST API:
GET /api/bounties - LLMs.txt:
/llms.txt - RSS Feed:
/api/bounties/feed.xml
Contributing
We welcome contributions! Please read our Contributing Guide for details on:
- Development setup
- Code style and linting rules
- Pull request process
- Claiming bounties
- Database migration safety
Please also review our Code of Conduct.
License
AGPL-3.0 — see LICENSING.md for a plain-language explanation of what this means for users, contributors, and integrations.
Acknowledgments
Built with create-t3-app and the T3 Stack ecosystem.
来源:GitHub · github.com

