Micelio
Your Markdown notes as a living network of ideas. Micelio reads a folder of notes (an
Obsidian vault, or any folder of .md files) and shows it as projects, links and graphs on a
small self-hosted website. It is read-only: your notes stay plain files that you, your editor
or an AI assistant write.
Micelio is Spanish for mycelium, the web of threads that grows under a forest; say "mee-SEH-lyo".
Why
Notes written over months, by hand or by an assistant over MCP, pile up into a web of ideas that a file list cannot show. Micelio makes that web visible:
- Projects grow above ground like mushrooms; the notes they link to spread below as mycelium, and notes shared by projects of different categories become visible bridges.
- Graphs for the whole vault, for each project and around each note.
- Health: broken links (shown as ghost nodes), unknown frontmatter values and orphans.
- Sharing: mark a note
public: trueand anonymous visitors can read it; everything else needs a sign-in. - Any assistant: Micelio does not care who wrote the notes. Claude, ChatGPT, a local model or you in Obsidian all work.
Quick start
Try it on the bundled sample vault, with Docker:
git clone https://github.com/0xpietri/micelio
cd micelio
docker compose -f compose.example.yml up # http://localhost:8765
On your own computer, with uv (Linux, macOS or Windows), no Docker needed:
uvx micelio serve --vault ~/Obsidian # http://127.0.0.1:8765
(or pipx install micelio, then micelio serve --vault ~/Obsidian). On
127.0.0.1 sign-in is off until you set it up; nobody else can reach it.
On a server, run the image ghcr.io/0xpietri/micelio (amd64 and arm64, so a Raspberry
Pi works too) with the vault mounted read-only:
docker run -d --name micelio --read-only --tmpfs /tmp -p 127.0.0.1:8765:8765 \
-v ~/Obsidian:/vault:ro -v micelio-data:/data --env-file .env \
ghcr.io/0xpietri/micelio:0.1
.env holds the sign-in secrets (see Signing in); put a reverse proxy with
TLS (Caddy, Nginx, Traefik) in front. compose.example.yml shows the
same as a Compose file, and the server guide walks
through a whole setup with a notes MCP server.
To work on Micelio itself, see CONTRIBUTING.md: uv sync, then
uv run micelio serve --vault examples/vault.
How it works
flowchart LR
subgraph writers [Who writes]
A["AI assistant<br/>(Claude, ChatGPT, local model)"] -->|MCP| M[Notes MCP server]
O[You in Obsidian]
end
M --> V[("Vault<br/>Markdown files")]
O --> V
V -->|read-only| R
subgraph app [Micelio: one process]
R[Vault reader<br/>frontmatter + wikilinks] --> I[In-memory index<br/>links, projects, bridges]
I --> P[Pages<br/>FastAPI + Jinja]
I --> J["/api/graph, /api/landing"]
S[("data/<br/>SQLite: sessions,<br/>Appearance")] --- P
end
P --> B[Browser]
J --> B
B -.->|"draw.js + d3-force<br/>mushrooms and hyphae"| B
- The vault is the only source of truth. Micelio re-reads files when they change and keeps the index in memory; delete its data folder and nothing is lost.
- Its own state (sign-in sessions, the Appearance page's choices, an uploaded background) lives in a small SQLite file in the data folder, never in the vault.
- Pages are rendered on the server; the landing and the graphs are plain JavaScript modules over JSON, with vendored libraries and no build step.
- Anonymous visitors get a filtered view built from
public: truenotes only.
Talking to your notes
Micelio shows notes; an MCP server writes them when you talk to an assistant, from a desktop app or from your phone in voice mode. The self-hosting guides set up both, either on your own computer (Linux, macOS, Windows) or on a server.
How a vault is read
vault/
projects/ one note per project, with a category; it links to its notes
notes/ one idea per note
journal/ dated entries
sources/ books, papers, links
Each note may start with a frontmatter block:
---
type: project # project | note | journal | source (otherwise taken from the folder)
category: science # projects only; one of the categories in micelio.toml
status: active # draft | active | paused | closed
tags: [gravity, astrology]
created: 2026-11-09
public: false # true lets anonymous visitors read it
aliases: [Planets at birth]
---
Links use Obsidian's [[wikilink]] syntax, including [[Note#Heading|label]], aliases and
paths. A note belongs to a project when the project links to it. Hidden folders (.obsidian,
.trash) and Syncthing conflict copies are ignored. Nothing in the frontmatter is required;
odd values are reported by micelio check, never fatal.
Interface languages
The interface ships in English and Spanish (language = "es" in micelio.toml); your notes
are always shown as written. Adding a language takes one file, see
CONTRIBUTING.md.
Configuration
Copy micelio.example.toml to micelio.toml and point
--config (or MICELIO_CONFIG) at it. It holds the site title, the owner's name, the vault
folders and the categories, each with a mushroom species for the landing page.
Secrets never go in this file; see .env.example.
The landing and its look
The home page draws your vault as a forest: each project is a mushroom above the soil (its species comes from the category, its size from its notes, its shape from its status), notes are clouds of spores in the mycelium below, links are threads, sources are crystals and the latest journal notes float as golden spores. Hover for titles, click to open.
Signed in, Appearance (/appearance) changes how it looks: four palettes (Psychedelic,
Tokyo Night, Catppuccin Mocha, Rosé Pine), your own background image, where the soil starts,
and the title and tagline. It also builds a prompt you can paste into any image generator to
paint a background that fits. These choices are saved in the data folder, never in your notes;
[landing] in the config sets the defaults.
Signing in
One person signs in, with a password and a code from an authenticator app (any TOTP app: Aegis, 2FAS, Google Authenticator, 1Password…). Generate the three secrets once and put them in your environment:
micelio user set-password # prints MICELIO_PASSWORD_HASH
micelio user totp # shows a QR code, prints MICELIO_TOTP_SECRET
micelio user session-key # prints MICELIO_SESSION_KEY
- Sessions last 12 hours and are stored server-side, so signing out really ends them.
micelio user sign-out-allends every session. - Five failed attempts from one address lock it out for 15 minutes.
- On your own computer,
micelio servelistens on127.0.0.1only; with no secrets set, sign-in is simply off there. On any other address, Micelio refuses to start without them. - Already behind Cloudflare Access, Authelia or another gateway? Set
auth.mode = "none"and Micelio trusts whoever reaches it. Only do this when the gateway really guards every path.
Security
- Micelio never writes to the vault; mount it read-only. The image runs as a non-root user
with a read-only root filesystem and writes only to
/data. - Anonymous visitors see notes marked
public: trueand nothing else: no private titles, links, counts or ghost nodes, and a private note's URL answers 404. - Sign-in is a password plus a TOTP code, with server-side sessions and a lockout. Micelio
refuses to listen on a public address without its secrets, unless you say a gateway
handles sign-in (
auth.mode = "none"). - Every response carries a strict Content Security Policy (no inline code, no framing), and note bodies are sanitized.
- Secrets live in the environment, never in
micelio.toml. Report problems privately, see SECURITY.md.
Roadmap
- v0.1 (this release): the landing, the graphs, the reading pages, sign-in, public notes, the Appearance page, English and Spanish, Docker image and PyPI package.
- v0.2: a static export of the public notes, to share them without a server (GitHub Pages, Cloudflare Pages, Netlify or a zip).
- v0.3: an Obsidian plugin with the landing and the graph inside Obsidian.
The full specification is in docs/spec; what changed in
each version is in the CHANGELOG.
Contributing
See CONTRIBUTING.md. Security reports: SECURITY.md.
License
MIT © 2026 Marcos Pietri
Metadata
Release files for micelio 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| micelio-0.1.1.tar.gz | 528.7 kB | With provenance | Details for micelio-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| micelio-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for micelio-0.1.1-py3-none-any.whl |
Total release size: 1.0 MB
Release files / micelio-0.1.1.tar.gz
| Download URL | micelio-0.1.1.tar.gz |
|---|---|
| Size | 528.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
636302f4d77af246bf0bf5a5f97f82d49088590936d8216521cc88afce651675
|
|
BLAKE2b-256 checksum How to use checksums |
3184f9304c9188ace17cdc1de95d47a4b147f91ed6a5964ff19735652a257b92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / micelio-0.1.1-py3-none-any.whl
| Download URL | micelio-0.1.1-py3-none-any.whl |
|---|---|
| Size | 518.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ce1269dccec2bb284493549486992bd480847924c0bd60b9ced6125fb3d71e8
|
|
BLAKE2b-256 checksum How to use checksums |
9ff9e25e3e157e47e466154b0b13fdfd6d83a76ae2be12348a228023afa5f9b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for micelio 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for micelio-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.