{"id":18586815,"url":"https://github.com/pythonity/twitter-banner-switcher","last_synced_at":"2025-07-23T03:05:23.524Z","repository":{"id":62585749,"uuid":"62294613","full_name":"Pythonity/twitter-banner-switcher","owner":"Pythonity","description":"Python script that sets your Twitter profile banner to a random image from a specified folder or a list of paths.","archived":false,"fork":false,"pushed_at":"2017-06-15T11:19:02.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T00:28:55.402Z","etag":null,"topics":["cli","command-line-tool","twitter"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pythonity.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}},"created_at":"2016-06-30T08:40:11.000Z","updated_at":"2022-12-03T05:00:08.000Z","dependencies_parsed_at":"2022-11-03T21:46:28.409Z","dependency_job_id":null,"html_url":"https://github.com/Pythonity/twitter-banner-switcher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Pythonity/twitter-banner-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pythonity%2Ftwitter-banner-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pythonity%2Ftwitter-banner-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pythonity%2Ftwitter-banner-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pythonity%2Ftwitter-banner-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pythonity","download_url":"https://codeload.github.com/Pythonity/twitter-banner-switcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pythonity%2Ftwitter-banner-switcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266609008,"owners_count":23955555,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cli","command-line-tool","twitter"],"created_at":"2024-11-07T00:38:40.143Z","updated_at":"2025-07-23T03:05:23.504Z","avatar_url":"https://github.com/Pythonity.png","language":"Python","readme":"# twitter-banner-switcher\n[![PyPI Version](https://img.shields.io/pypi/v/twitter-banner-switcher.svg)][tbs pypi]\n[![Python Versions](https://img.shields.io/pypi/pyversions/twitter-banner-switcher.svg)][tbs pypi]\n[![License](https://img.shields.io/github/license/Pythonity/twitter-banner-switcher.svg)][license]\n\nPython (3) script that sets your Twitter profile banner to a random\nimage from a specified folder or a list of paths.\n\n## Installation\nWith `PyPI` (recommended):\n```shell\n$ pip3 install twitter-banner-switcher\n```\n\nWith `git clone`:\n```shell\n$ git clone https://github.com/Pythonity/twitter-banner-switcher\n$ pip3 install -r twitter-banner-switcher/requirements.txt\n$ cd twitter-banner-switcher/bin\n```\n\n## Usage\n```\n$ twitter-banner-switcher -h\nUsage: twitter-banner-switcher [OPTIONS]\n\n  Set Twitter profile banner to a random image from a specified folder or a\n  list of paths\n\nOptions:\n  -c, --config-file FILENAME  Path to YAML config file (default: ~/.twitter-\n                              banner-switcher.yml).\n  -h, --help                  Show this message and exit.\n\n```\n\n## Examples\nNot much to show here - you can provide path to config file:\n```shell\n$ twitter-banner-switcher -c twitter-banner-switcher.yaml\n```\nor save it at `~/.twitter-banner-switcher.yaml` and just run the damn\nthing:\n```shell\n$ twitter-banner-switcher\n```\n\n### Example config file\n```yaml\n$ cat twitter-banner-switcher.yaml\nconsumer_key: \"Twitter consumer key\"\nconsumer_secret: \"Twitter consumer secret\"\naccess_token: \"Twitter access token\"\naccess_token_secret: \"Twitter access token secret\"\n\nbanner_images:\n    - \"/home/bender/Photos/Awesome Twitter Banners/\"\n    - \"/home/bender/Downloaded/planet_express.png\"\n```\n\nNote: `banner_images` can be a path or a list of paths (to directories\ncontaining images or directly to image files). Recognized formats are `gif`,\n`jpg`, `jpeg` and `png`.\n\n## Contributions\nPackage source code is available at [GitHub][tbs github].\n\nFeel free to use, ask, fork, star, report bugs, fix them, suggest \nenhancements and point out any mistakes.\n\n## Authors\nDeveloped and maintained by [Pythonity][pythonity], a group of Python enthusiasts who love open source, have a neat [blog][pythonity blog] and are available [for hire][pythonity].\n\nWritten by [Paweł Adamczak][pawelad].\n\n[tbs github]: https://github.com/Pythonity/twitter-banner-switcher\n[tbs pypi]: https://pypi.python.org/pypi/twitter-banner-switcher\n[license]: https://github.com/Pythonity/twitter-banner-switcher/blob/master/LICENSE\n[pythonity]: https://pythonity.com/\n[pythonity blog]: http://blog.pythonity.com/\n[pawelad]: https://github.com/pawelad\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonity%2Ftwitter-banner-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonity%2Ftwitter-banner-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonity%2Ftwitter-banner-switcher/lists"}