Burn-after-reading encrypted notes, for macOS, Linux and Windows. A Compose Multiplatform desktop
app that is not a rewrite: it compiles the exact crypto engine, relay client and Room schema
the BurnPony phone apps ship, vendored verbatim under vendor/.
A note is encrypted on your machine. The key never leaves it — it travels in the URL fragment, which browsers do not send to servers. The relay stores ciphertext it cannot read, hands it over the agreed number of times, and then deletes it. Add a passphrase and even the link is not enough.
Feature-complete for 1.0.0 and unreleased. The four screens are built, the CLI is complete, and the
interface speaks nine languages. What each phase decided is in
docs/phases/; RELEASING.md is the release process.
Requires JDK 17+. Nothing else — SQLite is bundled.
./gradlew test # the phone's crypto suite, unchanged, plus the desktop tests
./gradlew run --args=selftest # verify the engine on this JVM
./gradlew run # open the windowecho "the secret" | burnpony create --views 1 --expires 1d
burnpony create --file note.txt --receipt --passphrase-env NOTE_PW
burnpony list
burnpony status <id>
burnpony burn <id>burnpony is not on your PATH unless you put it there. None of the installers add it, because
jpackage has no PATH integration on any platform — it installs an application, not a command. The
commands above are written the way you would want to type them; what you actually invoke depends on
how you installed:
| Installed from | The command is |
|---|---|
the portable .tar.gz |
BurnPony/bin/BurnPony — the intended CLI channel, and the only one where a PATH entry is a single export away |
the macOS .dmg |
/Applications/BurnPony.app/Contents/MacOS/BurnPony |
the Linux .deb |
/opt/burnpony/bin/BurnPony |
the .AppImage |
./BurnPony-x86_64.AppImage — it forwards every argument and exit code |
the Windows .msi |
burnpony-cli in the install directory, not BurnPony.exe |
That last row is not a naming quirk. A Windows GUI-subsystem process has no stdout at all, so
BurnPony.exe list would run, do the work, and discard every line of output. burnpony-cli.exe is a
second, console-subsystem launcher that exists for exactly this reason, and CI asserts it prints.
To type burnpony for real, alias it — that way there is one place to fix rather than a shell
function per machine:
alias burnpony='/Applications/BurnPony.app/Contents/MacOS/BurnPony' # macOS
export PATH="$PATH:/path/to/BurnPony/bin" # tarball, Linux or macOSburnpony help has the full option set. Three things worth knowing up front:
- The note text is never written to this machine's disk. Only the note id, its management token and the settings needed to show status are stored. Lose the machine and you lose the ability to burn a note early; it still expires on its own.
--passphrase <value>is refused on purpose — it would sit inpsoutput and in your shell history. Use--passphrase-env,--passphrase-fdor--passphrase-prompt.- Do not run the GUI and a CLI verb against the same store at once. Both open the same SQLite
file and the second writer gets a busy lock. The error you would see is
database is locked.
Exit codes: 0 success, 1 usage error, 2 not found or ambiguous, 3 operation failed,
4 completed but unverified — the relay accepted the operation but this machine could not confirm
the local record.
./gradlew packageDmg # macOS (notarizeDmg with the signing env set)
./gradlew packageDeb # Linux
./gradlew packageMsi # Windows, needs WiX 3.xjpackage never cross-compiles: each installer must be built on the OS it targets.
vendor/ verbatim BurnPonyAndroid sources — never hand-edited (see vendor/README.md)
src/main/…/desktop/ the desktop-specific layer
src/main/…/app/data/ the one behavioural twin (settings over java.util.prefs)
tools/sync-vendor.sh refreshes vendor/ from the Android working tree, all trees in one pass
docs/phases/ what each phase decided, and what it deliberately did not do
Apache 2.0. See LICENSE and NOTICE.