{"id":27966293,"url":"https://github.com/twowheeldev/markuptwitchstream","last_synced_at":"2026-02-26T06:54:22.918Z","repository":{"id":289092679,"uuid":"970039020","full_name":"TwoWheelDev/MarkupTwitchStream","owner":"TwoWheelDev","description":"Processwire Module to show the status of Twitch Channel","archived":false,"fork":false,"pushed_at":"2025-04-28T19:27:13.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T04:02:24.036Z","etag":null,"topics":["processwire","processwire-field","processwire-modules","twitch"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/TwoWheelDev.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,"zenodo":null}},"created_at":"2025-04-21T11:08:37.000Z","updated_at":"2025-04-28T19:27:16.000Z","dependencies_parsed_at":"2025-04-28T20:25:32.442Z","dependency_job_id":null,"html_url":"https://github.com/TwoWheelDev/MarkupTwitchStream","commit_stats":null,"previous_names":["twowheeldev/markuptwitchstream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TwoWheelDev/MarkupTwitchStream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupTwitchStream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupTwitchStream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupTwitchStream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupTwitchStream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TwoWheelDev","download_url":"https://codeload.github.com/TwoWheelDev/MarkupTwitchStream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupTwitchStream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29851215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["processwire","processwire-field","processwire-modules","twitch"],"created_at":"2025-05-07T20:17:52.951Z","updated_at":"2026-02-26T06:54:22.895Z","avatar_url":"https://github.com/TwoWheelDev.png","language":"PHP","readme":"# ProcessWire Twitch Stream Markup\n\n\n![StyleCI Badge](https://github.styleci.io/repos/970039020/shield?branch=main) ![GitHub License](https://img.shields.io/github/license/twowheeldev/MarkupTwitchStream?style=flat-square)\n\nA custom Fieldtype and Inputfield for ProcessWire that allows you to store a Twitch username on a page and view its live stream status.\n\nThe module currently uses TailwindCSS for styling (but future versions may make the styles configurable).\n\n## Features\n\n- Stores a Twitch username in a field.\n- Shows whether the user is currently live from the page editor.\n- Uses Processwire cache for storage of Twitch OAuth Token.\n\n## Modules Included\n\n- `FieldtypeTwitch`: Stores the Twitch username.\n- `InputfieldTwitch`: Input field with live status preview in admin.\n- `MarkupTwitchStream`: For rendering Twitch information on the frontend.\n\n## Screeenshots\n![Screenshot - Online Light](https://github.com/TwoWheelDev/MarkupTwitchStream/raw/main/screenshots/Online-Light.png) ![Screenshot - Online Dark](https://github.com/TwoWheelDev/MarkupTwitchStream/raw/main/screenshots/Online-Dark.png)\n![Screenshot - Offline Light](https://github.com/TwoWheelDev/MarkupTwitchStream/raw/main/screenshots/Offline-Light.png) ![Screenshot - Offline Dark](https://github.com/TwoWheelDev/MarkupTwitchStream/raw/main/screenshots/Offline-Dark.png)\n\n---\n\n## Installation\n\n1. Copy the module files into a folder named `MarkupTwitchStream/` under `/site/modules/`.\n2. Go to **Modules \u003e Refresh** in the ProcessWire admin.\n3. Install the `MarkupTwitchStream` module, this will also install:\n   - `InputfieldTwitch`\n   - `FieldtypeTwitch` (this will auto-install `InputfieldTwitch`)\n\n---\n\n## Setup\n\n1. Go to **Setup \u003e Fields**, and create a new field using the **Twitch** fieldtype.\n2. Add the field to a template (e.g., `profile`, `streamer`, etc.).\n3. Edit a page using that template and enter the Twitch username.\n4. Once saved, the field will show the user's live status directly in the admin UI.\n\n---\n\n## Frontend\n\nThe render function takes two parameters, the current page and the name of the field containing the Twitch username\n\n```php\n/** @var TwitchStream $twitch */\n$twitch = $modules-\u003eget('MarkupTwitchStream');\n$twitch-\u003erender($page, \"twitch\");\n```\n\n---\n\n## Twitch API Credentials\n\nYou need a [Twitch developer application](https://dev.twitch.tv/console/apps) to use the API.\n\n### Steps:\n\n1. Create a new app on the Twitch Developer Console.\n2. Set the OAuth Redirect URL (you won’t use it for this, but Twitch requires one).\n3. Copy your **Client ID** and **Client Secret**.\n4. Add them to the `MarkupTwitchStream` module configuration\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwowheeldev%2Fmarkuptwitchstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwowheeldev%2Fmarkuptwitchstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwowheeldev%2Fmarkuptwitchstream/lists"}