Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.13 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.13 KB

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.