Getting started
Scratchpad is a single binary. You can run a release binary or build from source.
Run a release
Download the binary for your platform from Releases, then:
Build from source
Requires Go (see go.mod) and Node 22+.
git clone https://github.com/phoenix911/scratchpad
cd scratchpad
make all # builds the SPA, embeds it, produces ./scratchpad
./scratchpad
Open http://localhost:8080.
First run
- With no
SCRATCHPAD_PASSWORDset, the app runs open — fine for localhost. - Create items with ⌘K (or Ctrl-K): snippet, drawing, mindmap, doc, board.
- Everything is written to
./data/items/…as plain files, indexed in./scratchpad.db(a rebuildable SQLite cache).
Configure
Copy the example env file and edit:
Set at least SCRATCHPAD_PASSWORD if the app will be reachable beyond localhost.
See configuration.md for every option, and
git-sync.md to back your data up to a private git repo.