{"id":21820567,"url":"https://github.com/sue445/tweet_pixels","last_synced_at":"2025-04-14T02:53:47.788Z","repository":{"id":34325779,"uuid":"153802779","full_name":"sue445/tweet_pixels","owner":"sue445","description":"Tweet pixels","archived":false,"fork":false,"pushed_at":"2025-04-06T22:43:42.000Z","size":475,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T23:26:46.134Z","etag":null,"topics":["pixela"],"latest_commit_sha":null,"homepage":"https://pixe.la/v1/users/sue445/graphs/tweets.html","language":"Ruby","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/sue445.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-19T15:16:59.000Z","updated_at":"2025-04-06T22:43:44.000Z","dependencies_parsed_at":"2023-11-12T21:22:36.768Z","dependency_job_id":"e82ec898-7d3f-490c-a367-418159042b55","html_url":"https://github.com/sue445/tweet_pixels","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/sue445%2Ftweet_pixels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Ftweet_pixels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Ftweet_pixels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sue445%2Ftweet_pixels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sue445","download_url":"https://codeload.github.com/sue445/tweet_pixels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813829,"owners_count":21165631,"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":["pixela"],"created_at":"2024-11-27T16:37:44.379Z","updated_at":"2025-04-14T02:53:47.766Z","avatar_url":"https://github.com/sue445.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tweet pixels\n[![Tweet pixels](https://pixe.la/v1/users/sue445/graphs/tweets)](https://pixe.la/v1/users/sue445/graphs/tweets.html)\n\n[![Tweet pixels](https://pixe.la/v1/users/sue445/graphs/tweets?mode=badge)](https://pixe.la/v1/users/sue445/graphs/tweets.html)\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/sue445/tweet_pixels/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/sue445/tweet_pixels/tree/master)\n\n## Features\n* Regularly update the graph of tweet count. (daily and hourly)\n\n## Requirements\n* [Pixela](https://pixe.la/)\n* [Twilog](https://twilog.togetter.com/)\n\n## Usage\n### 1. Register Pixela and create graph\ne.g)\n\n```bash\ncp .env.example .env\nvi .env\nbundle install --path=vendor/bundle\n\n./bin/console\n```\n\n```ruby\n# register\n@client.create_user(agree_terms_of_service: true, not_minor: true)\n\n# create graph\n@graph.create(name: \"Daily tweets\", unit: \"Tweets\", type: \"int\", color: \"sora\")\n```\n\n### 2. Register Environment Variables to CircleCI\n* `TWITTER_ID`\n* `PIXELA_USERNAME`\n* `PIXELA_TOKEN`\n* `PIXELA_GRAPH_ID`\n\n![CircleCI](img/circleci.png)\n\nFor third party orbs, set 'Allow Uncertified Orbs' option in organization security settings.\nSee https://circleci.com/docs/2.0/orbs-faq/#using-3rd-party-orbs.\n\n### 3. Register a GitHub cache url (optional)\nRegister a GitHub cache url (e.g. `https://camo.githubusercontent.com/xxxxxxxxxx`) after paste a badge to GitHub\n\ne.g)\n\n```ruby\n@graph.update(purge_cache_urls: \"https://camo.githubusercontent.com/xxxxxxxxxx\")\n```\n\nsee https://github.com/a-know/Pixela/releases/tag/v1.1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsue445%2Ftweet_pixels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsue445%2Ftweet_pixels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsue445%2Ftweet_pixels/lists"}