Branch

Track, gamify, and share your focus.

Overview

Branch is a gamified productivity tracker that measures and improves how people work.

Team

Architecture

dan/
├── web/              # Next.js web application
├── extension/        # Chrome browser extension
├── backend/          # Firebase Cloud Functions
└── shared/           # Shared types and utilities

Tech Stack

Getting Started

Prerequisites

Installation

  1. Clone the repository
    git clone <repo-url>
    cd DAN
    
  2. Install dependencies
    npm install
    
  3. Set up Firebase
    cd backend
    firebase login
    firebase init
    
  4. Configure environment variables
    cp .env.example .env.local
    # Add your Firebase and OpenAI credentials
    
  5. Run development servers ```bash

    Web app

    cd web npm run dev

Backend functions

cd backend npm run serve ```

  1. Load extension in Chrome
    • Navigate to chrome://extensions/
    • Enable “Developer mode”
    • Click “Load unpacked”
    • Select the extension/ directory

Development Roadmap

Week 1: Setup ✅

Week 2: Extension

Week 3: Dashboard

Week 4: Gamification

Week 5: AI Integration

Week 6: Polish & Deploy

Features

Core Features (MVP)

Future Features

Privacy

License

MIT

Contact

For questions or support, reach out to the team.