All projects
~/topthammanun
++
02

Personal

project 3 of 7

Personal site

topthammanun.dev v1

Sep 2023 – Sep 2024 · 1y 1m · Author

First personal site: a Notion-style block editor on Tiptap with slash commands, i18n and PWA support.

Source on GitHub

Highlights

  • –Custom Tiptap extensions for root blocks, slash commands and drag handles.
  • –Documents save on a debounce while typing and open again in a reading view.
  • –Its indigo, gold and violet palette is the one this site still uses.
  • 50+

    commits

UI
Next.js 14NextUITiptap
State
Redux ToolkitTanStack Query
  • TypeScript
  • Next.js
  • React
  • HeroUI
  • Tailwind CSS
  • Tiptap
  • Redux Toolkit
  • TanStack Query
++

A block editor in the browser

The first version of this site was a place to try a Notion-style editor. Every paragraph is a block of its own, built as a custom Tiptap node, so it can be dragged to a new position or get a new block under it.

Typing a slash opens a command menu for headings, lists, quotes, code and images. The editor saves on a debounce while typing, and the same document opens without the editing controls in a reading view.

The screenshots come from the public source running locally. The documents in them were typed for the capture and the document API was answered on the same machine.

  • The editor with a few block types.
  • Typing a slash opens the command menu.
  • The same document in the reading view.
  • The document list.
  • The landing page.
++
PreviousWorkflow tooling for coding agentsNextGodot 4 game prototypes

build 57acf9d · 2026-11-23 · next 16.4.6 · 0 cookies · source

topthammanun