{"id":20835408,"url":"https://github.com/dramforever/nixos-updates-bot","last_synced_at":"2026-02-23T18:36:57.675Z","repository":{"id":56302256,"uuid":"213275850","full_name":"dramforever/nixos-updates-bot","owner":"dramforever","description":"Nix channel updates bot for Telegram","archived":false,"fork":false,"pushed_at":"2020-11-16T01:52:36.000Z","size":108,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T02:40:59.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dramforever.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}},"created_at":"2019-10-07T01:57:50.000Z","updated_at":"2022-08-19T09:11:04.000Z","dependencies_parsed_at":"2022-08-15T16:20:17.946Z","dependency_job_id":null,"html_url":"https://github.com/dramforever/nixos-updates-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dramforever/nixos-updates-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dramforever%2Fnixos-updates-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dramforever%2Fnixos-updates-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dramforever%2Fnixos-updates-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dramforever%2Fnixos-updates-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dramforever","download_url":"https://codeload.github.com/dramforever/nixos-updates-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dramforever%2Fnixos-updates-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29750723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"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-18T00:24:35.044Z","updated_at":"2026-02-23T18:36:57.658Z","avatar_url":"https://github.com/dramforever.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS Updates Bot for Telegram\n\n*(Add the bot \u003chttps://t.me/nixos_updates_bot\u003e Join the channel at \u003chttps://t.me/nixos_updates\u003e)*\n\nPeriodically checks for Nix channel updates and posts them in a channel. Also, sends private messages for subscribed updates.\n\n## Usage\n\nWatch the channel \u003chttps://t.me/nixos_updates\u003e, or send, say, `/subscribe nixpkgs-unstable` to \u003chttps://t.me/nixos_updates_bot\u003e.\n\n## Deployment\n\nWhy would you want to do that?\n\nIf you want to somehow deploy *another* *same* bot:\n\n- Configuration is currently a bit hard-coded. Change code according to your needs\n- Specify these environment variables\n    - `BOT_SECRET`: A secret string to use in webhooks\n    - `TELEGRAM_KEY`: Your Telegram bot key\n    - `DATABASE_URL`: A Postgresql connection URL\n    - `ARMED`: `true` if you want the bot to send Telegram messages (or any non-reply requests to the Telegram servers at all)\n    - `PORT`: Port to listen on. Defaults to `5000`\n- Set webhook to `.../webhook/$BOT_SECRET` using the Telegram Bot API manually.\n- Periodically `POST` to `/update` with json like `{ \"secret\": \"\u003cbot secret\u003e\", \"action\": \"update\" }`. An update will run in the background after some delay (`0` to `60` seconds random).\n\n## Icon\n\nIcon based on [Nix official icon](https://github.com/NixOS/nixos-artwork/blob/master/logo/nix-snowflake.svg) and [Octicons `radio-tower](https://octicons.github.com/icon/radio-tower/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdramforever%2Fnixos-updates-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdramforever%2Fnixos-updates-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdramforever%2Fnixos-updates-bot/lists"}