Skip to content

Latermedia/linearbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinearBot

Surface project health, WIP constraints, and best practice violations from Linear.

Prerequisites

  • Bun runtime (uses bun:sqlite)
  • Git
  • Linear API key (optional — mock data mode available for development)

Quick Start

bun run setup         # Check prerequisites, create .env, install deps
# Edit .env with your LINEAR_API_KEY and APP_PASSWORD
bun run sync          # Sync data from Linear
bun run dev           # Start dev server

Open http://localhost:5173

Mock Data Mode (No Linear Account)

New contributors can run the app without a Linear API key:

bun run setup         # Creates .env (leave LINEAR_API_KEY empty)
bun run sync          # Generates realistic mock data
bun run dev           # Start dev server

Mock mode activates when LINEAR_API_KEY is missing, empty, or set to mock. It generates 7 projects with 50+ issues including realistic violations for testing.

Manual Setup

bun install
cp .env.example .env

Edit .env with your Linear API key and desired configuration settings.

What It Does

  • Violation tracking — missing estimates, priorities, stale updates, status mismatches
  • WIP monitoring — engineer workload limits (ideal: 3, max: 5 active issues)
  • Project health — leads, health status, update freshness
  • Visual planning — Gantt chart view of project timelines

Configuration

Team Domain Mappings

Map Linear team keys to logical domains. Find team keys in issue identifiers (e.g., ENG-123ENG).

# By function
TEAM_DOMAIN_MAPPINGS='{"WEB":"Frontend","API":"Backend","INFRA":"Platform"}'

# By product
TEAM_DOMAIN_MAPPINGS='{"CART":"Shopping","SEARCH":"Discovery"}'

Ignored Teams

Exclude teams from sync:

IGNORED_TEAM_KEYS=CS,SUPPORT,OPS

Documentation

Doc Purpose
Roadmap Planned features, known issues
Release Notes Version history
Features What the app does
Architecture System design
API Reference Endpoints
All Docs Documentation hub

Releasing

bun run release-prepare-patch   # Bump version, generate NEWS.md prompt
# ... update NEWS.md with AI-generated summary ...
bun run release-commit          # Commit, tag, output push instructions

Deployment

For Fly.io:

cp fly.toml.example fly.toml
fly secrets set LINEAR_API_KEY=... APP_PASSWORD=...
fly deploy

License

MIT © 2025 Victory Square Media Inc. dba Later

About

Custom Linear view with helpful opinions.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published