Skip to content

Desktop & tools

Defter

An Obsidian-style local notebook for ideas, lessons, code and drawings — linked Markdown notes, a graph view and built-in sketching.

Category
Desktop & tools
Status
Complete
Period
Oct 2026

Overview

Notes stay on the computer as plain .md files, so the same folder opens in Obsidian too. [[Links]], backlinks and a graph connect them; Excalidraw drawings, Mermaid diagrams and KaTeX maths live right inside the notes, and everything exports to PDF or a single HTML file.

What I built

  • CodeMirror 6 editor with live formatting, code highlighting in 100+ languages, side-by-side preview and safe renames that update every link.
  • Made for lessons: KaTeX maths, tables, callouts, task lists, daily notes, templates and Turkish-aware fuzzy search across every note.
  • Hardened Electron: context isolation, sandbox, strict CSP, a custom defter:// protocol and file access limited to the chosen vault.
  • Fully offline with atomic saves; heavy libraries load on demand, so it idles at about 0.2% CPU.