Gerben Put Nederlands

← Back to the overview

Kennisbank

A wiki that shows how each project fits together

A shared knowledge base for me, Joris and Elco: pages per project in markdown, connected with [[links]], with versions, search and a graph of how everything relates. Every project automatically gets a code graph from the knowledge graph of all my code, and a page of diagrams: architecture, processes, sequences, UML and the data model. The screens below show sample data.

  • Node.js
  • PostgreSQL
  • SVG
  • Canvas
  • Resend
  • Docker
Kennisbank: Screenshot of the live site
Scroll: this is the real site

The story

  1. 01

    The idea

    With more and more projects I wanted one place that explains how everything works, for myself and for whoever builds along. So a wiki per project, where pages link to each other and you can see how it all fits together.

  2. 02

    The design

    Calm paper, forest green and a reading typeface for the content, so long pages read comfortably, in light and dark. Diagrams are plain text in a page and appear as a clean drawing.

  3. 03

    Under the hood

    A Node server without a framework, with PostgreSQL. A custom renderer draws the diagrams with a layered layout to SVG, without a library, so the strict security stays intact. The code graph comes from the same knowledge graph I use to search my code.

In detail

Pages
Markdown with headings, lists, checkboxes, tables and code, in a tree of subpages per project.
Links
Type [[ for a list of pages; every page shows what links to it.
Versions
Every save is kept and can be restored; saving at the same time gives a choice instead of lost work.
Diagrams
Flowcharts, sequences, UML classes, data models, states and mind maps from plain text.
Code graph
Per project the files and how they call each other, with the main functions of each file.
Search
Jump to a page with Ctrl+K, or search all text with highlighted matches.
Next project Planbord A kanban board per project, with deadlines you won't forget