{"id":16482037,"url":"https://github.com/bod/notion-to-bookmarks","last_synced_at":"2026-05-11T13:10:31.564Z","repository":{"id":43062711,"uuid":"245849938","full_name":"BoD/notion-to-bookmarks","owner":"BoD","description":"Webapp to generate a JSON bookmarks from a Notion page","archived":false,"fork":false,"pushed_at":"2022-12-04T23:03:13.000Z","size":249,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T21:44:55.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BoD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-08T16:37:52.000Z","updated_at":"2022-01-29T15:05:30.000Z","dependencies_parsed_at":"2023-01-22T23:31:29.087Z","dependency_job_id":null,"html_url":"https://github.com/BoD/notion-to-bookmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BoD/notion-to-bookmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoD%2Fnotion-to-bookmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoD%2Fnotion-to-bookmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoD%2Fnotion-to-bookmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoD%2Fnotion-to-bookmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BoD","download_url":"https://codeload.github.com/BoD/notion-to-bookmarks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BoD%2Fnotion-to-bookmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32896048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T13:09:26.374Z","updated_at":"2026-05-11T13:10:31.544Z","avatar_url":"https://github.com/BoD.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion to bookmarks\n\nThis little webapp will generate a JSON bookmarks document from a Notion page.\n\nThis is intended to be used with [bbt](https://github.com/BoD/bbt).\n\n## How to use\n\n### TL;DR\nhttps://\u003cspan\u003e\u003c/span\u003eserver/`NOTION_COOKIE`/`PAGE_ID`\n\n### In more words\n\nYou need to craft a URL of this form:\n\nhttps://\u003cspan\u003e\u003c/span\u003eserver/`NOTION_COOKIE`/`PAGE_ID`\n\nwhere:\n\n- `NOTION_COOKIE` is your personal Notion cookie value used to\nidentify you and allow accessing the Notion API.\n- `PAGE_ID` is the id of the page that you want to turn into bookmarks\n\n#### How to get your Notion cookie?\n\n1. Go to https://www.notion.so with Chrome and make sure you're logged in\n2. Find the value of the cookie named `token_v2`, by following the\n   instructions [here](https://developer.chrome.com/docs/devtools/storage/cookies/).\n\n#### How to get your page id?\nThe page id is the **last part** of the URL of the Notion page you're interested in.\n\nSo for instance, given this Notion page:\n\nhttps://www.notion.so/mycompany/Very-interesting-page-99b251d56eaf46bd91df184f11607f8c\n\nThe page id is `99b251d56eaf46bd91df184f11607f8c`.\n\nAs you can see it is a shorter string of digits and letters.\n\n#### And of course\n\nObviously, do not pick a page that has too many sub pages (for instance,\nthe root folder of your whole Notion instance), the resulting bookmark\ndocument would be too deep!\n\n## Docker instructions\n\n### Building and pushing the image to Docker Hub\n\n```\ndocker image rm bodlulu/notion-to-bookmarks:latest\nDOCKER_USERNAME=\u003cyour docker hub login\u003e DOCKER_PASSWORD=\u003cyour docker hub password\u003e ./gradlew dockerPushImage\n```\n\n### Running the image\n\n```\ndocker pull bodlulu/notion-to-bookmarks\ndocker run -p \u003cPORT TO LISTEN TO\u003e:8080 bodlulu/notion-to-bookmarks\n```\n\n## Licence\n\nCopyright (C) 2020-present Benoit 'BoD' Lubek (BoD@JRAF.org)\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public\nLicense as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied\nwarranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbod%2Fnotion-to-bookmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbod%2Fnotion-to-bookmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbod%2Fnotion-to-bookmarks/lists"}