repositorypackage
0.1.1
Repository: https://github.com/lightningdev1/go-privnote.git
Documentation: pkg.go.dev
# README
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.
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.