Developer-focused markdown editor served from a local CLI.
Project description
Markdown-OS
Markdown-OS is a local, developer-focused markdown editor served by FastAPI and launched from a Typer CLI.
Quick Install
pip install markdown-os
Or install as a global tool with uv:
uv tool install markdown-os
Then run:
markdown-os open ./notes.md
Read-first workflow
- Files open in
Previewmode by default for safer browsing. - Switch to
Editwhen you want to type. - Switching from
EdittoPreviewauto-saves changes when there is no external conflict. - If the file changed externally and you have unsaved edits, Markdown-OS shows a conflict dialog:
Save My Changesoverwrites disk with your editor content.Discard My Changesreloads content from disk.Cancelkeeps you in edit mode with unsaved changes intact.
- External file changes auto-reload without prompts when safe:
- always in preview mode
- in edit mode when there are no unsaved changes
Install dependencies
uv sync
Run
uv run markdown-os open ./notes.md
If port 8000 is occupied, Markdown-OS auto-selects the next available port.
Theme toggle
- The editor detects your system color preference on first load.
- Use the sun/moon toggle in the top-right header to switch between light and dark themes.
- Manual selection is persisted in
localStorageand restored on reload.
Interactive task lists
- In
Preview, markdown task list items (- [ ]and- [x]) are clickable. - Clicking a checkbox updates markdown source immediately and auto-saves to disk.
- External-change conflicts use the same
Save My Changes/Discard My Changes/Cancelflow.
Generate a showcase file
# Create example.md in current directory
uv run markdown-os example
# Create at a custom location
uv run markdown-os example ./docs/showcase.md
# Generate and open immediately
uv run markdown-os example --open
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file markdown_os-0.1.0.tar.gz.
File metadata
- Download URL: markdown_os-0.1.0.tar.gz
- Upload date:
- Size: 109.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6fad9e7a8a827f58eea4cdc55e23c013013393c2d031b19119fb46fb1b590c
|
|
| MD5 |
afbbaf31ab9a45563ee4739026a110b0
|
|
| BLAKE2b-256 |
cd3b8a5d685277b046f40c0d1faf748f28499586526171a706843f2a0dec23dc
|
Provenance
The following attestation bundles were made for markdown_os-0.1.0.tar.gz:
Publisher:
publish.yml on elena-cabrera/markdown-os
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
markdown_os-0.1.0.tar.gz -
Subject digest:
5d6fad9e7a8a827f58eea4cdc55e23c013013393c2d031b19119fb46fb1b590c - Sigstore transparency entry: 953593019
- Sigstore integration time:
-
Permalink:
elena-cabrera/markdown-os@e3b799182c095f643f088c84ec390a68f6b7bf89 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/elena-cabrera
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e3b799182c095f643f088c84ec390a68f6b7bf89 -
Trigger Event:
push
-
Statement type:
File details
Details for the file markdown_os-0.1.0-py3-none-any.whl.
File metadata
- Download URL: markdown_os-0.1.0-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5faef47adbfac9abac4a676c6935bb4dde02804c5aecfc8db7b2eb19f075acab
|
|
| MD5 |
df07d990676e9a4a513d66a291d3aedf
|
|
| BLAKE2b-256 |
2598a0842392e52beb29c847da37d844afa3de7b325fda459b4ff5c61c5f2e91
|
Provenance
The following attestation bundles were made for markdown_os-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on elena-cabrera/markdown-os
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
markdown_os-0.1.0-py3-none-any.whl -
Subject digest:
5faef47adbfac9abac4a676c6935bb4dde02804c5aecfc8db7b2eb19f075acab - Sigstore transparency entry: 953593020
- Sigstore integration time:
-
Permalink:
elena-cabrera/markdown-os@e3b799182c095f643f088c84ec390a68f6b7bf89 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/elena-cabrera
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e3b799182c095f643f088c84ec390a68f6b7bf89 -
Trigger Event:
push
-
Statement type: