A vibe-coded client for claude with splits, tabs, folders and sections. Uses your claude subscription.
  • TypeScript 86.7%
  • CSS 11.3%
  • Nix 1.5%
  • JavaScript 0.4%
  • HTML 0.1%
Find a file
Matthew Weber 2420a3bcb2 New sessions get a short name from Haiku after the first prompt
The first line still shows straight away; a one-shot Haiku call then names
the session in three or four words, like the desktop app does, unless it was
renamed by hand meanwhile. The name is written to the transcript too.
Settings → Name new sessions turns it off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:41:19 -05:00
.impeccable Impeccable: the Markdown blockquote rule isn't a side-tab accent 2026-11-16 17:09:43 -05:00
assets Close to the tray by default; one instance at a time 2026-11-15 22:11:23 -05:00
scripts Scaffold Fable: a Claude Code front end with tabs, splits and nested folders 2026-11-15 16:47:16 -05:00
src New sessions get a short name from Haiku after the first prompt 2026-11-17 17:41:19 -05:00
.envrc Scaffold Fable: a Claude Code front end with tabs, splits and nested folders 2026-11-15 16:47:16 -05:00
.gitignore Scaffold Fable: a Claude Code front end with tabs, splits and nested folders 2026-11-15 16:47:16 -05:00
flake.lock Nix package: nix build / nix run, and an overlay 2026-11-15 22:16:10 -05:00
flake.nix Nix package: nix build / nix run, and an overlay 2026-11-15 22:16:10 -05:00
package-lock.json Agents can show images and HTML pages inline in the chat 2026-11-16 02:20:30 -05:00
package.json Agents can show images and HTML pages inline in the chat 2026-11-16 02:20:30 -05:00
package.nix Agents can show images and HTML pages inline in the chat 2026-11-16 02:20:30 -05:00
README.md Tab menu: split, move, float, open in a new window, close 2026-11-16 17:08:18 -05:00
shell.nix Scaffold Fable: a Claude Code front end with tabs, splits and nested folders 2026-11-15 16:47:16 -05:00
tsconfig.json Scaffold Fable: a Claude Code front end with tabs, splits and nested folders 2026-11-15 16:47:16 -05:00
tsconfig.node.json Scaffold Fable: a Claude Code front end with tabs, splits and nested folders 2026-11-15 16:47:16 -05:00
vite.config.ts Tab menu: split, move, float, open in a new window, close 2026-11-16 17:08:18 -05:00

Fable

A desktop front end for Claude Code: sessions in tabs and splits, and a sidebar where folders and sections nest inside each other. It runs your own claude binary through the Claude Agent SDK, signed in with your own Claude subscription, so usage counts against your plan, not an API key.

Running it (NixOS)

nix-shell              # or: nix develop, or direnv allow
npm install
npm start              # build, then open the app
npm run dev            # Vite dev server + esbuild watch + Electron
npm run typecheck

FABLE_USER_DATA=/some/dir gives the app a separate profile (sidebar tree, dock layout, settings) for testing.

Layout

  • src/main/ — Electron main process. sessions.ts runs one Agent SDK query per live session in streaming-input mode; store.ts keeps tree.json and layout.json in Electron's userData directory.
  • src/preload/ — the window.fable bridge.
  • src/main/appScheme.ts — serves the built renderer as fable-app://app/ (not file://), which tabs opened in their own window need.
  • src/main/git.ts — the working-tree diff the Diff mod shows.
  • src/main/pipeline.ts — which video-pipeline project a session is on and its stages, for the Pipeline mod (mods/pipeline.tsx).
  • src/renderer/ — React. Sidebar.tsx (the tree, the Archived list), dock.ts + App.tsx (dockview tabs and splits, global keybindings), SessionPane.tsx (transcript, permission, plan and question cards, composer with attachments and list continuation), sessionStore.ts (SDK messages to display items), settings.ts + SettingsDialog.tsx, keys.ts (keybinding actions and combos), mods.ts + mods/ (Fable mods; mods/diff.tsx is the Diff panel). Preview.tsx shows images and pages inline; Docs.tsx draws Markdown files (plans, cut lists) as documents in the chat and in a session's Docs panel, and docLinks.ts makes .md paths in replies open there. TabMenu.tsx is a tab's right-click menu (split, move, float, own window, close).
  • src/shared/types.ts — the IPC contract; src/shared/settings.ts — default settings and keybindings.

Transcripts are Claude Code's own JSONL files under ~/.claude/projects; Fable keeps only the sidebar tree, the layout and settings.json.

Mods

A Fable mod (src/renderer/mods.ts) can add dock panels opened per session, buttons on a session's header and sidebar menu, a strip above the message box, and handlers for keybinding actions; each can be switched off in Settings → Mods. Claude Code's own mods are written against the CLI's claude-code mod API and can't load here, so the useful ones are rebuilt as Fable mods.