{"id":17084086,"url":"https://github.com/nukesor/hetznerbot","last_synced_at":"2025-04-12T21:06:49.528Z","repository":{"id":77242603,"uuid":"109708907","full_name":"Nukesor/hetznerbot","owner":"Nukesor","description":":calling: Get the newest hetzner server offers right to your telegram chat.","archived":false,"fork":false,"pushed_at":"2025-03-29T17:43:14.000Z","size":576,"stargazers_count":20,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T21:06:42.909Z","etag":null,"topics":["auction","best-offer","hetzner","notification-service","server","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nukesor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-11-06T14:54:05.000Z","updated_at":"2025-03-29T17:43:17.000Z","dependencies_parsed_at":"2024-05-21T11:44:20.013Z","dependency_job_id":"a71ae9b1-4ef8-4e0b-ac99-7b6d5dd0461c","html_url":"https://github.com/Nukesor/hetznerbot","commit_stats":{"total_commits":176,"total_committers":4,"mean_commits":44.0,"dds":0.4545454545454546,"last_synced_commit":"cd43dfb910365733054ab46b74c683412eecb2e6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nukesor%2Fhetznerbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nukesor%2Fhetznerbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nukesor%2Fhetznerbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nukesor%2Fhetznerbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nukesor","download_url":"https://codeload.github.com/Nukesor/hetznerbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631683,"owners_count":21136562,"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":["auction","best-offer","hetzner","notification-service","server","telegram-bot"],"created_at":"2024-10-14T13:05:04.245Z","updated_at":"2025-04-12T21:06:49.514Z","avatar_url":"https://github.com/Nukesor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hetzner-Bot\n\n[![MIT Licence](https://img.shields.io/badge/license-MIT-success.svg)](https://github.com/Nukesor/pollbot/blob/master/LICENSE.md)\n\nA handy telegram bot which texts you as soon as there is a viable offer available on the hetzner server market.\nIt is possible to set several search parameter which need to be satisfied for an offer to be sent to you.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/Nukesor/images/master/hetzner_bot_reply.png\"\u003e\n\u003c/p\u003e\n\nIf the price of an offer is reduced you will get a new notification with the updated price.\n\nThis project is mostly used by myself. You may also use it if you like.\nHowever, I don't plan to provide proper support for this project as I do for my other projects.\n\nAvailable commands:\n\n```txt\n/start Start the bot\n/stop Stop the bot\n/set Set search attributes with this syntax: \"\\set hdd_count 3\"\n    Attributes are:\n        - `hdd_count`     int (min number of hard drives)\n        - `hdd_size`      int (min amount of GB for each disk)\n        - `raid`          enum ('raid5', 'raid6', 'None')\n        - `after_raid`    int (min size of raid after assembly in TB)\n        - `threads`       int (min number of cpu threads)\n        - `release_date`  int (earliest cpu release year)\n        - `multi_rating`  int (min passmark multithread rating)\n        - `single_rating` int (min passmark singlethread rating)\n        - `ram`           int (min RAM size in GB)\n        - `price`         int (max Price in Euro)\n        - `ecc`           bool (0 or 1)\n        - `inic`          bool (0 or 1)\n        - `hwr`           bool (0 or 1)\n/get Check hetzner now!\n/info Show the current search attributes.\n/help Show this text\n```\n\n## Installation and run\n\n**This bot is developed for Linux.**\n\nWindows isn't tested, but it shouldn't be too hard to make it compatible. Feel free to create a PR.\n\nDependencies:\n\n- `poetry` to manage and install dependencies.\n- [Just](https://github.com/casey/just) for convience.\n- Hetznerbot uses postgres by default\n\n1. Clone the repository:\n   ```sh\n   git clone git@github.com:nukesor/hetznerbot \u0026\u0026 cd hetznerbot\n   ```\n1. Run `just setup` to install dependencies\n1. Run `just initdb` to initialize the database\n1. Start the bot once with `just run` to create the default config at `~/.config/hetznerbot.toml`\n1. Adjust the config file\n1. Import the cpu data into your database with `just import_cpu_data`.\n1. Start the bot with `just run`\n\n## CPU data\n\nThe CPU data is read from `data/cpu_data.csv`.\n\nIf you want to help out and add missing CPUs, please go to https://www.cpubenchmark.net/, gather the relevant information and add it to the csv file.\n\n## Bot Commands\n\n```txt\nstart - Start the bot\nstop - Stop the bot\nget - Get the newest Offers\ninfo - Show the current search attributes\nhelp - Show the help text\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukesor%2Fhetznerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnukesor%2Fhetznerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukesor%2Fhetznerbot/lists"}