Skip to content

timmyw/pocket2rm

Repository files navigation

Pocket2RM

Authorisation process

  • Load the access token (app - loadToken)
  • If that fails then we need to re-auth (app - authWithPocket)
    1. Load the consumer code (p2rm)
    2. Get a request token (p2rm)
    3. Redirect user to oauth url (app)
      1. Get the URL
      2. Start a local listener
      3. Give the user the URL
      4. Listen for a response
    4. Get callback from pocket (app)
    5. Convert request token into access token (p2rm)

Authorising via Pocket website

curl "https://getpocket.com/auth/authorize?redirect_uri=localhost&request_token=REQUEST_TOKEN"

code:81fd2224-564a-7989-f0af-bcd6f5

reMarkable API

Started working from here: https://github.com/splitbrain/ReMarkableAPI/wiki/Authentication

Dependencies

go get github.com/jacobstr/confer
go get github.com/mattn/go-sqlite3
go get github.com/jung-kurt/gofpdf

Links

https://github.com/reHackable/awesome-reMarkable#apis

About

Sync Pocket to Remarkable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published