{"id":14343245,"url":"https://github.com/xdevplatform/bookmarks-to-notion","last_synced_at":"2025-10-05T01:58:14.854Z","repository":{"id":54601264,"uuid":"485248774","full_name":"xdevplatform/bookmarks-to-notion","owner":"xdevplatform","description":"A sample app that exports your bookmarks to a Notion page","archived":false,"fork":false,"pushed_at":"2022-04-25T09:22:38.000Z","size":14,"stargazers_count":95,"open_issues_count":3,"forks_count":23,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-08-27T16:26:11.917Z","etag":null,"topics":["bookmarks","bookmarks-api","flask","notion-api","python","twitter-api-v2","twitter-bookmarks"],"latest_commit_sha":null,"homepage":"https://twitter-bookmarks-to-notion.glitch.me/","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/xdevplatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-25T06:28:24.000Z","updated_at":"2024-08-23T10:59:17.000Z","dependencies_parsed_at":"2022-08-13T21:00:45.992Z","dependency_job_id":null,"html_url":"https://github.com/xdevplatform/bookmarks-to-notion","commit_stats":null,"previous_names":["xdevplatform/bookmarks-to-notion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2Fbookmarks-to-notion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2Fbookmarks-to-notion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2Fbookmarks-to-notion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2Fbookmarks-to-notion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdevplatform","download_url":"https://codeload.github.com/xdevplatform/bookmarks-to-notion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223221257,"owners_count":17108514,"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":["bookmarks","bookmarks-api","flask","notion-api","python","twitter-api-v2","twitter-bookmarks"],"created_at":"2024-08-26T16:01:07.950Z","updated_at":"2025-10-05T01:58:09.835Z","avatar_url":"https://github.com/xdevplatform.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Twitter Bookmarks To Notion\n\nA simple Python + Flask web app that demonstrates how to export Twitter Bookmarks to a Notion page.\n\nYou can try a deployed version of the app [running on Glitch](https://twitter-bookmarks-to-notion.glitch.me/).\n\n[Sign up for the Twitter API](https://t.co/signup)\n\n## Setup\n\n1. Obtain consumer key and secret from the [Twitter Developer portal](https://developer.twitter.com). The app should be configured to enable Sign in with Twitter.\n2. Obtain OAuth client ID and OAuth client secret from the [Notion Developer portal](https://developers.notion.com/). See `twitter_auth.py` for more details, but you can either:\n   1. add these values to a `config.cfg` file (local deployment); or\n   2. set environment variables `TWITTER_CLIENT_ID` and `TWITTER_CLIENT_SECRET` (cloud deployment)\n   3. set environment variables `NOTION_CLIENT_ID` and `NOTION_CLIENT_SECRET` (cloud deployment)\n3. Setup a [pipenv](https://pipenv.readthedocs.io/en/latest/) environment, and install dependencies:\n   1. `pipenv install`\n   2. `pipenv shell`\n4. Start the app:\n   1. `python3 ./twitter_auth.py`; or\n   2. `gunicorn twitter_auth:app`\n\n\u003e Note: the app must have an Internet-accessible URL - do not attempt to connect via localhost, as this will not work. You can run a tunnel e.g. `ngrok` for local use, or deploy to a cloud platform such as Heroku (a `Procfile` is included).\n\nOpen a browser window on your demo app's external URL. Don't click the buttons yet!\n\nFinally, add the appropriate redirect URLs in developer portal for both Notion and Twitter. Also add these, as environment variables `TWITTER_REDIRECT_URI` and `NOTION_REDIRECT_URI` in your config.cfg (local deployment) or as environment variables (cloud deployment).\n\n## Reference\n\n[Twitter Developer Portal](https://developer.twitter.com/)  \n[Notion API Docs](https://developers.notion.com/)\n\n### Credits\n\nOriginal version of Twitter OAuth login by Jacob Petrie  \nhttps://twitter.com/jaakkosf  \nhttps://github.com/jaakko-sf/twauth-web  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fbookmarks-to-notion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdevplatform%2Fbookmarks-to-notion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fbookmarks-to-notion/lists"}