OpenSourcePicks

Open source alternatives to popular software, with live GitHub data

GitHub stats refreshed every day

Open source note-taking and knowledge base tools

Open source apps for personal notes, linked knowledge bases and team wikis. Some keep everything on your devices, some sync through a server you run, and several have hosted versions from their developers.

13 apps, sorted by GitHub stars as of 21 October 2026. Guide updated .

  1. AppFlowy

    Notion-style documents and databases in native desktop and mobile apps, with local AI support

    77.6k starsAGPL-3.0Last commit Self-hosted

  2. AFFiNE

    Local-first workspace that combines documents, an infinite whiteboard and databases in one app

    73.7k starsMITLast commit Self-hosted

  3. Memos

    Self-hosted timeline of short Markdown notes, light enough to run as one Go binary with SQLite

    64k starsMITLast commit Self-hosted

  4. Joplin

    Offline-first Markdown notes and to-dos with end-to-end encrypted sync to storage you choose

    56.8k starsAGPL-3.0-or-laterLast commit Self-hosted

  5. SiYuan

    Local-first block-based knowledge base with block references, SQL queries, flashcards and PDF annotation

    46.9k starsAGPL-3.0Last commit Self-hosted

  6. Logseq

    Local-first outliner with block references, backlinks and daily journals on Markdown or Org files

    45.3k starsAGPL-3.0Last commit Self-hosted

  7. Trilium Notes

    Hierarchical notes for large personal knowledge bases, with many note types and self-hosted sync

    38.4k starsAGPL-3.0Last commit Self-hosted

  8. Wiki.js

    Node.js wiki with Markdown and visual editors, many login options and Git sync of your pages

    29.1k starsAGPL-3.0Last commit Self-hosted

  9. Docmost

    Self-hosted team wiki with real-time editing, spaces, comments, page history and built-in diagrams

    22k starsAGPL-3.0Last commit Self-hosted

  10. BookStack

    Simple self-hosted wiki that organizes documentation into shelves, books, chapters and pages

    19.1k starsMITLast commit Self-hosted

  11. Notesnook

    End-to-end encrypted notes for every platform, with importers from Evernote, Google Keep and Obsidian

    14.8k starsGPL-3.0Last commit Self-hosted

  12. Standard Notes

    End-to-end encrypted notes with a published encryption spec and a sync server you can run yourself

    6.7k starsAGPL-3.0Last commit Self-hosted

  13. XWiki

    Java enterprise wiki with real-time editing, fine-grained rights, sub-wikis and structured applications

    1.3k starsLGPL-2.1Last commit Self-hosted

Compare at a glance

AppLicenseSelf-hosting needsHosted version
AFFiNEMITPostgreSQL, RedisYes
AppFlowyAGPL-3.0Nothing beyond the appYes
BookStackMITMySQL or MariaDBNo
DocmostAGPL-3.0PostgreSQL, RedisNo
JoplinAGPL-3.0-or-laterNothing beyond the appYes
LogseqAGPL-3.0Nothing beyond the appYes
MemosMITSQLiteNo
NotesnookGPL-3.0MongoDB, MinIOYes
SiYuanAGPL-3.0Nothing beyond the appYes
Standard NotesAGPL-3.0MySQL, RedisYes
Trilium NotesAGPL-3.0SQLiteNo
Wiki.jsAGPL-3.0PostgreSQLNo
XWikiLGPL-2.1Java, Tomcat or Jetty, PostgreSQL or MySQL/MariaDBYes

License exceptions, such as proprietary directories or paid plugins, are explained on each app page.

Find an alternative to

Choosing notes & knowledge base software

Three kinds of tool

This category covers tools that look similar on the surface but solve different problems.

  • Personal note apps keep one person’s notes in sync across devices, usually organized in notebooks or tags. Joplin, Notesnook and Standard Notes are the closest open source replacements for Evernote, and all three can encrypt notes end to end. Memos is narrower: a self-hosted timeline of short notes.
  • Personal knowledge bases are about connecting ideas rather than filing them. Logseq is an outliner with block references and daily journals, SiYuan adds SQL queries and flashcards to a block editor, and Trilium Notes builds a deep note tree with many note types and scripting. They are local-first and made for a single user, which puts them in the same space as Obsidian.
  • Team workspaces and wikis run on a server and are built around shared spaces and permissions. AFFiNE and AppFlowy follow Notion’s mix of documents and databases. Docmost, BookStack, Wiki.js and XWiki are documentation wikis in the Confluence tradition, from a simple book structure to a full intranet platform.

Pick the kind first. A personal knowledge base will frustrate a team that needs permissions, and a company wiki is heavy for private journaling.

How your notes are stored

The storage format decides how easy it is to leave later. The file-based version of Logseq writes plain Markdown or Org-mode files that any editor can open. Trilium, SiYuan and Logseq’s new DB version keep notes in a database and offer Markdown as an export. Team wikis store pages in PostgreSQL or MySQL; Wiki.js can also sync pages to a Git repository, and BookStack exports books as Markdown, HTML, PDF or a portable ZIP.

Encryption and sync

Notesnook and Standard Notes encrypt everything on the device by default, so their servers only hold data they cannot read. Joplin offers optional end-to-end encryption that you switch on yourself. Trilium encrypts individual notes you mark as protected, not the whole database. Team wikis are not end-to-end encrypted: the server must read pages to search and render them, so protection comes from who runs the server and its access controls.

Sync is where the licensing and business models show. Joplin can sync through Nextcloud, WebDAV or S3 storage you already have. Trilium uses its own self-hosted server at no cost. SiYuan’s sync, even to your own S3 or WebDAV storage, is a paid feature, and Logseq’s official sync is a paid service.

Read the license and the paid tiers

Several projects are open core or have closed parts, and the details change what “self-hosted” means:

  1. AppFlowy: the client is AGPL-3.0, but the server needed for sync and collaboration is now closed source, and the free self-hosted tier allows one user.
  2. AFFiNE: MIT for most code, but self-hosted workspaces are capped at 10 seats without a paid license.
  3. Joplin: the apps are AGPL, but Joplin Server is licensed for non-commercial use only.
  4. Docmost: SSO, MFA, page-level permissions and the Confluence importer are in the paid Business edition.
  5. Standard Notes: premium editors and nested tags need a paid plan, even on your own server.

By contrast, BookStack, Wiki.js, Trilium and Memos have no paid edition, and BookStack and Wiki.js include LDAP and SAML sign-in.

Self-hosting effort

Memos and Trilium are the lightest: one process and a SQLite file. BookStack needs PHP and MySQL, which many hosts already run. Wiki.js, Docmost and AFFiNE use Node.js with PostgreSQL, and Docmost and AFFiNE add Redis. XWiki is the heaviest, with Java, a servlet container, a database and Solr. Notesnook’s sync server runs several services with MongoDB and MinIO and is not yet officially supported.

Leaving Confluence, Evernote or Notion

Atlassian ended support for its Server products on 15 February 2024, and Confluence Data Center reaches end of life on 28 March 2029, when instances become read-only. Organizations that need to keep wiki data on their own servers are the main audience for alternatives to Confluence; XWiki SAS offers a Confluence migration toolkit. For Evernote, Joplin, Notesnook, Standard Notes and Trilium import ENEX export files. AppFlowy and Docmost import Notion exports.

Source-available projects not listed

Two well-known tools are not listed because their licenses are not open source. Outline, a popular team wiki, uses the Business Source License 1.1, which bars offering it as a commercial document service until the code converts to Apache-2.0 on a later date. Anytype uses the Any Source Available License, which limits use to non-commercial purposes or commercial use in allowed networks. Obsidian itself is proprietary.