qmetrics.net

Foam

VS Code personal knowledge graph in Markdown

Foam screenshot

Foam extends VS Code into a personal knowledge system using wikilinks, backlinks, templates, and optional publishing from plain Git-backed Markdown.

Overview

Foam is a personal knowledge management system built on Visual Studio Code and plain Markdown files stored in Git. You organize research notes, long-form writing, and interconnected ideas without a proprietary database.

Wikilinks connect notes with autocompletion, peek navigation, section links, embeds, and aliases. A graph view visualizes relationships, while panels list backlinks, tags, orphans, and placeholder links. Renaming files or sections updates references to reduce broken links.

Daily notes, templates, syntax highlighting for links, and random-note navigation support common note-taking workflows. Optional tooling generates standard Markdown references so notes remain readable on GitHub and GitHub Pages outside Foam.

A separate foam-cli package searches and inspects the graph from the terminal and can expose the knowledge base through MCP for agents such as Claude Code and Cursor. Foam is MIT-licensed and described as local-first, with files you can sync via Git or common cloud sync tools.

Key features

  • Wikilinks with autocompletion
  • Graph visualization in the editor
  • Backlinks and connections panel
  • Daily notes and note templates
  • Tag explorer with hierarchical tags
  • Sync links when renaming notes
  • Note embeds and section links
  • foam-cli and MCP graph queries

Use cases

  • Zettelkasten-style research notes
  • Long-form writing with cross-links
  • Developer second-brain in VS Code
  • Sharing static notes via GitHub Pages

Tags

Similar software

AFFiNE

Local-first workspace merging docs, whiteboards and databases with optional AI

AFFiNE is an open-source, local-first workspace that combines docs, an edgeless whiteboard canvas and databases, with optional AI assistance. It can be self-hosted with Docker and supports real-time collaboration.

★ 79.3k⟳ yesterdayMIT
Open Source Alternative to:CodaMiro+1

Outline

Collaborative team knowledge base for internal docs and wikis

Outline is a fast, markdown-friendly wiki for teams to store specs, support answers, meeting notes, and onboarding material. A hosted offering exists, and you can also run your own instance.

★ 41.4k⟳ todaySource-available

Alexandrie

Self-hosted offline-first Markdown knowledge workspace

Alexandrie is a self-hosted knowledge base with an extended Markdown editor, team workspaces, offline PWA use, and OIDC single sign-on.

★ 4k⟳ 19 days agoMIT
Open Source Alternative to:ConfluenceNotion+1

SAG Wiki

Local knowledge base with agent-ready search

SAG Wiki indexes local documents for fast search and cited Q&A without LLM calls during indexing. Desktop apps, a CLI, and optional browser UI share one service.

★ 1.7k⟳ 4 days agoMIT

SwarmVault

Local-first LLM wiki and knowledge graph toolchain

SwarmVault ingests docs, code, and URLs into a markdown wiki, searchable graph, and agent context packs. It runs offline with optional local or cloud models.

★ 740⟳ 5 months agoMIT
Open Source Alternative to:Obsidian

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

★ 91.3k⟳ 5 days agoMIT