Back to Discover

claude-canvas

plugin

az9713

Cross-platform Claude Canvas

View on GitHub
1 starsMITSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add az9713/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.

Claude Canvas Screenshot

Requirements

  • Bun — runtime for canvas tools
  • One of:
    • iTerm2 — split panes (recommended for macOS)
    • tmux — split panes (cross-platform)
    • Apple Terminal — new window mode (auto-positioned)
    • Git Bash — new window mode via mintty (Windows)
    • Windows Terminal — split panes (Windows)

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

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

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

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

TerminalModePlatformSetup
iTerm2Split panemacOSJust run in iTerm2
tmuxSplit paneAllStart a tmux session
Apple TerminalNew windowmacOSJust run (window auto-positions)
Git BashNew windowWindowsRun in Git Bash (uses mintty)
Windows TerminalSplit paneWindowsRun in Windows Terminal

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

How It Works

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

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

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

┌─────────────────────┐  ┌─────────────────────┐
│ Your Terminal       │  │ Canvas Window       │
│ (Claude Code)       │  │ (mintty on Windows) │
└─────────────────────┘  └─────────────────────┘
      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

Acknowledgments

This project builds upon excellent prior work:

Windows/Git Bash Support

All code and documentation for porting claude-canvas to Windows/Git Bash was generated by Claude Code powered by Claude Opus 4.5. This includes:

  • TCP socket IPC (replacing Unix sockets)
  • Terminal detection and spawning via mintty
  • Bidirectional path conversion (Windows ↔ Unix)
  • Comprehensive porting documentation

License

MIT

Rendered live from az9713/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.