markcloud

A personal markdown hosting platform. Write locally, sync to your server, browse on the web at markcloud.israelmanzi.com.

What it does

How it works

Documents are authored locally as markdown files with YAML frontmatter for metadata (tags, visibility). The CLI manages a local content directory and syncs directly to the server over HTTP using SHA-256 diffing — only changed files are transferred. The server parses markdown, renders HTML, and stores everything in SQLite with full-text search.

Infrastructure

  +---------+     HTTP API (manifest + upload)     +----------------+
  |  mc CLI  |------------------------------------->|  Server        |
  |          |     SHA-256 diffing, only sends      |  (Docker)      |
  |          |     changed files                    |                |
  +---------+                                      |  SQLite + FTS5 |
  local content_dir                                |  HTML templates |
  (git-tracked)                                    +-------+--------+
                                                           |
                                             markcloud.israelmanzi.com

Tech stack

CLI commands

Configuration

The CLI reads from ~/.markcloud.yaml:

server_url: https://markcloud.israelmanzi.com
deploy_secret: your-secret
content_dir: ~/markdown

The server uses environment variables for secrets, passed via Docker.

License

MIT