{"id":22053341,"url":"https://github.com/bertrandom/vestaboard-pattern-pusher","last_synced_at":"2026-04-28T20:38:25.953Z","repository":{"id":66843650,"uuid":"404534259","full_name":"bertrandom/vestaboard-pattern-pusher","owner":"bertrandom","description":"Push the Top Pick pattern to the Vestaboard","archived":false,"fork":false,"pushed_at":"2026-03-14T13:43:14.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-15T00:52:49.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bertrandom.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-09T00:22:12.000Z","updated_at":"2026-03-14T13:43:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f41d6ff-f871-43a7-b3d3-7d32ab7a4956","html_url":"https://github.com/bertrandom/vestaboard-pattern-pusher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bertrandom/vestaboard-pattern-pusher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fvestaboard-pattern-pusher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fvestaboard-pattern-pusher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fvestaboard-pattern-pusher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fvestaboard-pattern-pusher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertrandom","download_url":"https://codeload.github.com/bertrandom/vestaboard-pattern-pusher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertrandom%2Fvestaboard-pattern-pusher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32399002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-30T15:16:21.312Z","updated_at":"2026-04-28T20:38:25.916Z","avatar_url":"https://github.com/bertrandom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vestaboard-pattern-pusher\n\nEach day, the Vestaboard iOS app shows 3 suggested messages under \"Top Picks\". One of the messages is always a colorful pattern.\n\n![IMG_1976](https://user-images.githubusercontent.com/57770/132603297-e3a0a540-6110-49a9-8f4b-31399c904bee.jpg)\n\nI usually like that pattern, so I'll press the button to **Send** it to my Vestaboard, but I'd like to automate this.\n\nLuckily, the Vestaboard iOS app does not use certificate pinning, so by placing [mitmproxy](https://mitmproxy.org/) between it and the Internet, we can examine the traffic to it.\n\nAfter you login to the Vestaboard app, it'll go through an OAuth flow, which will call `https://vestaboard.auth0.com/oauth/token`, exchanging the code for an access token and a refresh token. The access token lasts 1 day. The refresh token can be used to get a new access token.\n\nIf you kill the Vestaboard app and start it up, it'll make several calls to `https://platform.vestaboard.com/graphql`. One of these calls will get information about the viewer, which includes a person ID. Another call will fetch a list of suggestions, passing in the person ID.\n\nThen we simply take the pattern and push it to the Vestaboard using the API.\n\n## Installation\n\nCopy `config/default.json5` to `config/local.json5`.\n\nGo to https://web.vestaboard.com/ and click on Developers.\n\nCreate a new Installable, then click on Create API Credential. Put the key and secret in `config/local.json5`.\n\nCall:\n\n```\ncurl -H \"X-Vestaboard-Api-Key: YOUR_API_KEY\" -H \"X-Vestaboard-Api-Secret: YOUR_API_SECRET\" https://platform.vestaboard.com/subscriptions\n```\n\nand note the subscription ID. Put this in `config/local.json5`.\n\nConfigure your iPhone to use mitmproxy and launch the Vestaboard app. Logout and login again.\n\nLook for a request to `https://vestaboard.auth0.com/oauth/token` and examine the response - it should contain the refresh token. Put this in `config/local.json5`.\n\nRun `npm install`.\n\n## Usage\n\nCalling \n\n```\nnode push\n```\n\nwill push the pattern to your Vestaboard. You can add this to a cronjob, for example, to run it at 8 AM everyday.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertrandom%2Fvestaboard-pattern-pusher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertrandom%2Fvestaboard-pattern-pusher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertrandom%2Fvestaboard-pattern-pusher/lists"}