Welcome to mantis
mantis lets you browse, read, and review a codebase right in your terminal β instantly. Point it at a folder and start moving through your files with the arrow keys (or your mouse), with syntax highlighting, rendered markdown, fuzzy search, and git diff/blame/history always one keystroke away.

π‘ New here? You only need two things to get started: the Installation page, then the Quick Start. Everything else is optional.
What makes it nice
- β‘ Lightweight & instant. One small binary, no runtime dependencies, and nothing to configure before your first run. It opens in milliseconds, even over SSH.
- π³ A real tree view. Navigate folders with the keyboard or mouse,
respecting your
.gitignore. - π Fuzzy & full-text search. Jump to any file by name (
Ctrl+T), or search across the contents of every file (Ctrl+F) β fzf-style, as you type. - π¨ Readable files. Syntax highlighting for source code, rendered markdown, and JSON pretty-printing.
- π§ Git built in. Per-line blame, working-tree diffs, file history, and status-colored tree entries β no plugins required.
- β¨οΈ Discoverable. Press
?for help orCtrl+Pfor a searchable command palette. You donβt have to memorize anything.
Try it in five seconds
mantis # open the current directory
mantis path/to/dir # open a specific directory
mantis file.md # open a single file directly
Press ? any time for in-app help, and Ctrl+c to quit.
Where to go next
| If you want to⦠| Read |
|---|---|
Understand when to reach for mantis | Why mantis? |
| Get it installed | Installation |
| Learn the basics in 5 minutes | Quick Start |
| See every key and what it does | Usage & Keybindings |
| Use blame, diffs, and history | Git Features |
| Tweak themes and keybindings | Configuration |