/pocket-to-notion-sync

CLI tool to keep my saved Pocket articles neatly organized in a Notion database, making it easier to access and track my reads.

Primary LanguageGo


Pocket Logo     Notion Logo

Pocket to Notion Sync Tool

A minimal CLI tool to synchronize all your saved articles in Pocket with your Notion database.

This tool allows you to easily import articles you've saved on Pocket into your Notion workspace. It helps organize and manage your saved content with full control over templates and rich metadata, such as article titles, URLs, and tags. No more manual copying and pasting—let the tool do the work for you!

For more detailed background and specific goals of the project, feel free to check out my article

screenshot-sync

Key Features

  • Sync Pocket articles to a Notion database.

  • Saves article metadata (title, URL, tags).

  • Simple CLI tool.

How To Use

Prerequisites:

  • Go installed.
  • Pocket API and Notion API tokens.
git clone https://github.com/BahaBoualii/pocket-to-notion-sync.git 
cd pocket-to-notion-sync 
go mod tidy 
go build -o pocket-to-notion-sync
  • Create a new date property in your Notion database called Added.

Note
Set environment variables:

 export POCKET_CONSUMER_KEY=your_pocket_api_token
 export NOTION_KEY=your_notion_api_token

Or create a .env file with the above variables.

Then just run this command:
./pocket-to-notion-sync

Or run it with an optional notion-db flag:
./pocket-to-notion-sync --notion-db=your_notion_database_id

Roadmap

  • Add automatic sync scheduling.
  • Filter Pocket articles by tags/date.
  • Enhance logging and error handling.
  • Build more customization options for the Notion page properties.

Contributions

Feel free to contribute by opening issues or submitting PRs.