Skip to content

LightningDev1/go-privnote

Repository files navigation

go-privnote

go-privnote is a Go client library for creating and reading notes on Privnote. It bypasses Cloudflare bot detection by using a TLS client for TLS fingerprinting.

Reference Linter Build status

client := privnote.NewClient()

noteLink, err := client.CreateNote(privnote.CreateNoteData{
    Data: "Hello, World!",
})

noteContent, err := client.ReadNoteFromLink("https://privnote.com/note-id#password")

noteContent, err := client.ReadNoteFromID("note-id", "password")

Installation

go get github.com/LightningDev1/go-privnote

Usage

See example/main.go for a complete example program.