PockeTel is a Telegram bot that allows you to save links in the application Pocket. We can say that he is a small client for this service.
To work with the Pocket API, a self-written SDK is used - golang-pocket-sdk.
Bolt DB is used as storage.
To implement user authorization, an HTTP server is launched together with the bot on port 80, to which a redirect from Pocket occurs when the user is successfully authorized.
When the server accepts the request, it generates an Access Token via the Pocket API for the user and stores it in storage.
- Go 1.15
- BoltDB
- Docker (for deployment)
make run