GitHub-native notepad. AI-ready.

Open, edit, save — directly to your repo. No server, no database.

Features

🔒

GitHub-Backed

All files stay in your repository. Private repos supported. Every change is a Git commit — full history, always.

Instant Startup

Loads in milliseconds, not seconds. Handles large files with ease. No rendering overhead.

>_

CLI

Open files from your terminal. Deep link with custom settings — theme, font size, line number, and more.

🤖

MCP Server

Control from AI IDEs — Claude Code, Cursor — via natural language. Open files, browse repos, change settings.

📝

Markdown Preview

Live preview as you type. Toggle with a click. Scroll to any heading by name.

🌐

Works Everywhere

PWA support — install as an app. Works on desktop and mobile. Dark and light themes.

Get Started

Web

1 Sign in with GitHub
2 Choose a repository
3 Edit & save
Open Editor

CLI

1 npm install -g plainhub
2 plainhub auth --from-gh
3 plainhub open README.md -r owner/repo
CLI Reference

MCP Server

1 npm install -g plainhub
2 claude mcp add plainhub -- plainhub-mcp
3 Say: "Open the README"
MCP Setup

Your files, your repo, your control.

No Server Storage

PlainHub runs entirely in your browser. No backend stores your files or credentials.

Local Credentials Only

Web: tokens in browser localStorage. CLI: saved with file permissions 0600. Never sent to external servers.

GitHub API Direct

All file operations go directly to the GitHub API. No middleman, no proxy.

// How PlainHub works:
Browser → GitHub API → Your Repo
CLI     → Browser    → GitHub API

// No intermediary servers
// No data collection
// Token never leaves your machine

Ready to try?