Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsJul 6, 2026·3 min de lectura

Flatnotes — Self-Hosted Database-Free Markdown Notes

Flatnotes is a lightweight, self-hosted note-taking web app that stores notes as plain Markdown files in a flat folder — no database required, with full-text search and TOTP authentication.

Listo para agents

Staging seguro para este activo

Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.

Stage only · 29/100Política: staging
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Stage only
Confianza
Confianza: Established
Entrada
Flatnotes Overview
Comando de staging seguro
npx -y tokrepo@latest install 3e115cb7-78d1-11f1-9bc6-00163e2b0d79 --target codex

Primero deja archivos en staging; la activación requiere revisar el README y el plan staged.

Introduction

Flatnotes is a note-taking web application that stores everything as plain Markdown files on disk. There is no database to configure, back up, or migrate. You get a clean web editor, full-text search, and tagging — all backed by files you can read, edit, and version-control with standard tools.

What Flatnotes Does

  • Provides a web-based Markdown editor with live preview
  • Stores all notes as .md files in a single flat directory
  • Supports full-text search across all notes
  • Organizes notes with a tag-based system
  • Offers password and TOTP-based authentication

Architecture Overview

Flatnotes is built with a Python (Flask) backend and a Vue.js frontend. Notes are read from and written to a mounted directory as plain Markdown files. Search is implemented using Whoosh, a pure-Python full-text search library that indexes the note directory. The entire application runs as a single container with no external dependencies.

Self-Hosting & Configuration

  • Deploy with a single Docker command
  • Mount a directory for note storage — that is the entire data layer
  • Configure authentication via environment variables
  • Supports password auth, TOTP two-factor, or no auth for local use
  • Back up notes by copying the mounted directory

Key Features

  • Zero-database architecture — notes are plain files
  • Notes are portable and readable outside the application
  • Full-text search with instant results
  • Tag-based organization without rigid folder hierarchies
  • Minimal resource footprint suitable for low-powered servers

Comparison with Similar Tools

  • Trilium Notes — rich hierarchical notes with a database; Flatnotes is simpler and database-free
  • Joplin — sync-focused with E2E encryption; Flatnotes is server-only with file-based storage
  • Obsidian — desktop-first with a plugin ecosystem; Flatnotes is web-first and self-hosted
  • HedgeDoc — real-time collaborative editing; Flatnotes is single-user focused
  • Memos — micro-note and timeline format; Flatnotes uses full Markdown documents

FAQ

Q: Can I edit notes outside of the web interface? A: Yes. Notes are plain Markdown files. Edit them with any text editor or sync them with Git.

Q: Does it support multiple users? A: It supports a single authenticated user. Multi-user is not a design goal.

Q: How does search work without a database? A: Flatnotes uses Whoosh, a Python-based search library that maintains a local index of the note directory.

Q: Can I migrate from another note app? A: If your existing notes are in Markdown format, copy them into the data directory and they will appear immediately.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados