{"id":20586173,"url":"https://github.com/phocks/bne-weather-bot","last_synced_at":"2025-08-20T23:05:14.117Z","repository":{"id":76889286,"uuid":"597547051","full_name":"phocks/bne-weather-bot","owner":"phocks","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-22T02:09:35.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-20T23:03:38.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/phocks.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":"2023-02-04T21:48:13.000Z","updated_at":"2023-03-05T00:41:32.000Z","dependencies_parsed_at":"2023-12-21T00:45:29.227Z","dependency_job_id":"6ce84beb-23dd-44a9-b042-32a458dc538a","html_url":"https://github.com/phocks/bne-weather-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phocks/bne-weather-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fbne-weather-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fbne-weather-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fbne-weather-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fbne-weather-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phocks","download_url":"https://codeload.github.com/phocks/bne-weather-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fbne-weather-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271400259,"owners_count":24752830,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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":[],"created_at":"2024-11-16T07:10:36.004Z","updated_at":"2025-08-20T23:05:14.093Z","avatar_url":"https://github.com/phocks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BNE Weather Bot\n\nHello. Welcome to the source code for [@weather@bne.social](https://bne.social/@weather). I made this bot for fun and to learn more about the [Mastodon API](https://docs.joinmastodon.org/api/) but I thought it might be good to release the code to the public and see if anyone wants to help build features.\n\nCurrently the bot simply gets data from [OpenWeather](https://openweathermap.org/) and generates toots at regular intervals. I'm open to other functionality like specific weather alerts etc. and some things to break up the repetativeness, maybe like detecting what kind of weather it is and saying fun things if it's sunny or rainy like \"hope you've got your raincoat\" or something like that. Anyway, we'll see.\n\nCommits (and pull requests) to `main` will be automatically deployed to [Deno Deploy](https://deno.com/deploy) and will run when the bot is triggered. Triggering is handled by [UptimeRobot](https://uptimerobot.com/).\n\n## Local dev\n\nFeel free to have a play around. Best way to get started is to clone the repo then you should be able to set your own API keys in the `.env` file.\n\nRun with `deno run --allow-all src/main.ts`.\n\nHit the trigger endpoint to do a test toot (on your test Mastodon account).\n\n## Roadmap\n\n**If you feel like building out any of these features that would be great!**\n\n* Greetings based on BNE time\n* Exteme weather alerts\n* Rain warnings etc\n* (other stuff)\n\n## Thanks\n\nFrom [Josh](https://bne.social/@phocks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphocks%2Fbne-weather-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphocks%2Fbne-weather-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphocks%2Fbne-weather-bot/lists"}