Back to services

flatnotes

Database-less note-taking web app that utilises a flat folder of markdown files for storage.

View alternatives to flatnotes
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: This entry is based on the project description on the official GitHub repository page. The README body could not be fully retrieved, so some of the details below come from prior knowledge of the project. Please refer to the latest official repository documentation for accuracy.

Introduction

flatnotes is a self-hosted, database-free web-based note-taking app. It stores your notes as Markdown files in a single flat folder, with no database and no complicated directory hierarchy. Notes are plain .md files that you can open directly in any other editor and manage with Git, a sync drive, or ordinary backup tools, so you are never locked into a particular platform.

Design Philosophy

  • Simple: A clean interface with nothing extra. Open it and start writing.
  • Portable data: Notes are plain-text Markdown files, not stored in a proprietary format or a database.
  • Flat structure: No nested folders. Use tags and search to organize and find your content.

Key Features

  • Web-based Markdown editing and preview, with both a source mode and a WYSIWYG editing mode
  • Full-text search to quickly find any note
  • Add tags to a note by writing #tag in the body, then filter by tag
  • Wiki-style links between notes using [[note name]]
  • Image and attachment uploads
  • Light and dark themes, plus support for mobile browsers
  • Multiple authentication options, such as no authentication, read-only, username and password, and optional two-factor authentication (TOTP)
  • An API for integration with other tools

Target Users and Use Cases

  • Individual users and homelab enthusiasts who want to keep their notes on their own server or NAS
  • Users who want a lightweight Markdown note-taking tool rather than a feature-heavy knowledge base
  • Users who want their note files to be read and written directly by other tools (such as Obsidian, VS Code, and Git)
  • Simple knowledge recording within a household or small team

Deployment

The project provides an official Docker image, and deployment with Docker or Docker Compose is recommended. The example below is based on prior knowledge of the project; please refer to the official README for details such as environment variable names.

services:
  flatnotes:
    image: dullage/flatnotes:latest
    environment:
      PUID: 1000
      PGID: 1000
      FLATNOTES_AUTH_TYPE: "password"
      FLATNOTES_USERNAME: "user"
      FLATNOTES_PASSWORD: "changeMe!"
      FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
    volumes:
      - "./data:/data"
    ports:
      - "8080:8080"
    restart: unless-stopped

After it starts, open http://server-address:8080 in your browser to use it. Notes are saved in the mounted data directory.

Technical Requirements

  • A Linux server, NAS, or personal computer that can run Docker
  • Very low resource usage, making it suitable for low-spec devices
  • A persistent storage directory for the Markdown note files

Notable Characteristics

  • No database: Backing up and migrating only requires copying the notes folder
  • No folder hierarchy: Users accustomed to nested directories will need to switch to organizing with tags
  • Better suited to personal use; it is not a multi-user collaboration platform