{"id":17230650,"url":"https://github.com/jaames/playupdate","last_synced_at":"2025-03-25T20:18:44.484Z","repository":{"id":98866582,"uuid":"452094714","full_name":"jaames/playupdate","owner":"jaames","description":"A bot that periodically checks for Playdate firmware updates and notifies a Discord channel when a new one is detected","archived":false,"fork":false,"pushed_at":"2022-01-26T00:59:00.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T17:45:07.349Z","etag":null,"topics":["playdate","playdate-console","playdate-reverse-engineering"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaames.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-01-26T00:56:45.000Z","updated_at":"2023-12-18T06:25:08.000Z","dependencies_parsed_at":"2023-07-20T18:15:15.484Z","dependency_job_id":null,"html_url":"https://github.com/jaames/playupdate","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/jaames%2Fplayupdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaames%2Fplayupdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaames%2Fplayupdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaames%2Fplayupdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaames","download_url":"https://codeload.github.com/jaames/playupdate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245535511,"owners_count":20631297,"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":["playdate","playdate-console","playdate-reverse-engineering"],"created_at":"2024-10-15T04:53:38.118Z","updated_at":"2025-03-25T20:18:44.404Z","avatar_url":"https://github.com/jaames.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playupdate\n\nBot that periodically checks [Memfault](https://memfault.com/) for Playdate firmware updates and notifies a Discord channel when a new one is detected, so reverse engineers and super-enthusiasts can be alerted of updates as soon as they happen. It's inspired by the [ylws8 twitter bot](https://twitter.com/ylws8bot).\n\n## Setting Up\n\nThis bot is built as a [Cloudflare worker](https://workers.cloudflare.com/), and it should be possible to deploy it there under the free tier. It's recommended to use the [wrangler](https://developers.cloudflare.com/workers/cli-wrangler/install-update) command-line tool for easy setup.\n\n### Set up config file\n\nCopy `wrangler.example.toml` to `wrangler.toml`.\n\n### Set up key-value storage\n\nA KV store is used to keep track of the current firmware version, so we need to create one called `STATE`:\n\n`wrangler kv:namespace create --preview \"STATE\"`\n\nThen follow the instructions to add the KV to your `wrangler.toml`.\n\n### Secrets\n\nThese secret constants are set with `wrangler secret put \u003cname\u003e`:\n\n| Name | Value |\n|:-|:-|\n| `WEBHOOK_URL` | [Discord Webhook URL](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) for the channel you want to send messages into |\n| `PLAYDATE_SERIAL` | A Playdate serial number to pass to Memfault |\n| `MEMFAULT_PROJECT_KEY` | Playdate Memfault project key - can be obtained from firmware, but that's left as an exercise for the reader :) |\n\n### Tweaking interval\n\nThe cron schedule interval can be adjusted in `wrangler.toml`. By default it checks every 15 minutes.\n\n### Publish\n\nUse `wrangler publish` to publish a live instance of this bot.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaames%2Fplayupdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaames%2Fplayupdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaames%2Fplayupdate/lists"}