{"id":22310843,"url":"https://github.com/azarattum/interbot","last_synced_at":"2025-03-26T02:13:29.241Z","repository":{"id":116104054,"uuid":"501302530","full_name":"Azarattum/Interbot","owner":"Azarattum","description":"A telegram bot for Interkot.","archived":false,"fork":false,"pushed_at":"2022-06-08T15:25:40.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T23:30:31.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/Azarattum.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":"2022-06-08T15:11:49.000Z","updated_at":"2022-06-08T15:28:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba4b954e-961f-4957-8e98-4321e383354e","html_url":"https://github.com/Azarattum/Interbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FInterbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FInterbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FInterbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FInterbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azarattum","download_url":"https://codeload.github.com/Azarattum/Interbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573893,"owners_count":20637674,"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":[],"created_at":"2024-12-03T21:16:21.130Z","updated_at":"2025-03-26T02:13:29.231Z","avatar_url":"https://github.com/Azarattum.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interbot\n\n[ENG] [[RU]](README.ru.md)\n\nA telegram bot for [Interkot](http://www.interkot.ru/).\n\n## Installation\n\n1) Clone the repo\n```sh\ngit clone https://github.com/Azarattum/Interbot.git\ncd Interbot\n```\n\n2) Add a website's API endpoint and a telegram token ([obtain here](https://t.me/botfather/)) in `config.php`:\n```php\n$api = \"https://example.com/\";\n$token = \"123456:ASDFGH-9876\";\n```\n\n3) Setup a Telegram web hook for your server using the following URL:\n```\n                            ↓ INSERT TOKEN HERE\nhttps://api.telegram.org/bot   /setWebhook?url=\n                                               ↑ INSERT URL HERE\n```\n\n4) Run the bot (for development environment)\n```sh\nphp -S localhost:8000\n```\n\n5) (Optional) For development purposes you might also expose your local port using [ngrok](https://ngrok.com/):\n```sh\nngrok http 8000\n```\n\n## Credit\n\nThis project uses a slightly modified version of [radyakaze's telebot library](https://github.com/radyakaze/Telebot).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazarattum%2Finterbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazarattum%2Finterbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazarattum%2Finterbot/lists"}