{"id":19590525,"url":"https://github.com/mudssrali/bunny-bot","last_synced_at":"2026-05-15T06:07:53.236Z","repository":{"id":116502646,"uuid":"556400183","full_name":"mudssrali/bunny-bot","owner":"mudssrali","description":"Facebook messenger chat bot to evaluate crypto currencies built using Elixir Phoenix","archived":false,"fork":false,"pushed_at":"2023-09-07T08:20:54.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T06:33:51.946Z","etag":null,"topics":["coingecko-api","docker","elixir","elixir-phoenix","facebook-messenger-bot"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/mudssrali.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-10-23T19:09:27.000Z","updated_at":"2023-01-17T21:01:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"40054d62-c576-420f-9cc6-f1102b8903d5","html_url":"https://github.com/mudssrali/bunny-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudssrali%2Fbunny-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudssrali%2Fbunny-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudssrali%2Fbunny-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudssrali%2Fbunny-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudssrali","download_url":"https://codeload.github.com/mudssrali/bunny-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240864575,"owners_count":19869969,"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":["coingecko-api","docker","elixir","elixir-phoenix","facebook-messenger-bot"],"created_at":"2024-11-11T08:25:10.005Z","updated_at":"2026-05-15T06:07:53.161Z","avatar_url":"https://github.com/mudssrali.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bunny Bot\n\nFacebook messenger chatbot to evaluate crypto currencies\n\nTo start your Phoenix server:\n\n  * Install dependencies with `mix deps.get`\n  * Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n## Runing with Docker\n\nTo run `bunny bot` inside docker on local machine, run the following commands\n\nBuild the docker image \n\n```shell\ndocker build -t bunny-bot:version-init .\n```\n\nRun the application inside docker container\n\n```shell\ndocker run -d -e FB_PAGE_ACCESS_TOKEN=[put_fb_page_token_here] \\\n-e FB_WEBHOOK_VERIFY_TOKEN=[put_fb_webhook_verify_token_here] \\\n-p 4000:4000 \\\n--name bunny-bot bunny-bot:version-init\n```\n\nOR\n\nRun the shell-script to run bunny bot inside docker container\n\n\u003e ./deploy-docker.sh\n\n## Mix Test\n\nRun following commands to run `tests` using `mix test` utility\n\n\u003e mix test\n\n\u003e mix test test/crypto_bunny\n\n\u003e mix test test/crypto_bunny_web/controllers\n\n### Webhook URL\nTo make sure Facebook messenger communicate with bunny bot either running locally or on production, set the following \nwebhook url with the webhook verify token same as in app configuration.\n\n```txt\nhttp://localhost:4000/api/facebook-webhook\n```\n\nIf the application is running on local machine, we cannot use localhost address directly. To expose localhost on internet,\nwe can take advantage of port-tunneling using [Ngrok](https://ngrok.com/). Now webhook url would look like\n\n```txt\nhttps://65db-119-160-99-97.ngrok.io/api/facebook-webhook\n```\n\n### Demo\nSee the bot in action below\n\nhttps://user-images.githubusercontent.com/24487349/198945459-c36a45c7-ff8b-4acd-af6d-e8536db397e6.mp4\n\n\n### Related Links\n* [You don’t need chatbot creation tools — Let’s build a Messenger bot from scratch](https://www.freecodecamp.org/news/you-dont-needs-chatbot-creation-tools-let-s-build-a-messenger-bot-from-scratch-8fcbb40f073b/)\n* [Postback Button Reference](https://developers.facebook.com/docs/messenger-platform/reference/buttons/postback)\n* [CoinGecko - Explore the API](https://www.coingecko.com/en/api/documentation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudssrali%2Fbunny-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudssrali%2Fbunny-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudssrali%2Fbunny-bot/lists"}