{"id":13461874,"url":"https://github.com/m4rr/money_bot","last_synced_at":"2025-03-24T23:31:52.579Z","repository":{"id":68506994,"uuid":"48846783","full_name":"m4rr/money_bot","owner":"m4rr","description":"Docker-containered bot. Added to a group chat, she replies to any message containing price and currency pattern. Live!","archived":false,"fork":false,"pushed_at":"2020-03-18T17:51:22.000Z","size":351,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T10:02:56.366Z","etag":null,"topics":["bot","currencies","docker","ruby","telegram"],"latest_commit_sha":null,"homepage":"https://t.me/USDRUB_bot","language":"Ruby","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/m4rr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"m4rr","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-12-31T11:05:18.000Z","updated_at":"2022-11-04T10:34:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"4115d31a-122f-4c7e-abd3-0a72023f3b0f","html_url":"https://github.com/m4rr/money_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/m4rr%2Fmoney_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rr%2Fmoney_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rr%2Fmoney_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rr%2Fmoney_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4rr","download_url":"https://codeload.github.com/m4rr/money_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372193,"owners_count":20604487,"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","currencies","docker","ruby","telegram"],"created_at":"2024-07-31T12:00:25.949Z","updated_at":"2025-03-24T23:31:52.327Z","avatar_url":"https://github.com/m4rr.png","language":"Ruby","funding_links":["https://patreon.com/m4rr"],"categories":["Examples"],"sub_categories":["Ruby"],"readme":"# Money Bot for Telegram\n\nBot is handy in group chats. She looks for the currencies in chat context and converts $, €, ₽, CAD currencies to opposite ones (based on Open Exchange Rates). _Opposite ones_ are set empirically.\n\nFor example:\n* someone sent to a chat `bought a backpack for $119 free shipping`\n* she replies `7691 ₽`\n\nStart chat with **[@USDRUB_bot](https://telegram.me/USDRUB_bot)** in Telegram. Ask '$1', '5€' or even '100 RUB'.\n\n### Build Docker Image\n\nIn the folder:\n\n```sh\n$ echo \"BOT_TOKEN = 'YOUR_TOKEN'\" \u003e\u003e money_bot/token.rb       # Telegram Bot Token from @BotFather\n$ echo \"OXR_APP_ID = 'YOUR_OXR_ID'\" \u003e\u003e money_bot/token.rb # App token from Open Exchange Rates\n\n$ docker build -t m4rr/money_bot .                        # Build Docker image\n```\n\n### Start Up the Container\n\n```sh\n$ docker run -d --name money_bot --restart=always m4rr/money_bot           # Run Docker container\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4rr%2Fmoney_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4rr%2Fmoney_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4rr%2Fmoney_bot/lists"}