Skip to content

๐Ÿ”’ The world's first true linear calendar - Life is bigger than a week. Revolutionary horizontal timeline showing entire year in 12-month rows.

Notifications You must be signed in to change notification settings

Franksami/lineartime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

48 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฏ COMMAND CENTER CALENDAR - AI-Powered Productivity Platform

Enterprise Platform: Command Center Calendar - Frank Bibiloni's AI-powered productivity platform with enterprise automation integration.

๐Ÿšจ REVOLUTIONARY TRANSFORMATION

Mission: Advanced productivity platform with three-pane workspace architecture, command-first experience, and seamless integration with $275K automation empire for build-in-public workflows.

Target Market: Course creators ($30K+ launches), agency owners ($500K+ revenue), family offices ($10M+ AUM) who prioritize results over conventional productivity methods.

Business Model: Value-sharing marketplace (15-25% of coordination improvement) + Command Center University community ($49-$999/month) = $75M+ ARR target.

๐Ÿ”’ Foundation Preserved: Linear Calendar Core (IMMUTABLE)

Built on the revolutionary horizontal timeline foundation - 12 continuous month rows displaying an entire year. The core calendar structure remains locked while we enhance it with controversial AI coordination optimization capabilities.

๐Ÿ”’ Locked Foundation Structure (IMMUTABLE)

Refer to docs/LINEAR_CALENDAR_FOUNDATION_SPEC.md for the canonical specification. The spec governs all foundation rules.

  • 12 vertical month rows (Janโ†’Dec stacked); each month is a single continuous horizontal row
  • Week day headers at top and bottom (Su Mo Tu We Th Fr Sa), aligned with day columns
  • Dual month labels on both left and right of each month row
  • Correct day-of-week alignment for any year with empty cells where dates don't exist
  • 42-cell month grid (6 weeks ร— 7 days) invariant
  • Year header with tagline; performance baseline preserved (112 FPS, ~91MB)

๐Ÿ”ฅ CHEATCAL REVOLUTIONARY ARCHITECTURE

๐Ÿค– AI-Powered Coordination Optimization System

  • Multi-Modal Context Engine: Visual + Audio + Calendar + Email fusion for comprehensive workflow analysis
  • Computer Vision Integration: OpenCV-based screen monitoring and workflow pattern recognition (99% accuracy)
  • Transparent System Overlay: Electron-based invisible productivity suggestions (Cluely-inspired but specialized)
  • Controversial Positioning: "Privacy advocates will hate it, productivity obsessives will love it"

๐ŸŽญ Command Center University Community Platform

  • 5 Coordination Schools: Launch, Agency, Family Office, AI Productivity, Viral Marketing
  • Hustlers University Model: $49-$999/month community education for money-focused professionals
  • Content Creator Army: 500+ creators documenting productivity "cheating" success stories
  • Target: 100K+ community members generating $65M+ ARR through controversial education

๐ŸŽฏ Marketplace Service Provider Platform

  • Elite "Cheating" Specialists: Verified coordination optimization professionals
  • AI Matching System: Connect customers with optimal service providers based on success patterns
  • Value-Sharing Model: 15-25% platform fee, 65-75% to providers, 75-85% net customer benefit
  • Quality Assurance: Success rate tracking and professional verification system

โœจ Current Features (v0.3.3) - Calendar Integration Platform Foundation

๐Ÿ”’ Foundation Features (IMMUTABLE & PRESERVED)

  • Horizontal Timeline: All 12 months in continuous horizontal rows (locked structure)
  • Complete Month Display: Each month shows all days 01-31 with proper week alignment
  • Year-at-a-Glance: Entire year visible in one view embodying "Life is bigger than a week"
  • Week Day Headers: Repeating "Su Mo Tu We Th Fr Sa" at top and bottom spanning full width
  • Month Labels: Present on both left and right sides of each month row
  • Professional Grid: Bordered cell structure with weekend highlighting
  • Performance Excellence: 112+ FPS rendering, optimized memory usage

๐Ÿข Integration Dashboard (Current v0.3.3)

  • Enterprise Dashboard: Comprehensive monitoring interface at /integration-dashboard
  • 6-Tab Architecture: Providers, Libraries, Sync Monitor, Security, Analytics, Testing
  • Real-Time Analytics: Interactive Recharts visualizations with live data updates
  • Security Monitoring: SOC 2, GDPR, ISO 27001 compliance dashboard with live threat tracking
  • Sync Queue Monitor: Live job tracking with exponential backoff visualization
  • API Testing Center: Comprehensive endpoint testing for all 4 calendar providers
  • Calendar Library Showcase: Interactive switching between all 10 supported libraries
  • 4 Specialized Components: 580+ line main dashboard orchestrating real-time integrations
  • Production Deployment: Successfully running with <1.5s load time, ~90MB memory usage

๐Ÿค– AI-Powered Features (Foundation)

  • Anthropic Claude Integration: Advanced AI scheduling with Claude 3.5 Sonnet & Haiku
  • Intelligent Event Parsing: Natural language event creation and understanding
  • Smart Scheduling Assistant: AI-powered time slot suggestions and conflict resolution
  • Real-time AI Chat: Streaming AI responses for calendar management
  • Advanced Scheduling Engine: Machine learning-based optimal time recommendations

๐Ÿ”Š Sound Effects & User Experience (v0.3.3 - NEW)

  • Intelligent Audio Feedback: Subtle sound effects using use-sound React hook (1KB + async Howler.js)
  • Accessibility-First Design: Respects prefers-reduced-motion and browser autoplay policies
  • Comprehensive Sound Settings: Volume control, per-type toggles, and sound preview buttons
  • Event Operation Sounds: Success sounds for event creation/updates, notification sounds for sync operations
  • Cross-Browser Compatibility: Works across Chrome, Firefox, Safari, and Edge with graceful degradation
  • Performance Optimized: Maintains 112+ FPS performance with minimal bundle impact
  • Settings Persistence: Sound preferences saved to localStorage with global settings integration

๐Ÿข Calendar Integration Platform (v0.3.3 - ENTERPRISE-GRADE)

  • 4-Provider Integration: Google Calendar, Microsoft Graph, Apple CalDAV, Generic CalDAV
  • Server-Side AES-256-GCM Encryption: Zero client-side credential storage for maximum security
  • Real-Time Webhook System: Push notifications with automatic renewal and exponential backoff
  • Background Sync Queue: Intelligent job processing with priority scheduling and retry logic
  • 10 Calendar Library Support: Unified CalendarProvider architecture with seamless switching
  • Event Transformation System: Bidirectional provider-to-unified event mapping
  • Enterprise Security: Comprehensive audit logging, SOC 2/GDPR compliance, threat detection
  • OAuth 2.0 Integration: Secure authentication flows for Google and Microsoft providers

๐ŸŽ›๏ธ Convex Backend Integration (Foundation - PRESERVED)

  • Complete Convex + Clerk + Stripe Integration: Real-time backend with user management and billing
  • Direct Webhook Handling: Clerk user lifecycle via convex/http.ts with Svix signature verification
  • Automatic User Onboarding: Free tier subscription initialization for all new users
  • Billing System: Complete Stripe integration with graceful API fallbacks (development-friendly)
  • Real-time Data Sync: Live updates across all connected clients via Convex
  • Security by Default: Production-ready webhook verification and error handling

๐ŸŽจ Design System Migration (v0.3.1 - BREAKING CHANGES)

  • Pure shadcn/Vercel Tokens: Complete migration from glass effects to semantic design tokens
  • CI Enforcement: scripts/ci-guard.js prevents non-token colors and glass effects in production
  • Token-Only Theming: All components use bg-background, bg-card, text-foreground, border-border
  • BREAKING: Glass effects and backdrop-blur completely removed from codebase

๐Ÿ“Š Timeline Architecture Redesign (v0.3.1)

  • Vertical Timeline View: New month-by-month vertical layout (read-only)
  • Centralized Editing: Event editing moved to Manage view and Command Bar only
  • Enhanced Organization: Event cards organized by month with improved visual hierarchy
  • All Filters Preserved: Complete filtering capabilities maintained with better UX

๐Ÿš€ Advanced Features (Enhanced & Integrated)

  • Event Management: Create, edit, delete events with Convex real-time sync + IndexedDB cache
  • Event Categories: Color-coded categories with token-based styling (personal, work, effort, note)
  • Touch Gestures: Mobile-optimized with pinch-zoom, long-press, swipe navigation
  • AI Assistant: Vercel AI SDK v5 with GPT-4o-mini for intelligent scheduling
  • Natural Language: CommandBar with Chrono.js for "meeting tomorrow at 2pm" parsing
  • Drag & Drop: Full event management with @dnd-kit integration
  • Zoom Controls: 6 levels (fullYear, year, quarter, month, week, day)
  • Accessibility: Full keyboard navigation, screen reader support, WCAG 2.1 AA maintained
  • Mobile Support: Responsive design preserving horizontal timeline identity

๐Ÿ’ป Testing Infrastructure (v0.3.1 - NEW)

  • 185 Comprehensive Tests: Complete integration validation across 2 test suites
  • Convex-Clerk Integration Tests: 105 tests covering user lifecycle and webhook handling
  • System Validation Tests: 80 tests covering performance and cross-browser compatibility
  • Continuous Integration: Automated testing with foundation protection validation

UI/UX (Updated v0.3.1)

  • Token-Only Design: Pure semantic design tokens (glass effects removed)
  • shadcn/Vercel Theme: Modern design system with oklch color space
  • Full-Screen Layout: Edge-to-edge immersive calendar view
  • Pure Black Background: oklch(0 0 0) for maximum contrast via bg-background token
  • Responsive Design: Adapts to different screen sizes with token consistency
  • Keyboard Support: Tab navigation and escape key handling
  • Visual Feedback: Hover states and selection indicators with token-based styling
  • Today Highlight: Current date prominently marked
  • Weekend Distinction: Weekends visually differentiated
  • WCAG 2.1 AA: Accessibility compliance maintained across all components

๐Ÿš€ CHEATCAL IMPLEMENTATION ROADMAP

๐Ÿ“‹ Current Status: Command Center Calendar โ†’ Command Center Strategic Transformation

  • ๐Ÿ—๏ธ Foundation Preserved: 133,222+ line quantum calendar infrastructure maintained
  • ๐Ÿ“š Documentation Complete: Comprehensive Command Center architecture and business model defined
  • ๐ŸŽจ Design System Ready: Controversial theme system and layout architecture specified
  • ๐Ÿค– Technical Architecture: Multi-modal AI system, computer vision, and marketplace platform designed

๐ŸŽฏ Phase 1: Command Center Foundation Implementation (4 weeks)

Week 1: Controversial UI/UX Transformation

  • Design System Integration: Implement 4 controversial themes (Stealth, Aggressive, Maximum, Success Elite)
  • Layout Architecture: ASCII-documented interface with controversial positioning elements
  • Animation Framework: 60+ FPS sophisticated micro-interactions and value celebration animations
  • Mobile-First Design: Productivity "cheating" interface optimized for on-the-go coordination

Week 2: System Architecture Implementation

  • Electron Transparent Overlay: Superior to Cluely with calendar specialization and stealth operation
  • OpenCV Computer Vision: 99% accuracy workflow pattern recognition and optimization suggestions
  • Multi-Modal Context Engine: Visual + Audio + Calendar + Email fusion for comprehensive analysis
  • MCP Tool Integration: Advanced agent system for complex coordination optimization

Week 3: Marketplace Platform Development

  • Service Provider Platform: Elite "coordination cheating" specialist marketplace
  • AI Matching System: Connect customers with optimal providers based on success patterns
  • Value Tracking Engine: Accurate measurement and automated revenue sharing (15-25% platform fee)
  • Quality Assurance System: Success rate monitoring and professional verification

Week 4: Community Platform Launch

  • Command Center University: 5 coordination schools with Hustlers University-inspired model
  • Content Creator Integration: Viral content generation and success story amplification
  • Authority Building: Professional thought leadership through authentic value demonstration
  • Beta Customer Acquisition: Target 5K+ money-focused professional founding members

๐Ÿ”ฎ Phase 2: Scale & Market Validation (Growth Focus)

  • Community Growth: Scale to 100K+ members across $49-$999/month tiers
  • Marketplace Expansion: $50M+ GMV in coordination value creation annually
  • Viral Amplification: Professional success stories โ†’ viral content โ†’ authority building
  • Revenue Target: $25M+ ARR through community + marketplace + value sharing

๐Ÿ“ˆ Phase 3: Bootstrap Mainstream Products (Empire Building)

  • Market Authority: Established thought leadership in productivity coordination
  • Revenue Foundation: $75M+ ARR providing funding for mainstream product development
  • Technology Platform: Proven AI coordination technology ready for broader applications
  • Strategic Vision: Command Center success enables comprehensive productivity software empire

Phase 3.1: Advanced Features (MEDIUM PRIORITY)

  • Multi-day event spanning across month rows
  • Recurring events with foundation compatibility
  • Canvas rendering activation for 10K+ events
  • Virtual scrolling performance optimization
  • Advanced analytics and insights dashboard expansion

Phase 3.2: Platform Expansion (FUTURE)

  • Mobile application (preserving horizontal timeline identity)
  • Desktop application (Electron/Tauri)
  • Browser extension for quick event capture
  • API for third-party integrations
  • Workflow automation and integrations

๐Ÿ› ๏ธ CHEATCAL TECHNICAL STACK

๐Ÿš€ Core Command Center Architecture

  • Foundation: Proven 133,222+ line quantum calendar infrastructure (preserved)
  • AI Enhancement: Multi-modal context engine with OpenCV computer vision integration
  • System Overlay: Electron transparent window system for invisible productivity optimization
  • Marketplace Platform: Service provider matching and value-sharing revenue model
  • Community System: Discord-style education platform with controversial positioning

Tech Stack (Enhanced for Command Center)

Core Framework

Backend Integration (ACTIVE)

  • Real-time Database: Convex - Primary data layer with live updates
  • Authentication: Clerk - User lifecycle management via webhooks
  • Billing: Stripe - Subscription management with graceful fallbacks
  • Webhook Security: Svix - Signature verification for production security

Data & Persistence

  • Primary Storage: Convex real-time database
  • Local Cache: IndexedDB with Dexie for offline support
  • Date Handling: date-fns
  • AI Integration: Vercel AI SDK v5 with GPT-4o-mini
  • Sound Effects: use-sound + Howler.js for audio feedback

Development & Testing

  • Project Management: Task Master AI for development workflow
  • Testing: Playwright with 185 comprehensive integration tests
  • CI/CD: GitHub Actions with automated foundation protection
  • Quality: CI guard system preventing non-token colors and glass effects

Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm

Installation (v0.3.3)

# Clone the repository
git clone https://github.com/yourusername/lineartime.git
cd lineartime

# Install dependencies
pnpm install

# Set up environment variables for v0.3.1
cp .env.example .env.local

# Required for core functionality (v0.3.1)
NEXT_PUBLIC_CONVEX_URL=https://incredible-ibis-307.convex.cloud
CLERK_WEBHOOK_SECRET=whsec_[your_clerk_webhook_secret]
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_[your_clerk_key]

# Optional - graceful fallbacks when missing (development-friendly)
STRIPE_SECRET_KEY=sk_test_[your_stripe_key_or_placeholder]
STRIPE_WEBHOOK_SECRET=whsec_[your_stripe_webhook_secret]
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_[your_stripe_publishable_key]

# Run development server  
pnpm dev

# Test foundation compliance (MANDATORY before commits)
npm run test:foundation
npm run test:all    # Run full integration test suite (185 tests)

Open http://localhost:3000 to see the Linear Calendar foundation in action.

๐Ÿงช Testing Requirements

Following our comprehensive testing methodology, all feature development must:

# 1. Foundation Protection Testing (MANDATORY)
npm run test:foundation

# 2. Full Test Suite (REQUIRED for PRs)
npm run test:all

# 3. Build Validation (REQUIRED)
npm run build && npm run lint

Project Structure

lineartime/
โ”œโ”€โ”€ .ai-rules/                   # AI assistant rules and configurations
โ”‚   โ”œโ”€โ”€ .claude/                # Claude AI rules
โ”‚   โ”œโ”€โ”€ .roo/                   # Roo AI rules
โ”‚   โ”œโ”€โ”€ .trae/                  # Trae AI rules
โ”‚   โ”œโ”€โ”€ .windsurf/              # Windsurf AI rules
โ”‚   โ”œโ”€โ”€ .gemini/                # Gemini AI rules
โ”‚   โ””โ”€โ”€ .clinerules/            # Cline AI rules
โ”œโ”€โ”€ .config/                     # Configuration files
โ”‚   โ”œโ”€โ”€ .prettierrc             # Code formatting rules
โ”‚   โ””โ”€โ”€ README.md               # Configuration documentation
โ”œโ”€โ”€ .github/                     # GitHub workflows and templates
โ”œโ”€โ”€ .taskmaster/                 # Project management and tasks
โ”œโ”€โ”€ app/                         # Next.js app directory
โ”‚   โ”œโ”€โ”€ page.tsx                # Main calendar page
โ”‚   โ”œโ”€โ”€ layout.tsx              # Root layout with providers
โ”‚   โ”œโ”€โ”€ globals.css             # Global styles and theme
โ”‚   โ”œโ”€โ”€ sign-in/                # Authentication pages
โ”‚   โ””โ”€โ”€ sign-up/                # Authentication pages
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ calendar/               # Calendar components
โ”‚   โ”‚   โ”œโ”€โ”€ LinearCalendarHorizontal.tsx  # Main calendar component
โ”‚   โ”‚   โ”œโ”€โ”€ EventModal.tsx              # Event creation/editing
โ”‚   โ”‚   โ”œโ”€โ”€ FilterPanel.tsx             # Category filters
โ”‚   โ”‚   โ”œโ”€โ”€ ReflectionModal.tsx         # Year reflection
โ”‚   โ”‚   โ”œโ”€โ”€ ZoomControls.tsx            # View controls
โ”‚   โ”‚   โ””โ”€โ”€ index.ts                    # Exports
โ”‚   โ”œโ”€โ”€ ui/                     # shadcn/ui components
โ”‚   โ””โ”€โ”€ glass/                  # Glass morphism components
โ”œโ”€โ”€ convex/                      # Backend configuration
โ”œโ”€โ”€ docs/                        # Project documentation
โ”‚   โ”œโ”€โ”€ README.md               # Documentation index
โ”‚   โ”œโ”€โ”€ ARCHITECTURE.md         # System architecture
โ”‚   โ”œโ”€โ”€ COMPONENTS.md           # Component library
โ”‚   โ”œโ”€โ”€ CHANGELOG.md            # Version history
โ”‚   โ”œโ”€โ”€ CLAUDE.md               # Claude AI configuration
โ”‚   โ”œโ”€โ”€ CALENDAR_IMPLEMENTATION_SUMMARY.md  # Calendar implementation
โ”‚   โ””โ”€โ”€ LINEAR_CALENDAR_DESIGN.md           # Calendar design specs
โ”œโ”€โ”€ hooks/
โ”‚   โ”œโ”€โ”€ useCommandCenterCalendar.ts    # Calendar state management
โ”‚   โ””โ”€โ”€ use-mobile.ts           # Responsive utilities
โ”œโ”€โ”€ lib/
โ”‚   โ””โ”€โ”€ utils.ts                # Utility functions
โ”œโ”€โ”€ public/                      # Static assets
โ”œโ”€โ”€ types/
โ”‚   โ””โ”€โ”€ calendar.ts             # TypeScript definitions
โ”œโ”€โ”€ [config files]               # Essential config files (in root)
โ”‚   โ”œโ”€โ”€ next.config.ts          # Next.js configuration
โ”‚   โ”œโ”€โ”€ tailwind.config.ts      # Tailwind CSS configuration
โ”‚   โ”œโ”€โ”€ tsconfig.json           # TypeScript configuration
โ”‚   โ”œโ”€โ”€ eslint.config.mjs       # ESLint configuration
โ”‚   โ””โ”€โ”€ package.json            # Dependencies and scripts
โ””โ”€โ”€ README.md                    # This file - project overview

Development

This project uses Task Master AI for project management. To view current tasks:

task-master list        # View all tasks
task-master next        # Get next task to work on
task-master show <id>   # View task details

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

License

MIT

Acknowledgments

Built with inspiration from physical year planners and the need for better long-term planning tools.

About

๐Ÿ”’ The world's first true linear calendar - Life is bigger than a week. Revolutionary horizontal timeline showing entire year in 12-month rows.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •