Efficio - Efficiency Tracker
π― PDCA-based personal/team efficiency analysis tool - Track work, optimize expression, analyze efficiency patterns
π δΈζ
Feature
Description
π Work Logging
Complete daily work entries in 3 minutes, supports semi-structured input
π€ AI Optimization
Auto-optimize work expressions with Anthropic Claude, highlight value
π Structured Analysis
Auto task classification, time extraction, tagging, deep work detection
π Weekly/Monthly Reports
Auto-generate efficiency reports, identify time distribution and patterns
π‘ Actionable Suggestions
Personalized data-driven recommendations to boost efficiency
π Weather Integration
Real-time weather display, correlate efficiency with weather conditions
π Multi AI Provider
Support 10+ AI services, including custom OpenAI-compatible endpoints
βββββββββββββββ βββββββββββ ββββββββββββββββ ββββββββββββ
β Web Input β βββΆ β API β βββΆ β AI Layer β βββΆ β Database β
β Interface β β Server β β Optimize + β β Storage β
βββββββββββββββ βββββββββββ β Structured β ββββββββββββ
ββββββββββββββββ
β
βΌ
ββββββββββββββββ
β Markdown β
β Dashboard β
ββββββββββββββββ
Option 1: Docker Deployment (Recommended for Production)
# 1. Clone the repository
git clone https://github.com/your-org/RecordEvo.git
cd RecordEvo
# 2. Copy environment file
cp .env.example .env
# 3. Edit .env with your credentials
# - SUPABASE_URL
# - SUPABASE_SERVICE_KEY
# - ANTHROPIC_API_KEY
# 4. Start services
docker-compose up -d
# 5. View logs
docker-compose logs -f
Visit http://localhost:3001
Option 2: Development Mode
# 1. Install dependencies
npm install
# 2. Configure environment
cp server/.env.example server/.env
# Edit server/.env with your configuration
# 3. Start development server
npm run dev
Visit:
Technology
Purpose
Node.js + Express
Web server framework
TypeScript
Type-safe JavaScript
SQLite / Turso
Local/Cloud database
Supabase
PostgreSQL cloud database (optional)
Anthropic SDK
Claude AI integration
OpenAI SDK
Multi AI Provider compatible
node-cron
Scheduled task management
Zod
Runtime type validation
Technology
Purpose
React 18
UI framework
TypeScript
Type safety
Vite
Build tool
TailwindCSS
Atomic CSS
React Router
Route management
Recharts
Data visualization
Method
Endpoint
Description
POST
/api/auth/login
User login
Method
Endpoint
Description
GET
/api/records
Get record list
POST
/api/records
Create new record (with AI analysis)
GET
/api/records/:id
Get single record
DELETE
/api/records/:id
Delete record
Method
Endpoint
Description
POST
/api/optimize
AI text optimization
POST
/api/analyze
AI structured analysis
Method
Endpoint
Description
GET
/api/summaries/weekly
Get weekly summaries
POST
/api/summaries/weekly/generate
Generate weekly summary
GET
/api/trends/monthly
Get monthly trends
POST
/api/trends/monthly/generate
Generate monthly trend
Method
Endpoint
Description
GET
/api/suggestions
Get optimization suggestions
POST
/api/suggestions/generate
Generate suggestions
PATCH
/api/suggestions/:id/action
Mark suggestion as actioned
Method
Endpoint
Description
GET
/api/settings/ai-providers
Get all AI Providers
POST
/api/settings/ai-providers/:provider/config
Save Provider config
POST
/api/settings/ai-providers/:provider/activate
Activate Provider
POST
/api/settings/ai-providers/:provider/test
Test connection
GET
/api/settings/custom-providers
Get custom Providers
POST
/api/settings/custom-providers
Create custom Provider
PUT
/api/settings/custom-providers/:id
Update custom Provider
DELETE
/api/settings/custom-providers/:id
Delete custom Provider
RecordEvo/
βββ client/ # Frontend React application
β βββ src/
β β βββ App.tsx # Main application component
β β βββ api.ts # API client
β β βββ pages/
β β βββ Dashboard.tsx # Dashboard
β β βββ TaskTracker.tsx # Task tracking
β β βββ RecordsHistory.tsx # History records
β β βββ Settings.tsx # Settings page
β βββ package.json
β βββ vite.config.ts
β
βββ server/ # Backend Express service
β βββ src/
β β βββ index.ts # Entry point
β β βββ routes/ # API routes
β β β βββ auth.ts
β β β βββ records.ts
β β β βββ optimize.ts
β β β βββ analyze.ts
β β β βββ summaries.ts
β β β βββ trends.ts
β β β βββ suggestions.ts
β β β βββ settings.ts
β β βββ lib/ # Core libraries
β β βββ ai.ts # AI service
β β βββ ai-providers.ts # AI Provider management
β β βββ config-manager.ts # Configuration management
β β βββ database.ts # Database service
β β βββ database-adapter.ts# Database adapter interface
β β βββ sqlite-adapter.ts # SQLite implementation
β β βββ turso-adapter.ts # Turso implementation
β β βββ cron.ts # Scheduled tasks
β βββ sql/
β β βββ sqlite-schema.sql # Database Schema
β βββ package.json
β
βββ scripts/ # Utility scripts
βββ docker-compose.yml # Docker orchestration
βββ Dockerfile # Docker image
βββ .env.example # Environment variables example
βββ package.json # Root project configuration
π― Supported AI Providers
Provider
Description
Anthropic Claude
US AI company, Claude series models
OpenAI GPT
GPT-4/ChatGPT
DeepSeek
Chinese large model, cost-effective
Zhipu AI
GLM series models
Kimi
Moonshot AI, long-text processing
NVIDIA NIM
NVIDIA GPU cloud, Llama and more
vLLM
Open-source model inference framework
Aliyun Bailian
Tongyi Qianwen Qwen series
Volcengine
Doubao/Ark large models
MiniMax
Chinese MiniMax large models
OpenRouter
Aggregates multiple AI providers
Support adding any OpenAI-compatible API endpoint, just provide:
Provider name
API Key
API Endpoint
Model name
π§ Environment Variables
# Required configuration
SUPABASE_URL=your_supabase_url # Supabase project URL
SUPABASE_SERVICE_KEY=your_service_key # Supabase service key
ANTHROPIC_API_KEY=your_anthropic_key # Anthropic API Key
# Optional configuration
PORT=3001 # Server port
NODE_ENV=production # Runtime environment
ALLOWED_ORIGINS=http://localhost:5173 # CORS allowed origins
# AI Provider configuration (as needed)
OPENAI_API_KEY=your_openai_key
DEEPSEEK_API_KEY=your_deepseek_key
ZHIPU_API_KEY=your_zhipu_key
# ... more Provider configurations
# Database mode (optional: memory | sqlite | turso)
DATABASE_MODE=sqlite
SQLITE_DB_PATH=./data/efficiency.db
Phase
Time
Content
Status
Phase 1
Week 1-2
MVP - Basic recording system
β
Completed
Phase 2
Week 3-4
Structured data extraction
β
Completed
Phase 3
Week 5-6
Weekly Summary Agent
β
Completed
Phase 4
Week 7-8
Monthly trend analysis
β
Completed
Phase 5
Week 9-10
Dashboard
β
Completed
Phase 6
Week 11-12
Optimization suggestions
β
Completed
Phase 7
Week 13+
SQLite/Turso support
β
Completed
Phase 8
Week 14+
Custom AI Provider
β
Completed
β οΈ Do NOT commit .env files to version control
π Use HTTPS in production
π Rotate API keys regularly
π« Restrict CORS origins
Only build features you'll use long-term - Avoid over-engineering
Structure over fancy UI - Data value > Visual effects
AI output must have decision value - Every output needs actionable guidance
System must be evolvable - Iterative development in phases
# Run tests
npm test
# Test coverage
npm run test:coverage
# Watch mode
npm run test:watch
Fork this repository
Create your feature branch (git checkout -b feature/AmazingFeature)
Commit your changes (git commit -m 'Add some AmazingFeature')
Push to the branch (git push origin feature/AmazingFeature)
Open a Pull Request
MIT License - See LICENSE file for details