{"id":21650804,"url":"https://github.com/muffinking-jpeg/informateur","last_synced_at":"2026-05-16T23:03:37.071Z","repository":{"id":205370250,"uuid":"713391001","full_name":"MuffinKing-jpeg/Informateur","owner":"MuffinKing-jpeg","description":"Over engineered bot for solving stupid problem","archived":false,"fork":false,"pushed_at":"2023-11-03T21:55:18.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T05:27:43.384Z","etag":null,"topics":["network","node","nodejs","telegram-bot","telegram-bot-api","typescript"],"latest_commit_sha":null,"homepage":"","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/MuffinKing-jpeg.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}},"created_at":"2023-11-02T12:31:54.000Z","updated_at":"2023-11-03T21:35:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"6bd88ed3-656e-46e5-ab7d-ebf18da2a7a2","html_url":"https://github.com/MuffinKing-jpeg/Informateur","commit_stats":null,"previous_names":["muffinking-jpeg/informateur"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuffinKing-jpeg%2FInformateur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuffinKing-jpeg%2FInformateur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuffinKing-jpeg%2FInformateur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuffinKing-jpeg%2FInformateur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuffinKing-jpeg","download_url":"https://codeload.github.com/MuffinKing-jpeg/Informateur/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244544225,"owners_count":20469639,"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":["network","node","nodejs","telegram-bot","telegram-bot-api","typescript"],"created_at":"2024-11-25T07:42:48.840Z","updated_at":"2026-05-16T23:03:32.022Z","avatar_url":"https://github.com/MuffinKing-jpeg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# L'informateur\n\nRelease the quacken!\n\n## Dumb problems require over-engineered solutions\n\nBecause I can! I know, there is are much easier solution, but who cares?!\n\n## The problem\n\nOne of my friends (for real, not imaginary) uses a crappy® Huawei™ router. And this is a router without a router! You can't bind a static local IP address to the server, but he needs it to use Octoprint. So I created this abomination!\n\n## How to use\n\n### Set up\n\nCreate `.env` and format it like this:\n\n```bash\n# Telegram API token.\nTG_KEY=\"YOUR_BOT:TOKEN\"\n```\n\n\u003eDon't forget to replace it with your real bot token!\n\nInstall packages:\n\n```bash\nsudo npm -g i pm2 \u0026\u0026 npm i\n```\n\nCompile TypeScript:\n\n```bash\nnpx tsc\n```\n\nSpawn the demon!\n\n```bash\npm2 start app.config.js\n```\n\n\u003e[Don't forget to make demon persistent!](https://pm2.keymetrics.io/docs/usage/startup/)\n\n### Usage\n\nAfter starting the bot send him `/start` and press `Became admin!` button.\n\u003eYep, next step is a little bit manual\n\nCopy your account entry from `candidates.json` to `admins.json`, Restart the bot. And voila you can ask the bot about his network configuration.\n\n### How to quack?\n\nSend the bot `/quack` command or press `Quack!` button!\n\u003eBe aware of awkward duck!\n\u003e![Duck!](\u003c/assets/the-duck.png\u003e \"duck!\")\n\n## TODO\n\n- Make shutdown sequence\n- Redo logic of messages\n\n## Plans for the future\n\n- Create a service for managing multiple instances via telegram or discord bot.\n- Add some more memes!\n- Have fun!\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuffinking-jpeg%2Finformateur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuffinking-jpeg%2Finformateur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuffinking-jpeg%2Finformateur/lists"}