{"id":15355547,"url":"https://github.com/mattipv4/pogchamp","last_synced_at":"2025-04-15T06:34:28.986Z","repository":{"id":40343725,"uuid":"328469561","full_name":"MattIPv4/pogchamp","owner":"MattIPv4","description":"Your new PogChamp is... View the new Twitch PogChamp and the history of the PogChamp of the Day at pogchamp.today","archived":false,"fork":false,"pushed_at":"2021-03-06T16:21:41.000Z","size":169,"stargazers_count":29,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T17:11:10.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pogchamp.today/","language":"JavaScript","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/MattIPv4.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":"2021-01-10T20:09:13.000Z","updated_at":"2023-06-29T06:38:27.000Z","dependencies_parsed_at":"2022-08-18T14:02:03.744Z","dependency_job_id":null,"html_url":"https://github.com/MattIPv4/pogchamp","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/MattIPv4%2Fpogchamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fpogchamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fpogchamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattIPv4%2Fpogchamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MattIPv4","download_url":"https://codeload.github.com/MattIPv4/pogchamp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249022547,"owners_count":21199888,"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-10-01T12:24:45.078Z","updated_at":"2025-04-15T06:34:28.951Z","avatar_url":"https://github.com/MattIPv4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pogchamp\n\n**Each day brings a new PogChamp emote to Twitch. View the latest PogChamp of the Day at [pogchamp.today](https://pogchamp.today).**\n\n## About\n\nFollowing the recent events in the United States of America, [Twitch decided to remove the original PogChamp emote](https://twitter.com/Twitch/status/1347003152222937088) due to the person behind the face inciting further violence.\n\nTo replace the iconic 'Pog' moment that the old PogChamp emote filled, based on a community suggestion, [Twitch are now rolling out a new face for the PogChamp emote every 24hrs](https://twitter.com/Twitch/status/1347589555197595650).\n\nInspired by this, I decided to create [pogchamp.today](https://pogchamp.today), based on the [visuals Twitch used](https://twitter.com/Twitch/status/1347953496964931601) in [recent PogChamp reveals](https://twitter.com/Twitch/status/1348314946501808135), to allow anyone to quickly see the latest PogChamp emote online.\n\n*pogchamp.today is not affiliated with [Twitch Interactive, Inc.](https://www.twitch.tv/about/) Built by [Matt Cowley](https://mattcowley.co.uk/).*\n\n### How it works\n\n\u003c!--\nFor some reason or another, it seems that the new limited-edition PogChamp emotes aren't revealed in the [Twitch emotes API](https://dev.twitch.tv/docs/v5/reference/chat#get-all-chat-emoticons).\n\nTo get around this, the [`build/fetch-emote.js`](build/fetch-emote.js) script actually connects to a Twitch channel IRC chat and sends 'PogChamp', listening for the parsed response from Twitch which will include the emote data.\n--\u003e\n\nThe script uses the [Get Chat Emoticons by Set](https://dev.twitch.tv/docs/v5/reference/chat#get-chat-emoticons-by-set) API endpoint that Twitch provides, using the set `0` which is the global Twitch emotes set, and then filtering for the PogChamp emote.\n\nThis emote data is then saved to a JSON file which is [ingested by the website build process](.posthtmlrc.js), using Parcel \u0026 PostHTML.\n\nWe have two GitHub Actions workflows to help with automating this process.\nThe first, [`build.yml`](.github/workflows/build.yml), will build and deploy the website using the latest data committed to the `master` branch of this repository, and runs every time a new commit is pushed.\nThe second workflow, [`update.yml`](.github/workflows/update.yml), runs on a schedule and fetches the latest PogChamp emote from Twitch. If it is a new emote, it updates the [`build/data.json`](build/data.json) and [`build/history.json`](build/history.json) files with this, before committing and pushing them to the `master` branch to trigger a site build.\n\n## License\n\nThis project is licensed under [Apache 2.0](LICENSE). Contributions are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattipv4%2Fpogchamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattipv4%2Fpogchamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattipv4%2Fpogchamp/lists"}