Complete migration of TENEX web client to TanStack Router with Telegram-style responsive UI.
# Install dependencies
bun install
# Run development server
bun run dev
# Run tests
bun test # Unit tests
bun run test:e2e # E2E tests with Playwright
bun run test:e2e:install # Install Playwright browsers
# Build for production
bun run build
# Type checking
bun run typecheck
# Code formatting
npx prettier --write "src/**/*.{ts,tsx}"tanstack-version/
├── src/
│ ├── routes/ # TanStack Router routes
│ ├── components/ # React components
│ ├── lib/ # Utilities and helpers
│ ├── hooks/ # Custom React hooks
│ ├── stores/ # State management (Jotai)
│ ├── styles/ # CSS and themes
│ └── test/ # Test utilities
├── e2e/ # Playwright E2E tests
├── public/ # Static assets
├── MILESTONES.md # Living milestone document
└── FEATURE_INVENTORY.md # Complete feature reference
- MILESTONES.md - Living document tracking implementation progress
- FEATURE_INVENTORY.md - Complete reference of all features to implement
bun test # Run all tests
bun test:ui # Open Vitest UI
bun test:coverage # Generate coverage reportbun run test:e2e # Run all E2E tests
bun run test:e2e:ui # Open Playwright UI# Use vibe-tools MCP to run complex test scenarios
vibe-tools mcp run "test authentication flow in ./tanstack-version" --provider=anthropic- Check current milestone in MILESTONES.md
- Run tests to verify current state
- Implement features following FEATURE_INVENTORY.md
- Write tests for new features
- Update milestone document with progress
- TanStack Router for type-safe routing
- Telegram-style UI with responsive design
- NDK for Nostr protocol integration
- Jotai for atomic state management
- Tailwind CSS v4 for styling
- shadcn/ui for component library
- Bun as package manager and runtime
The app connects to Nostr relays and uses NDK for:
- Event publishing and subscription
- Private key management
- Custom event types (Projects, Agents, Tasks, etc.)
- Real-time updates via WebSocket
Create a .env file:
# Test Nostr key for E2E tests
TEST_NSEC=nsec1...
# API Keys (optional)
OPENAI_API_KEY=sk-...
MURF_API_KEY=...- Read MILESTONES.md for current status
- Follow patterns in FEATURE_INVENTORY.md
- Write tests for all features
- Update documentation as you work
This project was created using bun init in bun v1.2.16. Bun is a fast all-in-one JavaScript runtime.