{"id":29053431,"url":"https://github.com/celeo/staff_up_bot","last_synced_at":"2026-04-17T10:10:45.558Z","repository":{"id":86326171,"uuid":"532438813","full_name":"Celeo/staff_up_bot","owner":"Celeo","description":"Discord bot to alert when VATSIM airports have traffic but no controllers","archived":false,"fork":false,"pushed_at":"2023-03-26T02:38:39.000Z","size":31,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T06:28:49.915Z","etag":null,"topics":["deno","discord","vatsim"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Celeo.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-04T04:35:03.000Z","updated_at":"2024-12-04T08:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"89948ead-1edb-45fb-b64b-d0372748b880","html_url":"https://github.com/Celeo/staff_up_bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Celeo/staff_up_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celeo%2Fstaff_up_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celeo%2Fstaff_up_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celeo%2Fstaff_up_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celeo%2Fstaff_up_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Celeo","download_url":"https://codeload.github.com/Celeo/staff_up_bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celeo%2Fstaff_up_bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31924463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"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":["deno","discord","vatsim"],"created_at":"2025-06-27T01:06:22.912Z","updated_at":"2026-04-17T10:10:45.540Z","avatar_url":"https://github.com/Celeo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# staff_up_bot\n\n[![CI](https://github.com/Celeo/staff_up_bot/workflows/CI/badge.svg?branch=master)](https://github.com/Celeo/staff_up_bot/actions?query=workflow%3ACI)\n[![License](https://img.shields.io/badge/License-MIT-green)](LICENSE)\n[![Runtime](https://img.shields.io/badge/runtime-Deno-orange)](https://deno.land/)\n\nDiscord bot to alert when VATSIM airports have traffic but no controllers.\n\nWhen running, the bot will check pilot positions every 2 minutes and for each configured entry,\ncount the number of pilots within 5 nm of each airport. If the number of pilots within that\ndistance is greater than the threshold, and the airport isn't being covered by an online\ncontroller matching the list, then a simple text message is sent to the Discord channel,\nspecifying the airport, the number of pilots nearby, and the threshold.\n\n## Installing\n\n### From binary\n\nGet a binary from the [repo](https://github.com/Celeo/staff_up_bot/releases).\n\n### From Source\n\n1. Install [Deno](https://deno.land)\n1. Install [just](https://github.com/casey/just)\n1. Clone the repo\n1. Build with `just compile`\n\n## Using\n\n1. Copy the `config.example.json` file to `config.json` and populate\n1. Run the binary\n\n## Configuration\n\n### Fields\n\n- The \"token\" field is your [Discord bot token](https://discord.com/developers/applications)\n- The \"channel\" field is the [Discord channel](https://turbofuture.com/internet/Discord-Channel-IDp) to which you want alerts to be sent\n- The \"alerts\" field is an array of alerts that you want the bot to look for. Fields:\n  - \"airport\" - the ICAO identifier, i.e. \"KSAN\"\n  - \"trafficThreshold\" - the minimum number of pilots nearby to trigger an alert for\n  - \"coveringPositions\" - a list of regex strings to check that would be staffing the airport\n\n### Example config\n\n```json\n{\n  \"token\": \"abc123\",\n  \"channel\": \"456789\",\n  \"alerts\": [\n    {\n      \"airport\": \"KSAN\",\n      \"trafficThreshold\": 10,\n      \"coveringPositions\": [\"SAN_.*TWR\", \"SAN_.*APP\", \"SCT_.*APP\", \"LAX_.*CTR\"]\n    },\n    {\n      \"airport\": \"KLAX\",\n      \"trafficThreshold\": 10,\n      \"coveringPositions\": [\n        \"LAX_.*TWR\",\n        \"LAX_.*APP\",\n        \"LAX_.*DEP\",\n        \"SCT_.*APP\",\n        \"LAX_.*CTR\"\n      ]\n    },\n    {\n      \"airport\": \"KLAS\",\n      \"trafficThreshold\": 10,\n      \"coveringPositions\": [\"LAS_.*TWR\", \"LAS_.*APP\", \"LAX_.*CTR\"]\n    }\n  ]\n}\n\n```\n\n## License\n\n- Bot under MIT ([LICENSE](LICENSE)).\n- Libraries in use under their respective licenses.\n\n## Contributing\n\nPlease feel free to contribute. Please open an issue first (or comment on an existing one) so that I know that you want to add/change something.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceleo%2Fstaff_up_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceleo%2Fstaff_up_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceleo%2Fstaff_up_bot/lists"}