{"id":18318739,"url":"https://github.com/xdevplatform/plot-bookmarks","last_synced_at":"2025-04-09T13:55:08.407Z","repository":{"id":80527663,"uuid":"508890245","full_name":"xdevplatform/Plot-Bookmarks","owner":"xdevplatform","description":"Plot your Bookmarks with Python","archived":false,"fork":false,"pushed_at":"2022-06-30T01:27:17.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-02-15T07:51:42.847Z","etag":null,"topics":[],"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/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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-06-30T01:04:13.000Z","updated_at":"2024-04-12T05:40:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf4d3660-7a0c-460b-9159-e1faa5182df1","html_url":"https://github.com/xdevplatform/Plot-Bookmarks","commit_stats":null,"previous_names":["xdevplatform/plot-bookmarks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FPlot-Bookmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FPlot-Bookmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FPlot-Bookmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FPlot-Bookmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdevplatform","download_url":"https://codeload.github.com/xdevplatform/Plot-Bookmarks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054217,"owners_count":21039951,"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":[],"created_at":"2024-11-05T18:11:25.436Z","updated_at":"2025-04-09T13:55:08.390Z","avatar_url":"https://github.com/xdevplatform.png","language":"Python","readme":"# Plot Bookmarks\nA [demo application](https://plot-bookmarks.onrender.com/) built in Python using [Flask](https://flask.palletsprojects.com/en/2.1.x/). This sample code will build an application that will authorize your account using the [OAuth 2.0 Authorization Code Flow with PKCE](https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code) and plot up to your last 100 Bookmarked Tweets.\n\n## Getting set up with the Twitter API\n\nIf you don’t already have access to the Twitter API, [you can sign up for a developer account.](http://t.co/signup) Once you have an approved developer account, you must create a Project in the [developer portal](https://developer.twitter.com/en/portal/dashboard). Each Project contains an [App](https://developer.twitter.com/en/docs/basics/apps/overview) with which you can generate the credentials required to use the Twitter API. You will also need to have OAuth 2.0 turned on in your App’s settings. In our [platform overview](https://developer.twitter.com/en/docs/platform-overview), you can learn more about getting started with the Twitter API.\n\n## Setting up your environment\n\nTo install all the packages in your requirements.txt file, in your terminal, run the following command:\n\n```bash\npip install -r requirements.txt\n```\n\nYou will also set up environment variables to ensure you aren’t passing in your secrets directory. To achieve this, you will define environment variables. In your terminal, run the following command:\n\n```bash\nexport CLIENT_ID=’xxxxxxxxxxxxxx’\nexport CLIENT_SECRET=’xxxxxxxxxxx’\nexport REDIRECT_URI=’http://127.0.0.1:5000/oauth/callback’\n```\n\nYou can obtain your own OAuth 2.0 Client ID and Secret inside of your App’s settings in the developer portal. Use your Client ID and Secret instead of the `xxxxxxxxxxxxxx`.\n\n### Run the file\nTo run the file, run the following line in your terminal:\n\n```bash\npython app.py\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fplot-bookmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdevplatform%2Fplot-bookmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fplot-bookmarks/lists"}