Back to Discover

claude-canvas

plugin

BhalPunia

TUI toolkit for Claude Code - fork with iTerm2 and Apple Terminal support

View on GitHub
50 starsMITSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add BhalPunia/claude-canvas

README

Claude Canvas

A TUI toolkit that gives Claude Code its own display. Spawn interactive terminal interfaces for calendars, documents, flight tracking, weather, system monitoring, and more.

Note: Fork of dvdsgl/claude-canvas with added iTerm2/Apple Terminal support and real-time data canvases.

Claude Canvas Screenshot

Requirements

  • Bun — runtime for canvas tools
  • One of:
    • iTerm2 — split panes (recommended for macOS)
    • tmux — split panes (cross-platform)
    • Kitty — split panes (GPU-accelerated)
    • WezTerm — split panes (cross-platform)
    • Alacritty — new window mode (GPU-accelerated)
    • Apple Terminal — new window mode (auto-positioned)

Quick Start

# Clone the repo
git clone https://github.com/BEARLY-HODLING/claude-canvas.git
cd claude-canvas

# Install dependencies
bun install
cd canvas && bun install && cd ..

# Check your terminal environment
bun run canvas/src/cli.ts env

# Spawn a canvas
bun run canvas/src/cli.ts spawn calendar
bun run canvas/src/cli.ts spawn tracker
bun run canvas/src/cli.ts spawn weather
bun run canvas/src/cli.ts spawn system
bun run canvas/src/cli.ts spawn dashboard
bun run canvas/src/cli.ts spawn pomodoro
bun run canvas/src/cli.ts spawn notes
bun run canvas/src/cli.ts spawn crypto
bun run canvas/src/cli.ts spawn github
bun run canvas/src/cli.ts spawn docker
bun run canvas/src/cli.ts spawn network

Canvas Types

CanvasDescriptionKey Features
calendarWeekly view, meeting pickerNavigate weeks, select time slots
documentMarkdown viewer/editorDisplay, edit, email preview modes
flightFlight comparison UISeat selection, booking interface
trackerReal-time flight trackingLive positions, watchlist, ASCII world map
weatherWeather conditions & forecastCurrent conditions, 7-day forecast, city search
systemSystem monitorCPU sparklines, memory, disk, top processes
dashboardUnified dashboardWeather, system, calendar, clock widgets
pomodoroPomodoro timerWork/break cycles, ASCII timer, session tracking
notesQuick notes/scratchpadAuto-save, search, timestamps
cryptoCryptocurrency trackerBTC/ETH/SOL prices, 24h change, sparklines
githubGitHub PR/issue monitorPR tracking, repo stats, status indicators
dockerDocker container monitorContainer status, CPU/memory, logs
networkNetwork ping monitorLatency sparklines, packet loss, multi-host

Global Keybindings (v0.6)

KeyAction
?Show help overlay with all controls
TabOpen canvas navigator
qExit canvas

Flight Tracker (tracker)

Real-time flight tracking using the free OpenSky Network API.

bun run canvas/src/cli.ts spawn tracker

Features

  • Search flights by callsign (e.g., UAL123, BAW456)
  • Search flights by route (origin → destination airports)
  • Live position tracking with auto-refresh (5-60 second intervals)
  • ASCII world map with filled continents showing flight positions
  • Watchlist to track multiple flights simultaneously
  • Status change alerts via IPC

Controls

KeyAction
sSearch by callsign
rSearch by route
wAdd to watchlist
WRemove from watchlist
/ Navigate flight list
+ / -Adjust refresh interval
SpaceManual refresh

Map Legend

SymbolMeaning
Land
Ocean
Airport
↑↗→↘Flight

Weather Canvas (weather)

Weather conditions and forecasts using the free Open-Meteo API (no API key required).

bun run canvas/src/cli.ts spawn weather

Features

  • Current conditions: temperature, feels like, humidity, wind, precipitation
  • 7-day forecast with high/low temps and rain probability
  • Weather icons using WMO codes (☀️ ☁️ 🌧️ ⛈️ ❄️)
  • City search via geocoding
  • Location watchlist for quick switching

Controls

KeyAction
/Search for city
wAdd to watchlist
WRemove from watchlist
/ Navigate locations
EnterSelect location

System Monitor (system)

Real-time system resource monitoring.

bun run canvas/src/cli.ts spawn system

Features

  • CPU usage with 40-point sparkline history
  • Memory usage with progress bars
  • Disk usage for all mounted volumes
  • Top processes sorted by CPU usage
  • Alert thresholds for CPU (80%), memory (90%), disk (95%)
  • Pause/resume monitoring

Controls

KeyAction
pPause/resume monitoring
+ / -Adjust refresh interval
/ Scroll process list

Dashboard Canvas (dashboard)

Unified dashboard combining multiple widgets in a single view.

bun run canvas/src/cli.ts spawn dashboard

Features

  • Weather widget with current conditions and mini forecast
  • System monitor widget with CPU/memory sparklines
  • Calendar widget showing today's events and upcoming schedule
  • Digital clock with date display
  • Responsive grid layout adapts to terminal size
  • All widgets update in real-time

Controls

KeyAction
TabCycle focus between widgets
rRefresh all widgets
1-4Focus specific widget
+ / -Adjust refresh interval

Pomodoro Canvas (pomodoro)

Pomodoro timer with work and break cycles for focused productivity.

bun run canvas/src/cli.ts spawn pomodoro

Features

  • Standard Pomodoro cycles: 25 min work, 5 min short break, 15 min long break
  • Large ASCII timer display for visibility
  • Session tracking with completed pomodoro count
  • Audio/visual notifications on cycle completion
  • Automatic transition between work and break periods
  • Statistics view showing daily/weekly productivity

Controls

KeyAction
SpaceStart/pause timer
rReset current timer
sSkip to next cycle
+ / -Adjust work duration (+/- 5min)
TabToggle statistics view

Notes Canvas (notes)

Quick notes and scratchpad with persistent storage.

bun run canvas/src/cli.ts spawn notes

Features

  • Auto-save notes to local storage
  • Searchable note history
  • Timestamps on all entries
  • Markdown preview support
  • Quick capture mode for rapid note-taking
  • Export notes to file

Controls

KeyAction
nCreate new note
EnterEdit selected note
dDelete selected note
/Search notes
/ Navigate note list
eExport notes to file
EscCancel/exit current mode

Calendar Canvas (calendar)

Weekly calendar view with meeting time picker.

# Basic calendar
bun run canvas/src/cli.ts spawn calendar

# With events
bun run canvas/src/cli.ts spawn calendar --config '{"events":[{"title":"Meeting","start":"2025-01-07T10:00","end":"2025-01-07T11:00","color":"blue"}]}'

# Meeting picker mode
bun run canvas/src/cli.ts spawn calendar --scenario meeting-picker

Controls

KeyAction
/ Navigate weeks
tJump to today
n / pNext/previous week

Document Canvas (document)

Markdown viewer and editor.

bun run canvas/src/cli.ts spawn document --config '{"content":"# Hello World\n\nThis is markdown."}'

Terminal Support

TerminalModeSetup
iTerm2Split paneJust run in iTerm2
tmuxSplit paneStart a tmux session
KittySplit paneJust run in Kitty (GPU-accelerated)
WezTermSplit paneJust run in WezTerm (cross-platform)
AlacrittyNew windowJust run (GPU-accelerated)
Apple TerminalNew windowJust run (window auto-positions)

The canvas automatically detects your terminal and uses the appropriate method.

How It Works

iTerm2 / tmux: Creates a side-by-side split pane

┌─────────────────────┬─────────────────────┐
│ Claude Code         │ Canvas              │
│ (your terminal)     │ (tracker/weather/…) │
└─────────────────────┴─────────────────────┘

Apple Terminal: Opens a new window (no native split support)

┌─────────────────────┐  ┌─────────────────────┐
│ Your Terminal       │  │ Canvas Window       │
│ (Claude Code)       │  │ (auto-positioned)   │
└─────────────────────┘  └─────────────────────┘
      Left half               Right half

Session Reuse

Canvas tracks open panes/windows and reuses them for subsequent spawns instead of creating new ones.


APIs Used

APICanvasFree TierData
OpenSky NetworktrackerUnlimited*Live aircraft position/velocity
Open-MeteoweatherUnlimitedWeather, forecast, geocoding
Node.js os modulesystemBuilt-inCPU, memory, network

*Rate limited for unauthenticated requests


Claude Code Plugin Installation

# Add marketplace
/plugin marketplace add BEARLY-HODLING/claude-canvas

# Install plugin
/plugin install canvas@claude-canvas

Development

# Run CLI directly
bun run canvas/src/cli.ts [command]

# Show canvas in current terminal (for testing)
bun run canvas/src/cli.ts show tracker

# Check terminal detection
bun run canvas/src/cli.ts env

# Run tests
cd canvas && bun test

License

MIT

Rendered live from BhalPunia/claude-canvas's GitHub README — not stored, always reflects the source repo.

1 Plugin

NameDescriptionCategorySource
canvasSpawn and control interactive terminal displays (calendars, documents, flights) with real-time IPC communication./canvas

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.