Skip to content

Repository files navigation

moco welcome screen

moco

Fast, minimalist and lightweight editor with zero noise.

Stars Release Downloads License


moco is an open-source editor built with a simple idea: do your job fast and stay out of your way.

No bloat. No extra panels. No heavy background processes.

Only what you actually need.

moco in action

What is it?

moco is a lightweight desktop editor that:

  • Launches instantly
  • Uses minimal memory
  • Doesn't distract with unnecessary UI
  • Supports local folders and SSH/SFTP remote connections
  • Does exactly what it's meant to do

It's for those who value speed, simplicity, a clean interface and minimalism.

Project philosophy

Minimum code. Maximum performance. Zero visual noise.

moco doesn't try to be "everything at once". It does one thing — and does it well.

Features

  • Multi-format Support: Syntax support for dozens of popular programming, markup, data, configuration, and documentation formats, with an extensible format registry
  • Built-in Formatters: Instantly format or minify supported files using Prettier and purpose-built parsers where appropriate. Embedded code and common real-world minification artifacts are handled automatically
  • Optional Auto-save: Disabled by default and available in Settings. After a short editing pause, moco saves the current editor text without applying manual whitespace cleanup
  • Maximum Optimization: An optional large-file mode that reduces and pauses non-essential background features, keeping the editor focused on responsive editing and manual saving
  • Manual-save Whitespace Cleanup: Enabled by default and configurable in Settings. Explicit saves from the toolbar or Ctrl+S / Cmd+S remove trailing spaces and extra blank lines at the end of the file; auto-save never applies this cleanup
  • File Tree Sidebar: Open a local folder to browse and edit files quickly
  • SSH/SFTP Support: Connect to remote servers, browse their file system, edit and save directly
  • Smart Encoding: Auto-detects Unicode and common legacy file encodings for reliable display
  • Markdown Preview Modes: Switch between the editor and a full read-only preview, or use side-by-side mode with the editor on the left and a live preview on the right. Scrolling is synchronised in both directions, including for long documents and large tables
  • Markdown Link Handling: External links open in your default browser; local file links open in the editor if the file exists, or show a "File not found" notice without leaving the current file. Paths with spaces work correctly
  • Keyboard Layout Correction: Select text typed with the wrong keyboard layout and convert it between English and the layout associated with the current UI language without retyping (ghbdtnпривет). A sensible fallback layout is used when the UI itself is in English
  • File Navigation History: Back and forward buttons for recently opened local files; the sidebar follows the current file's directory
  • Recent and Pinned Files: Keeps recently opened local files within easy reach and separates pinned favourites from the rest. Use Ctrl+Click / Cmd+Click to open an entry in a new moco instance. SSH files are never added or pinnable
  • Recent File Switcher: Hold Ctrl to show up to five recently opened files, then press Tab to cycle through them and release Ctrl to open the selected file
  • Live Status Bar: Shows essential file metadata, save state, editing statistics, an exact o200k_base token count calculated off the main thread, and cursor information
  • App Settings: Configure appearance, interface language, editor behaviour, saving preferences, and other supported options. Settings are stored in settings.json next to the executable and shared across all open windows; the current moco version is shown in the dialog
  • File Type Badge: Toolbar shows a compact coloured badge based on the current file extension
  • Full UI Theming: The selected theme applies consistently across the entire interface
  • Welcome Screen — Create File: Pick a path and name in the save dialog; moco creates an empty file and opens it in the editor
  • Welcome Screen — Stored Files: Pinned and recently opened local files use the same reusable list as the toolbar dialog, including pin controls and new-instance opening
  • Per-File Undo: Ctrl+Z undo history is scoped to the current file and resets when you switch to another file

Download

Head to Releases and grab the latest installer for your platform.

Platform File
Windows moco_x.x.x_x64-setup.exe
macOS moco_x.x.x_aarch64.dmg

macOS: If you see "moco.app is damaged and can't be opened", run in Terminal:

xattr -cr /Applications/moco.app

This removes the quarantine flag added by macOS for unsigned apps.

Keyboard Shortcuts

Shortcut Action
Ctrl+S / Cmd+S Save
Ctrl+Z / Cmd+Z Undo (per-file; history resets when you switch files)
Ctrl+O / Cmd+O Open file
Ctrl+Shift+N / Cmd+Shift+N Open a new moco instance on the welcome screen
Ctrl+F / Cmd+F Find
Ctrl+R / Cmd+R Run the current supported file
Ctrl+Alt+F / Cmd+Alt+F Format
Ctrl+Alt+E / Cmd+Alt+E Convert the selected text between keyboard layouts
Ctrl+Scroll / Cmd+Scroll Zoom in/out
Ctrl+= / Cmd+= Zoom in
Ctrl+- / Cmd+- Zoom out
Ctrl+0 / Cmd+0 Reset zoom
Ctrl+Click / Cmd+Click on a recent or pinned file Open in a new moco instance
Hold Ctrl, then press Tab Cycle through recently opened files; release Ctrl to open
Escape Close split preview

Open Source

The project is fully open. You can:

Contributing

  1. Fork the repo
  2. Create a branch
  3. Open a Pull Request

Or just create an Issue with a suggestion — that's already a contribution.

Development

Requires Node.js 18+ and Rust stable.

npm install
npm run dev
npm run build

Stack

Layer Tech
Frontend Vue 3, Vite, TypeScript
Editor Monaco Editor
Backend Rust
Desktop Tauri v2

Support the author

Boosty

  • USDT (TRC20 / Tron): TCWPHDq97KX3MWPnNx34gytHpqEWMD4cri
  • USDT (TON): UQB2MhncbIRap4qCgcJEdni1Lep2iyW8Tw9_vOiHTA4pMoxp

License

MIT


If you're into fast and lightweight tools — welcome to moco.

About

Minimalist editor. Built with Tauri, Rust, Vue 3 and Monaco Editor.

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages