{"id":29825942,"url":"https://github.com/421p/telegram-mopidy-bash","last_synced_at":"2026-03-10T06:04:43.222Z","repository":{"id":146151941,"uuid":"136770503","full_name":"421p/telegram-mopidy-bash","owner":"421p","description":"Proof of Concept | Basic Mophpidy in OOP Bash","archived":false,"fork":false,"pushed_at":"2018-06-11T00:49:42.000Z","size":45,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T04:28:53.239Z","etag":null,"topics":["bash","bot","mopidy","music-server","telegram"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/421p.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,"zenodo":null}},"created_at":"2018-06-10T01:34:25.000Z","updated_at":"2022-10-17T15:45:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dca597f-1748-4e12-8b69-8f0d4e7c6ffb","html_url":"https://github.com/421p/telegram-mopidy-bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/421p/telegram-mopidy-bash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/421p%2Ftelegram-mopidy-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/421p%2Ftelegram-mopidy-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/421p%2Ftelegram-mopidy-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/421p%2Ftelegram-mopidy-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/421p","download_url":"https://codeload.github.com/421p/telegram-mopidy-bash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/421p%2Ftelegram-mopidy-bash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","bot","mopidy","music-server","telegram"],"created_at":"2025-07-29T04:12:58.263Z","updated_at":"2026-03-10T06:04:43.210Z","avatar_url":"https://github.com/421p.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Proof of Concept\n\n[![Join the chat at https://gitter.im/telegram-mopidy-bash/Lobby](https://badges.gitter.im/telegram-mopidy-bash/Lobby.svg)](https://gitter.im/telegram-mopidy-bash/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nFirst of all, this project is a proof of concept that proves usability of Bash scripting language in a modern environment. It works but it still far from being a perfect app.\n\n## Features\n\n* Basic Telegram API - receiving updates (long polling) and sending messages.\n* Basic Mopidy API - adding tracks (Google Music only, so Mopidy-Gmusic is required for mopidy backend), setting play mode and volume.\n* High readability via [Bash Infinity](https://github.com/niieani/bash-oo-framework) (OOP paradigm in Bash)\n* JSON configuration\n* caching via SQLite3\n\n## Dependencies\n\n* Bash 4\n* [jq](https://stedolan.github.io/jq/)\n* [SQLite3](https://www.sqlite.org/index.html)\n\nOn Debian/Ubuntu you can install both via\n```sh\nsudo apt-get install jq sqlite3\n```\n\n## Installation\n\nFirst, clone this repository\n```\ngit clone https://github.com/421p/telegram-mopidy-bash.git\n```\n\nThen, edit a `config.json` by adding your `telegram_token` and `allowed_users`. Probably you also want to change `mopidy_uri` if it's running somewhere else.\n\nAnd now you are ready to start bot:\n```\n./bot.sh\n```\n\n## Modifying bot for your own needs\n\nYou can modify bot commands by changing only 2 things:\n* bot keyboard (`reply_markup` in `config.json`) \n* executed code (`src/command/CommandStorage.sh`)\n\nAlso, you may totally remove mopidy-related code and use this as bash-telegram-bot boilerplate. Or even vice versa.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F421p%2Ftelegram-mopidy-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F421p%2Ftelegram-mopidy-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F421p%2Ftelegram-mopidy-bash/lists"}