{"id":20178145,"url":"https://github.com/vsnthdev/twitter-banner","last_synced_at":"2025-05-07T01:35:15.617Z","repository":{"id":51567272,"uuid":"441659481","full_name":"vsnthdev/twitter-banner","owner":"vsnthdev","description":"Automatically 🤖 updates Twitter banner ⌚ every few minutes.","archived":true,"fork":false,"pushed_at":"2022-08-06T16:18:04.000Z","size":2189,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T23:52:44.669Z","etag":null,"topics":["actions","artwork","github-actions","puppeteer","social-media","twitter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsnthdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-25T10:52:48.000Z","updated_at":"2023-06-17T04:33:19.000Z","dependencies_parsed_at":"2022-08-12T23:50:14.204Z","dependency_job_id":null,"html_url":"https://github.com/vsnthdev/twitter-banner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Ftwitter-banner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Ftwitter-banner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Ftwitter-banner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Ftwitter-banner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsnthdev","download_url":"https://codeload.github.com/vsnthdev/twitter-banner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252796455,"owners_count":21805566,"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":["actions","artwork","github-actions","puppeteer","social-media","twitter"],"created_at":"2024-11-14T02:19:34.489Z","updated_at":"2025-05-07T01:35:15.241Z","avatar_url":"https://github.com/vsnthdev.png","language":"JavaScript","readme":"\u003ch5 align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/vsnthdev/twitter-banner/main/media/twitter-banner.png\" alt=\"twitter-banner\"\u003e\n\u003c/h5\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003eAutomatically 🤖 updates Twitter banner ⌚ every few minutes.\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/vsnthdev/twitter-banner/actions/workflows/ci.yml\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/workflow/status/vsnthdev/twitter-banner/Banner%20Update?label=status\u0026style=flat-square\" alt=\"CI/CD Status\"\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" rel=\"noopener\" href=\"http://vas.cx/twitter\"\u003e\n        \u003cimg src=\"https://img.shields.io/twitter/follow/vsnthdev?color=1da1f2\u0026label=followers\u0026style=flat-square\" alt=\"Twitter followers\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/vsnthdev/twitter-banner/issues\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/vsnthdev/twitter-banner.svg?style=flat-square\" alt=\"Project issues\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/vsnthdev/twitter-banner/commits/main\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/last-commit/vsnthdev/twitter-banner.svg?style=flat-square\"\n            alt=\"Project commits\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nUnlike my previous approach where I used Redis + Digital Ocean + Docker to update the Twitter profile banner, this approach does not need to be deployed separately \u0026 uses Github Actions instead. Read how it works for more information.\n\n\u003e Tweet me \u003ca target=\"_blank\" rel=\"noopener\" href=\"https://vas.cx/twitter\"\u003e@vsnthdev\u003c/a\u003e, I would love to know your opinion/experience on this project 😍\n\n## ✨ Usage Guide\n\nYou can easily have this project change your Twitter profile's cover image by following the below steps:\n\n1. Fork [this repository](https://github.com/vsnthdev/twitter-banner/fork)\n2. Set the [below environment variables](#%EF%B8%8F-environment-variables) as repository secrets\n3. \u003ca target=\"_blank\" rel=\"noopener\" href=\"https://user-images.githubusercontent.com/24322511/147423094-146aeeae-eeff-4ec3-8001-44d9adcad7bf.png\"\u003eEnable workflows\u003c/a\u003e on the forked repository\n4. Update the banner image at [`data/background.png`](https://github.com/vsnthdev/twitter-banner/blob/main/data/background.png)\n5. Optionally update the stylesheet at [`data/styles.css`](https://github.com/vsnthdev/twitter-banner/blob/main/data/styles.css)\n6. Select the \"Banner Update\" workflow \u0026 click on \"Run workflow\"\n\n## 💡 How It Works\n\n## 🏕️ Environment Variables\n\n| Variable | Description | Default Value |\n| -------- | ----------- | ------------- |\n| `BACKGROUND_IMAGE` | Background image name | `background.png` |\n| `STYLESHEET_NAME` | The CSS filename | `styles.css` |\n| `NO_FOLLOWERS` | Number of followers to get images of | `4` |\n| `TWITTER_USERNAME` | Your Twitter username |  |\n| `TWITTER_API_KEY` | Twitter API key from developer dashboard |  |\n| `TWITTER_API_SECRET` | Twitter API secret from developer dashboard |  |\n| `TWITTER_ACCESS_TOKEN` | Twitter API access token with read/write permissions |  |\n| `TWITTER_TOKEN_SECRET` | Twitter API token secret with read/write permissions |  |\n| `IMAGES_CONTAINER_ID` | ID of the div where images will be attached | `images` |\n\n## 📋 License\n\n\u003e The **twitter-banner** project is released under the [GPL v2](https://github.com/vsnthdev/twitter-banner/blob/main/LICENSE.md). \u003cbr\u003e Developed \u0026amp; maintained By Vasanth Srivatsa. Copyright 2022 © Vasanth Developer.\n\n\u003chr\u003e\n\n\u003e \u003ca href=\"https://vsnth.dev\" target=\"_blank\" rel=\"noopener\"\u003evsnth.dev\u003c/a\u003e \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e YouTube \u003ca href=\"https://vas.cx/videos\" target=\"_blank\" rel=\"noopener\"\u003e@vasanthdeveloper\u003c/a\u003e \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter \u003ca href=\"https://vas.cx/twitter\" target=\"_blank\" rel=\"noopener\"\u003e@vsnthdev\u003c/a\u003e \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Discord \u003ca href=\"https://vas.cx/discord\" target=\"_blank\" rel=\"noopener\"\u003eVasanth Developer\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsnthdev%2Ftwitter-banner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsnthdev%2Ftwitter-banner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsnthdev%2Ftwitter-banner/lists"}