This page you are looking at right now is, probably, one of the projects I am most proud of. I spent a lot of time on the design of this site.1
Please check the Glossary.
The Workflow at a Glance ↑
In the following diagram, you can see the entire workflow of how I take Notes so they end up here, in this blog.
I write on the Nomad, and the Supernote Private Cloud syncs my Notes to the RPi.
Forgejo keeps the repository there, and the sb tools turn its content into the
site. GitHub Pages publishes it, behind Cloudflare.
Taking and Saving Notes ↑
I got the Supernote Nomad (opens in a new tab) a year ago. I love it. It feels amazing writing on it.2 I use it to handwrite, to sketch, to draw diagrams and more. It is the first element that saves my thoughts when I have it near me.
The Private Cloud
Supernote provides you with a private cloud where your Notes are synced to. They own that cloud, but there is an unofficial way (opens in a new tab) to deploy your own Supernote Private Cloud (SPC) on your machine, so you can save your Notes on your hardware.3
That is what I did. I deployed the SPC on my RPi through Docker Compose, the same way as any other app on it.
name: rpi-pro
services:
supernote:
restart: unless-stopped
environment:
SUPERNOTE_BASE_URL: https://supernote.<tailnet>.ts.net
SUPERNOTE_MCP_ENABLED: "false"
image: rpi/supernote:0.24.0
logging:
driver: local
mem_limit: "536870912"
networks:
default: null
volumes:
- type: bind
source: /srv/rpi/pro/supernote
target: /data
bind: {}
build:
context: https://github.com/allenporter/supernote.git#0.24.0
dockerfile: Dockerfile
ports:
- mode: ingress
host_ip: 127.0.0.1
target: 8080
published: "9060"
protocol: tcp
networks:
default:
name: rpi-pro_default
x-service:
logging:
driver: local
restart: unless-stopped
You have to set up your user name and password after deploying the SPC using the following command:
docker compose exec -it supernote supernote admin \
--url http://localhost:8080 user add you@example.com
# `--url` is the HTTP endpoint where supernote is available
Setting Up the Nomad
Once I had the SPC deployed on my RPi, the next step was to install Tailscale on my Nomad. You can check the steps on how to do it in this note.
The last step was to log out from my account in the Nomad, enable Private Cloud from the Settings, and log in again with the user name and password that I configured before.
That’s it. I was able to sync my Nomad Notes into the SPC deployed on my RPi, which I can access through Tailscale on my laptop or my phone to see the Notes that are saved there.
The Repository ↑
I have Forgejo deployed on my RPi. I created a repository called sb4 with
the following directory structure:
sb
├── inbox # Nomad Notes converted to MD (Transcripts)
├── zett # Notes I write from the Transcripts (Zetts)
├── books # Notes about the books I read
├── convert # Tool: Notes to Transcripts
└── blog # Tool: Zetts to HTML Pages
The inbox saves Transcripts, which are Notes converted to Markdown files,
thanks to the convert tool. This tool does the following things:
- Access the SPC.
- Get the files that live in a specific folder created in the Nomad.
- Make “screenshots” of the special
.noteNotes, so they become PNG images. - An AI model transcribes the content of the Notes into Markdown, plus images of diagrams that I draw on them.
This way I have my Notes available in the same place where I write the final Zetts, that is my computer. And I have the images of the diagrams that I draw in the Nomad as well.
From the Transcripts, I write the Zetts, which become the Pages that appear in
this blog. The blog tool does the transformation from Zetts into Pages. It
takes the Zetts, parses the Markdown5, and renders the final Pages for the
website. Then I either preview them just for me or publish them in a GitHub
repository with GitHub Pages enabled.
The Website ↑
Now the website itself. I designed it to feel as much as possible like real paper, as if you were reading a physical piece of paper. That’s why there are no fancy things, crazy animations, neon or vibrant colors. I just let myself make a dark theme.
I use Vim motions everywhere, and this website couldn’t be less. That’s why there are shortcuts to navigate the entire website using just your keyboard.
It is the web application I have worked on the most, and I want it to be beautiful and easy to use.
Glossary ↑
- Note: A handwritten note on my Supernote Nomad.
- Transcript: A Nomad Note converted, through the
converttool, to a Markdown file saved in theinboxdirectory of my Forgejo repository. - Page: A Zett converted, through the
blogtool, into HTML. A web page. - Zett: A note I write myself, based on Transcripts, that ends up being the content of this blog.