Package net.voidnote

Class VoidNote

java.lang.Object
net.voidnote.VoidNote

public final class VoidNote extends Object
Official Java SDK for VoidNote.

Zero-knowledge self-destructing notes and live encrypted streams. The key lives in the link. We never see it.

Requires Java 17+. The only external dependency is Gson for JSON.


 // Read a note
 ReadResult note = VoidNote.read("https://voidnote.net/note/<token>");
 System.out.println(note.content());

 // Create a note (destroyed after 1 read)
 CreateResult created = VoidNote.create(
     "launch codes: 4-8-15-16-23-42",
     CreateOptions.of("vn_...").withMaxViews(1));
 System.out.println(created.url());

 // Live encrypted stream
 StreamHandle stream = VoidNote.createStream(StreamOptions.of("vn_..."));
 System.out.println("share: " + stream.url);
 stream.write("Deployment starting...");
 stream.write("All 47 tests passed");
 stream.close();