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.
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")
go get github.com/LightningDev1/go-privnote
See example/main.go for a complete example program.