Skip to main content

Developer-focused markdown editor served from a local CLI.

Project description

Markdown-OS

PyPI version

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 Preview mode by default for safer browsing.
  • Switch to Edit when you want to type.
  • Switching from Edit to Preview auto-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 Changes overwrites disk with your editor content.
    • Discard My Changes reloads content from disk.
    • Cancel keeps 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 localStorage and 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 / Cancel flow.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown_os-0.1.0.tar.gz (109.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markdown_os-0.1.0-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

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

Hashes for markdown_os-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d6fad9e7a8a827f58eea4cdc55e23c013013393c2d031b19119fb46fb1b590c
MD5 afbbaf31ab9a45563ee4739026a110b0
BLAKE2b-256 cd3b8a5d685277b046f40c0d1faf748f28499586526171a706843f2a0dec23dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for markdown_os-0.1.0.tar.gz:

Publisher: publish.yml on elena-cabrera/markdown-os

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for markdown_os-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5faef47adbfac9abac4a676c6935bb4dde02804c5aecfc8db7b2eb19f075acab
MD5 df07d990676e9a4a513d66a291d3aedf
BLAKE2b-256 2598a0842392e52beb29c847da37d844afa3de7b325fda459b4ff5c61c5f2e91

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page