Getting Started

1. Create an account

Sign up at app.markdown.ing. Email and password — no credit card, everything is free during testing.

2. Run the CLI

No install needed — npx handles everything:

terminal
$ npx mding-cli

On first run, the CLI detects you're not logged in and starts the authentication flow automatically. It opens your browser to a verification page and shows a device code in the terminal.

screenshot: cli-login.png — device code auth flow in terminal

Confirm the code in your browser and the CLI connects immediately. Your session is saved to ~/.config/mding/config.json — you won't need to log in again on this machine.

3. Connect a folder

By default, mding-cli watches the current directory. Point it at any folder:

terminal
$ npx mding-cli ~/projects/docs ✓ Connected to markdown.ing ➜ Watching ~/projects/docs (14 files) ➜ Editor ready at https://app.markdown.ing
screenshot: cli-connect.png — CLI connected showing status table and file count

The CLI scans for .md files, connects to markdown.ing over WebSocket, and sends your file tree. Your browser opens automatically.

4. Edit

Your files appear in the editor sidebar. Changes sync bidirectionally in real-time:

screenshot: editor-split.png — editor with sidebar showing connected files

The CLI shows an activity log as files sync back and forth:

screenshot: cli-activity.png — activity log with colored sync events

5. Disconnect

Press Ctrl+C to stop the CLI. You'll see a session summary with stats:

screenshot: cli-session-summary.png — session summary showing duration and sync count

Your files are untouched on disk. The CLI never modifies files unless you edit them in the browser. No daemon runs in the background after you disconnect.

6. Works over SSH too

SSH into any machine with Node.js and run npx mding-cli. The web editor connects to that remote session — full rich editing, live preview, and diagrams for files on any server. No port forwarding or X11 needed.

remote-server — ssh
you@server $ npx mding-cli ~/config ✓ Connected to markdown.ing # open your browser — editing remote files with full preview
screenshot: cli-ssh.png — mding-cli running over SSH on a remote machine

Next up: Learn about the editor — split view, diagrams, command palette, and immersive mode in Editor Basics.