| Crates.io | midetor |
| lib.rs | midetor |
| version | 1.0.22 |
| created_at | 2025-10-12 09:27:32.669358+00 |
| updated_at | 2025-11-20 20:33:21.833677+00 |
| description | midetor is a terminal-based vim like Markdown editor. You need markdown-scanner installed for it to work |
| homepage | |
| repository | https://github.com/andrenaP/midetor |
| max_upload_size | |
| id | 1879090 |
| size | 268,949 |
midetor (MY-EDITOR) is a terminal-based vim like Markdown editor designed to provide a lightweight, Obsidian-like experience for editing Markdown files. Works only with markdown-scanner. It supports syntax highlighting, tag management, and backlink tracking, storing metadata in a SQLite database (markdown_data.db). The editor uses a TUI (Text User Interface) built with Ratatui and Crossterm, offering an intuitive interface for navigating and editing Markdown files.
Go to this repo and run it inside Docker. You can pass -v to volume Your folder if You want.
example of how you can work with markdown-scanner
And now it can render images (using backlinks) in terminal.

#, backlinks [[ stored in a SQLite database and custom autocomplete options @.[[this type]])Install midetor: Copy the compiled binary to a directory in your PATH:
cargo install --git https://github.com/andrenaP/midetor.git
Install markdown-scanner:
The editor requires a markdown-scanner binary to process Markdown files and populate the database. Ensure it is installed and accessible in your system
cargo install --git https://github.com/andrenaP/markdown-scanner.git
Run the editor with the following command:
midetor <file_path> [base_dir]
<file_path>: Path to the Markdown file to edit (required).[base_dir]: Base directory of the Obsidian vault (optional). Defaults to the Obsidian_valt_main_path environment variable or the current working directory if not set.Edit a file using the default vault path:
midetor notes.md
Edit a file with a specific vault directory:
midetor notes.md /path/to/vault
View help:
midetor --help
Well this is complicated. It works like vim :wq :w :q.
i.v.\ot for tags.\ob for backlinks.\f search\oot \ooT \ooy open dayly files.\t open FileTreeVisual. oc, on to sort my time or name. Other: y for copy, x for cut p, for paste, v for selection.\nt Makes autocomplete from Templates Look Obsidian Templates if you are interested.Now you can paste text in.
The editor uses a SQLite database (markdown_data.db) in the base_dir to store metadata about files, tags, and backlinks. If the database does not exist, it is automatically created with the following schema:
files: Stores file paths and names.tags: Stores unique tags.file_tags: Maps files to tags.backlinks: Tracks backlinks between files.The markdown-scanner tool is executed to populate the database when a new file is opened.
Obsidian_valt_main_path: Specifies the default base directory for the vault if not provided via the command line. You can use it if you need.This project is licensed under the GNU GENERAL PUBLIC LICENSE License. See the LICENSE file for details.
For issues or questions, please open an issue on the repository.