How cracky22/inky-note works
inky-note is an offline-first ESP32-S3 voice-notes device: users record audio, tag and browse notes on the device, then optionally sync recordings for transcription or use a local web portal to manage and export them. The graph includes the documented firmware capabilities and the separate local transcription backend. The main sketch and several implementation files are absent from the tree or not excerpted, so some documented relationships use the README as evidence; internal backend wiring is left unasserted where it is not shown.
Main entry points: network.cpp Wi-Fi, sync, transfer portal · buttons.cpp Buttons and state flow · ui.cpp Screens and rendering · record.cpp Record and playback
Components 17
Device experience
- Buttons and state flow
firmware/inky_note/src/app/buttons.cpp - Screens and rendering
firmware/inky_note/src/app/ui.cpp - Record and playback
firmware/inky_note/src/app/record.cpp - UI sound feedback
firmware/inky_note/sounds.h
Notes and state
- Notes, tags, metadata
firmware/inky_note/src/app/notes.cpp - SD-card note files
- Device configuration
firmware/inky_note/src/app/deviceconfig.cpp
Network services
- Wi-Fi, sync, transfer portal
firmware/inky_note/src/app/network.cpp - Local transcription service
backend/server.py - Whisper transcription
backend/transcribe.py
Hardware support
- RTC and NTP time
firmware/inky_note/src/app/rtc.cpp - Battery monitoring
firmware/inky_note/src/app/battery.cpp - Activity and deep sleep
firmware/inky_note/src/app/sleep.cpp - Board power control
firmware/inky_note/src/power/board_power_bsp.cpp - E-paper display driver
firmware/inky_note/src/display/epaper_driver_bsp.cpp - Audio codec support
firmware/inky_note/src/audio/audio_bsp.c
Other components
- Device user
Connections 19
- Device user → Buttons and state flow: presses buttons
- Buttons and state flow → Record and playback: starts recording
- Buttons and state flow → Screens and rendering: navigates screens
- Record and playback → SD-card note files: saves WAV
- Buttons and state flow → Notes, tags, metadata: confirms tags
- Notes, tags, metadata → SD-card note files: stores note data
- Screens and rendering → E-paper display driver: renders UI
- Record and playback → Audio codec support: uses codec
- Buttons and state flow → UI sound feedback: plays feedback
- Wi-Fi, sync, transfer portal → Notes, tags, metadata: reads note data
firmware/inky_note/src/app/network.cpp - Wi-Fi, sync, transfer portal → RTC and NTP time: uses time sync
firmware/inky_note/src/app/network.cpp - Wi-Fi, sync, transfer portal → Screens and rendering: updates portal screens
firmware/inky_note/src/app/network.cpp - Wi-Fi, sync, transfer portal → Local transcription service: uploads for transcription
- Local transcription service → Whisper transcription: dispatches transcription
- Wi-Fi, sync, transfer portal → Device configuration: uses saved settings
firmware/inky_note/src/app/network.cpp - RTC and NTP time → Device user: provides device time
- Battery monitoring → Screens and rendering: shows battery status
- Activity and deep sleep → Device user: wakes on button
- Board power control → E-paper display driver: powers display rail