{"id":13478771,"url":"https://github.com/dogsheep/pocket-to-sqlite","last_synced_at":"2025-10-29T18:08:49.666Z","repository":{"id":38865540,"uuid":"213286752","full_name":"dogsheep/pocket-to-sqlite","owner":"dogsheep","description":"Create a SQLite database containing data from your Pocket account","archived":false,"fork":false,"pushed_at":"2023-07-10T19:24:26.000Z","size":25,"stargazers_count":102,"open_issues_count":5,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-12-10T02:10:39.377Z","etag":null,"topics":["datasette","datasette-io","datasette-tool","dogsheep","pocket","pocket-api","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dogsheep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-10-07T03:24:14.000Z","updated_at":"2024-09-11T16:01:03.000Z","dependencies_parsed_at":"2024-01-14T08:49:19.681Z","dependency_job_id":"cb256fe0-119c-4a0c-8819-f1f89f91a4c1","html_url":"https://github.com/dogsheep/pocket-to-sqlite","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"452c4925a48819489c0598a0d1875c0e6e9ee962"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fpocket-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fpocket-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fpocket-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dogsheep%2Fpocket-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dogsheep","download_url":"https://codeload.github.com/dogsheep/pocket-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230438185,"owners_count":18225870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datasette","datasette-io","datasette-tool","dogsheep","pocket","pocket-api","sqlite"],"created_at":"2024-07-31T16:02:02.623Z","updated_at":"2025-10-29T18:08:49.570Z","avatar_url":"https://github.com/dogsheep.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pocket-to-sqlite\n\n[![PyPI](https://img.shields.io/pypi/v/pocket-to-sqlite.svg)](https://pypi.org/project/pocket-to-sqlite/)\n[![Changelog](https://img.shields.io/github/v/release/dogsheep/pocket-to-sqlite?include_prereleases\u0026label=changelog)](https://github.com/dogsheep/pocket-to-sqlite/releases)\n[![Tests](https://github.com/dogsheep/pocket-to-sqlite/workflows/Test/badge.svg)](https://github.com/dogsheep/pocket-to-sqlite/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/dogsheep/pocket-to-sqlite/blob/main/LICENSE)\n\nCreate a SQLite database containing data from your [Pocket](https://getpocket.com/) account.\n\n## How to install\n```bash\npip install pocket-to-sqlite\n```\n## Usage\n\nYou will need to first obtain a valid OAuth token for your Pocket account. You can do this by running the `auth` command and following the prompts:\n```bash\npocket-to-sqlite auth\n```\nWhich looks like this:\n```\nVisit this page and sign in with your Pocket account:\n\nhttps://getpocket.com/auth/author...\n\nOnce you have signed in there, hit \u003center\u003e to continue\nAuthentication tokens written to auth.json\n```\n\nNow you can fetch all of your items from Pocket like this:\n\n```bash\npocket-to-sqlite fetch pocket.db\n```\n\nThe first time you run this command it will fetch all of your items, and display a progress bar while it does it.\n\nOn subsequent runs it will only fetch new items.\n\nYou can force it to fetch everything from the beginning again using `--all`. Use `--silent` to disable the progress bar.\n\n## Using with Datasette\n\nThe SQLite database produced by this tool is designed to be browsed using [Datasette](https://datasette.readthedocs.io/). Use the [datasette-render-timestamps](https://github.com/simonw/datasette-render-timestamps) plugin to improve the display of the timestamp values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogsheep%2Fpocket-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdogsheep%2Fpocket-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdogsheep%2Fpocket-to-sqlite/lists"}