PickPocket
A python script to transfer all your Pocket links to a database in Notion.
Install / Use
/learn @paperboi/PickPocketREADME
Table of Contents
- Table of Contents
- About The Project
- Getting Started
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgements
About The Project
A python script to copy all your Pocket saves to a database in Notion. Current iteration is based off the HTML export option provided by the folks at Pocket.
Intended for
- Those who are looking to transfer their reading lists from Pocket to Notion.
- Those who want to keep track and analyze what they read.
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
- A Pocket account to retreive your saved content from.
- A Notion account to store your links.
- Python 3 on your system to run the code.
Setup & Installation
- Clone this repository.
git clone https://github.com/paperboi/PickPocket.git - Navigate to the directory and install the pre-requisite packages using
pip install -r requirements.txt
Usage
- Export your Pocket saves from here.
- Duplicate this database template to your Notion workspace.
- Since this code requires access of non-public pages, an authentication token from your Notion page is required. This token is stored in the
token_v2cookie. This can be found in the Storage tab of your browser's developer tools.- For Chrome: Open Developer Tools (Menu > Other tools > Developer Tools), navigate to Application tab and go to Storage\Cookies to find the token.
- Store the path to your HTML file, the address to your database and the
token_v2value asPATH_POCKET_FILE,NOTION_TABLE_IDandNOTION_TOKENrespectively in a.envfile in the same directory you have cloned this repository to. - To execute the script, navigate to the directory and run
python pocket2notion.py
Roadmap
See the open issues for a list of proposed features (and known issues).
<!-- CONTRIBUTING -->Contributing
<!-- Contributions are what make the open source community such an amazing place to be learn, inspire, and create. -->Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
<!-- CONTACT -->Contact
Jeffrey Jacob - @DullBlackWall - jeffreysamjacob@gmail.com
Project Link: https://github.com/paperboi/PickPocket
<!-- ACKNOWLEDGEMENTS -->Acknowledgements
- K.P. Govind for clearing my doubts every step of the way.
- Jamie Alexandre for the powerful notion-py API.
Related Skills
apple-reminders
350.1kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
claude-opus-4-5-migration
109.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
notion
350.1kNotion API for creating and managing pages, databases, and blocks.
model-usage
350.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
