Forrest Note 🎙️→📝
A pocket voice-note device that records your voice, transcribes it, and uses AI to turn rambling speech into clean, coherent notes — synced straight to a GitHub repo and ready for Obsidian.
Hold a button, talk, let go. A few seconds later a tidy Markdown note — with an AI-written title, a one-line summary, and a cleaned-up body — appears in your notes vault. The raw transcript is always preserved, too.
✨ What it does
- One-button voice capture on a tiny e-ink device — no screen-tapping, no phone.
- On-device transcription via OpenAI Whisper.
- AI note cleanup (the headline upgrade): a language model rewrites your messy, filler-filled speech into coherent, succinct prose, generates a title, a one-sentence summary, and topic links — automatically, every time you sync.
- Verbatim safety net: the original raw transcript is tucked into a foldable callout, so nothing you said is ever lost.
- Syncs to GitHub as clean Markdown with YAML frontmatter and tags — drop it into Obsidian and your notes organise themselves.
- No app, no account lock-in, no cloud middleman — it talks directly to OpenAI and to your GitHub repo.
🙏 Credits
Forrest Note is built on the original Pala Note firmware — full credit to its original author for the hardware bring-up, the e-ink/audio/codec drivers, the recording engine, and the device UI. This project stands entirely on that foundation.
Original project: Pala Note — https://ko-fi.com/s/674a1a82e0
Huge thanks to the Pala Note author for the original device and firmware that made this possible.
What the original Pala Note already did
Credit where it's due — the original firmware already provided: voice recording, Whisper transcription, a local note-transfer web server, on-device tags, sleep/power management, and all the low-level e-ink, audio (ES8311/ES7210) and codec drivers — plus the physical device and 3D-printable case design.
What this fork adds (the "Forrest Note" upgrade)
Everything below is new or changed on top of that foundation:
| Upgrade |
Type |
What changed |
| 🤖 AI note cleanup |
➕ New |
A gpt-4o-mini pass rewrites each transcript into coherent, succinct prose — removing "um", false starts, and repetition while preserving every fact, name, and number. |
| 🧠 AI metadata |
➕ New |
Auto-generated note title, one-line summary callout, and topic backlinks ([[wikilinks]]) plus auto-built tag index ("MOC") pages. |
| 🗂️ Original transcript preserved |
➕ New |
The verbatim transcript is kept in a foldable > [!quote]- Original transcript callout under the clean version. |
| ☁️ GitHub → Obsidian sync |
➕ New |
Notes are pushed to your own GitHub repo as Markdown via the GitHub Contents API, ready for Obsidian. |
| 📶 Runtime provisioning |
➕ New |
A ForrestNote-Setup Wi-Fi hotspot + captive portal stores Wi-Fi and keys in on-device NVS — replacing the original's hardcoded secrets.h. |
| 🔒 Real TLS validation |
🔁 Changed |
HTTPS now validates against the Mozilla CA bundle — replacing the original's insecure setInsecure(). |
| 🔄 OTA updates |
➕ New |
Firmware can be updated over the air from the portal (/ota), backed by a dual-OTA custom partition table (partitions.csv). |
| 🐛 Chunked-HTTP fix |
➕ New |
The HTTPS client now decodes Transfer-Encoding: chunked responses — which is what makes the OpenAI chat (enrichment) calls actually work. Without it, enrichment silently fails. |
| 📊 Snappier level meter |
🔁 Changed |
The live recording VU meter refresh rate was increased (~2 Hz → ~10 Hz), plus async/coalesced e-paper refresh for responsive UI. |
| 🔐 Zero secrets in code |
🔁 Changed |
Wi-Fi and API keys live on-device, not in the repo. |
| 🏷️ Title-named files |
🔁 Changed |
Each note is saved under its one-word topic (Soho.md) instead of note_001.md, so Obsidian shows a real title. Names are checked against the vault and auto-suffixed (Soho 2.md) on collision, so same-named notes never merge or re-link. |
| ✍️ One-word topic titles |
🔁 Changed |
The AI title is a single topic word (a clean filename + display name); the full context still lives in the summary and body. |
| 📅 Calendar events |
➕ New |
When a note describes a dated plan ("going to Soho House tomorrow", "dentist next Friday at 3"), the AI extracts it into event_* frontmatter (resolving "tomorrow" against the note's date). A small bridge can turn that into a real calendar event — see Calendar sync. |
| 🧹 Two-way delete |
➕ New |
Deleting a note on the device also removes its file from the GitHub vault and updates the tag index — via an offline-safe queue that drains on the next sync. |
| 🗑️ Erase All |
➕ New |
Settings → Erase All wipes every note from the SD card, with a choice of Device only (keep the vault) or Device + GitHub (also clear the vault). |
🧰 Hardware
This firmware is built for the Waveshare ESP32-S3 1.54″ e-Paper AIoT Development Board — a single board that integrates the MCU, display, audio, storage, sensors, and battery charging:
🛒 Reference board: Waveshare ESP32-S3 1.54inch e-Paper AIoT Dev Board (the B/W, non-"G" variant). Buy this exact board, print the original Pala Note case, flash this firmware — done.
- MCU: ESP32-S3 (Xtensa LX7 dual-core @ 240 MHz) — N8R8 stacked package: 8 MB flash + 8 MB OCTAL (OPI) PSRAM
- Display: 1.54″ 200×200 e-paper (black/white)
- Audio: onboard low-power audio codec + microphone & speaker (ES8311 / ES7210)
- Storage: microSD / TF card (SD_MMC, 1-bit)
- Extras: RTC chip, SHTC3 temp/humidity sensor, LiPo battery + onboard charge management
- Buttons: Record (GPIO0 / BOOT) and Power (GPIO18)
- Wireless: 2.4 GHz Wi-Fi + BLE 5
Note: there's also a four-colour "1.54G" variant — this firmware targets the black/white board.
🧊 3D-printable case
The printable enclosure (front & back housing, button, and an assembled STEP reference) is the original creator's hardware design and is not redistributed here. Download the case files from the original Pala Note project: https://ko-fi.com/s/674a1a82e0.
📋 What you'll need before you start
- The device (assembled Pala Note hardware) and a USB-C cable.
- A computer (macOS/Linux/Windows).
- An OpenAI API key — from https://platform.openai.com/api-keys. (Used for Whisper transcription + note cleanup. Billing must be enabled.)
- A GitHub repo to store your notes (can be private) and a fine-grained Personal Access Token with Contents: Read and write on that repo — from https://github.com/settings/tokens.
- Your 2.4 GHz Wi-Fi name + password (the ESP32-S3 Wi-Fi is 2.4 GHz only).
You do not put any of these into the code. You enter them on the device's setup hotspot (see Setup, below).
🚀 Installation
There are two paths: the easy way (let Claude Code do it for you) and the manual way. Both end the same place: firmware flashed onto your device.
Option A — The easy way (with Claude Code)
If you have Claude Code installed, cd into this repo and paste these prompts one at a time. Each one is self-contained.
1. Install the toolchain & build the firmware:
Set up my environment to build this Forrest Note ESP32-S3 firmware. Install arduino-cli if missing,
install the esp32 board core version 3.2.0, and install the "Adafruit GFX Library" and "ArduinoJson"
libraries. Then compile the sketch in ./forrest_note for an ESP32-S3 N8R8 board using these options:
PSRAM=opi, PartitionScheme=custom, CDCOnBoot=cdc, FlashSize=8M. Report any errors.
2. Flash it to the device:
Flash the Forrest Note firmware in ./forrest_note to my connected ESP32-S3 device. The board only
stays on its USB port if it's in the ROM bootloader, so walk me through this: tell me to HOLD the
record button (BOOT/GPIO0), plug in USB while holding, and keep holding until the write finishes.
Detect the serial port, then run the upload with the board options PSRAM=opi, PartitionScheme=custom,
CDCOnBoot=cdc, FlashSize=8M. Confirm when the hash is verified.
3. (Optional) Set up an Obsidian vault that auto-pulls your notes:
I want my Forrest Note notes (which the device pushes to my GitHub repo OWNER/REPO under the
VoiceNotes/ folder) to show up in Obsidian. Clone that repo into a local folder, open it as an
Obsidian vault, and configure the Obsidian Git community plugin to auto-pull every minute and on
launch so new notes appear automatically. Don't push my Obsidian config back to the repo.
Replace OWNER/REPO with your actual repo. After flashing, continue to Setup below to provision the device.
Option B — Manual setup
1. Install arduino-cli (or use the Arduino IDE — board/lib names are identical).
# macOS (Homebrew)
brew install arduino-cli
# or: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
2. Install the ESP32 board core (version 3.2.0) and libraries:
arduino-cli config init
arduino-cli config add board_manager.additional_urls \
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-cli core update-index
arduino-cli core install esp32:esp32@3.2.0
arduino-cli lib install "Adafruit GFX Library" "ArduinoJson"
3. Compile (run from the repo root):
arduino-cli compile \
-b "esp32:esp32:esp32s3:PSRAM=opi,PartitionScheme=custom,CDCOnBoot=cdc,FlashSize=8M" \
./forrest_note
You should see something like Sketch uses ~1.43 MB (8%) of program storage space.
4. Flash it. ⚠️ Flashing quirk: this board powers its USB port down ~1 second after plug-in unless it's parked in the ROM bootloader. So:
- Press and hold the record button (BOOT / GPIO0).
- While holding, plug in the USB-C cable.
- Keep holding through the entire write.
Find the port and upload:
# find the port (macOS shows /dev/cu.usbmodemXXXX ; Linux /dev/ttyACM0 ; Windows COMx)
arduino-cli board list
arduino-cli compile --upload -p /dev/cu.usbmodemXXXX \
-b "esp32:esp32:esp32s3:PSRAM=opi,PartitionScheme=custom,CDCOnBoot=cdc,FlashSize=8M" \
./forrest_note
When you see Hash of data verified. and Hard resetting..., release the button. Done.
Arduino IDE alternative: open forrest_note/forrest_note.ino, select board ESP32S3 Dev Module, then set: PSRAM → OPI PSRAM, Partition Scheme → custom (uses the included partitions.csv), USB CDC On Boot → Enabled, Flash Size → 8MB. Hold BOOT, plug in, click Upload.
🔧 Setup — provision the device over its hotspot
The firmware ships with no Wi-Fi or keys baked in. On first boot (or any time it has no Wi-Fi credentials) it hosts a setup hotspot.
- Power on the device. With no Wi-Fi stored, it broadcasts an open Wi-Fi network called
ForrestNote-Setup.
- Connect your phone or laptop to
ForrestNote-Setup.
- Open a browser to
http://192.168.4.1 (most phones pop up the captive portal automatically). You'll land on the forrest setup page.
- Fill in the form:
| Field |
What to enter |
| Wi-Fi network (SSID) |
Your 2.4 GHz Wi-Fi name |
| Wi-Fi password |
Your Wi-Fi password |
| OpenAI API key (sk-...) |
Your OpenAI key |
| GitHub repo (owner/name) |
e.g. yourname/Notes |
| Branch |
main (default) |
| Vault folder |
VoiceNotes (default) |
| GitHub token (github_pat_...) |
Your fine-grained PAT with Contents R/W |
| ☑ Enable GitHub sync |
tick this on |
| ☑ AI titles + topic links |
tick this on (enables the AI cleanup) |
- Tap Save. The device stores everything in on-device NVS and reboots onto your Wi-Fi.
Tip: you can re-open this page any time the device is on your network at http://<device-ip>/provision