{"id":17061885,"url":"https://github.com/phlak/inner-circle-bot","last_synced_at":"2026-02-13T09:50:41.621Z","repository":{"id":37531694,"uuid":"229117477","full_name":"PHLAK/inner-circle-bot","owner":"PHLAK","description":"The Inner Circle chat bot.","archived":false,"fork":false,"pushed_at":"2023-03-01T11:57:02.000Z","size":733,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-12T05:56:43.314Z","etag":null,"topics":["bot","botman","chatbot","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/PHLAK.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-19T18:42:23.000Z","updated_at":"2021-12-22T22:22:48.000Z","dependencies_parsed_at":"2024-12-19T06:24:34.669Z","dependency_job_id":"50fee51c-307a-49ae-9d5b-65257339ef85","html_url":"https://github.com/PHLAK/inner-circle-bot","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/PHLAK%2Finner-circle-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Finner-circle-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Finner-circle-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Finner-circle-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHLAK","download_url":"https://codeload.github.com/PHLAK/inner-circle-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415783,"owners_count":20935383,"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":["bot","botman","chatbot","telegram","telegram-bot"],"created_at":"2024-10-14T10:48:31.034Z","updated_at":"2025-10-05T01:34:57.167Z","avatar_url":"https://github.com/PHLAK.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"the-inner-circle-bot.svg\" alt=\"The Inner Circle Bot\" width=\"80%\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/PHLAK/inner-circle-bot/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/PHLAK/inner-circle-bot?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.com/PHLAK/inner-circle-bot\"\u003e\u003cimg src=\"https://img.shields.io/travis/com/PHLAK/inner-circle-bot.svg?style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.styleci.io/repos/229117477\"\u003e\u003cimg src=\"https://github.styleci.io/repos/229117477/shield?branch=master\" alt=\"StyleCI\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.ChrisKankiewicz.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Created_by-Chris%20Kankiewicz-319795.svg?style=flat-square\" alt=\"Author\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nRequirements\n------------\n\n  - [PHP](https://secure.php.net/) \u003e= 7.4\n    - PHP [Internationalization Extension](https://www.php.net/manual/en/intro.intl.php)\n\n#### For development\n\n  - [Composer](https://getcomposer.org/)\n  - [Docker](https://www.docker.com/)\n    - [Docker Compose](https://docs.docker.com/compose/)\n\nSetting up a Local Development Environment\n------------------------------------------\n\n### Create a Telegram Bot\n\nIn order to test the application locally you will first need to create your own \nTelegram bot to interact with. See the [Telegram docs](https://core.telegram.org/bots#creating-a-new-bot)\nfor instructions on creating and configuring your own bot.\n\n### Configure the Hostname\n\nAdd the following entry to `/etc/hosts`:\n\n    127.0.0.1  inner-circle-bot.local\n\n### Set Environment Variables\n\nTo set up your local environment variables copy `.env.example` to `.env` then\nset the variables in the `.env` file.\n\n    cp .env.example .env\n\n### Start the Docker Environment\n\nTo build and start the containers on your system for the first time run the\nfollowing from the project's root directory:\n\n    docker-compose up -d\n\n### Install PHP dependencies\n\n    composer install\n\nor from within the Docker container:\n\n    docker run -it --rm --env-file ${PWD}/.env --user $(id -u):$(id -g) --volume ${PWD}:/app composer:1.9 \\\n        \u0026\u0026 composer install --working-dir /app --ignore-platform-reqs --no-cache --no-interaction --no-scripts\n\n### Create application tunnel via ngrok\n\n    ngrok http -host-header=rewrite http://inner-circle-bot.local:80\n\n### Set the Telegram bot webhook URL\n\n    curl --request POST --header 'content-type: application/json' \\\n        --url https://api.telegram.org/bot{{ TELEGRAM_TOKEN }}/setWebhook \\\n        --data '{\"url\": \"{{ NGROK_URL }}/{{ TELEGRAM_TOKEN }}\"'\n\nFor more info, see \u003chttps://core.telegram.org/bots/api#setwebhook\u003e\n\nList of Commands\n----------------\n\n    btc - Get the market price (in USD) for bitcoin (`/btc [YYYY-MM-DD]`)\n    busy - Generate a random \"busy\" message\n    coinflip - Flip a coin\n    dilbert - Get a Dilbert comic (`/dilbert [YYYY-MM-DD | random]`)\n    eightball - Consult the Magic Eightball (`/eightball [question]`)\n    explosm - Fetch a Cyanide \u0026 Happiness comic (`/explosm [id]`)\n    foxtrot - Fetch the latest FoxTrot comic\n    monkeyuser - Fetch the latest MonkeyUser comic\n    ping - Verify bot connectivity\n    roll - Roll some dice (`/roll [ 2d6 | 1d10 | etc ]`)\n    slap - Slap somone around a bit (`/slap \u003cname\u003e`)\n    smbc - Fetch the latest smbc comic\n    xkcd - Retrieve an XKCD comic (`/xkcd [id]`)\n\n\u003e #### ℹ️ Parameters\n\u003e\n\u003e   - Parameters in angled brackets (`\u003c...\u003e`) are REQUIRED.\n\u003e   - Parameters in square braces (`[...]`) are OPTIONAL.\n\nTroubleshooting\n---------------\n\nPlease report bugs to the [GitHub Issue Tracker](https://github.com/PHLAK/inner-circle-bot/issues).\n\nCopyright\n---------\n\nThis project is licensed under the [MIT License](https://github.com/PHLAK/inner-circle-bot/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlak%2Finner-circle-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphlak%2Finner-circle-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlak%2Finner-circle-bot/lists"}