{"id":22669094,"url":"https://github.com/stjohnjohnson/mqtt-telegram","last_synced_at":"2025-04-12T11:10:22.104Z","repository":{"id":57303739,"uuid":"54156567","full_name":"stjohnjohnson/mqtt-telegram","owner":"stjohnjohnson","description":"Transfers Images from MQTT to Telegram","archived":false,"fork":false,"pushed_at":"2016-03-18T22:05:58.000Z","size":10,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-08T13:46:13.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mqtt-telegram","language":"JavaScript","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/stjohnjohnson.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}},"created_at":"2016-03-17T22:48:24.000Z","updated_at":"2021-01-12T07:09:39.000Z","dependencies_parsed_at":"2022-08-24T17:11:31.336Z","dependency_job_id":null,"html_url":"https://github.com/stjohnjohnson/mqtt-telegram","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fmqtt-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fmqtt-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fmqtt-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fmqtt-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stjohnjohnson","download_url":"https://codeload.github.com/stjohnjohnson/mqtt-telegram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228911877,"owners_count":17990774,"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-09T15:18:29.234Z","updated_at":"2024-12-09T15:18:29.960Z","avatar_url":"https://github.com/stjohnjohnson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MQTT Telegram\n***Uploads MQTT images to Telegram users.***\n\n[![GitHub tag](https://img.shields.io/github/tag/stjohnjohnson/mqtt-telegram.svg)](https://github.com/stjohnjohnson/mqtt-telegram/releases)\n[![Docker Pulls](https://img.shields.io/docker/pulls/stjohnjohnson/mqtt-telegram.svg)](https://hub.docker.com/r/stjohnjohnson/mqtt-telegram/)\n[![Docker Stars](https://img.shields.io/docker/stars/stjohnjohnson/mqtt-telegram.svg)](https://hub.docker.com/r/stjohnjohnson/mqtt-telegram/)\n\n# Configuration\n\nThe telegram bridge has one yaml file for configuration:\n\n```\n---\nmqtt:\n    # Specify your MQTT Broker's hostname or IP address here\n    host: localhost\n\ntelegram:\n    # Token to talk to Telegram\n    token: INSERT_TOKEN_HERE\n\n# Where to send events to\ntopics:\n    sample/topic:\n        - INSERT_CHAT_ID\n\n```\n\n# Usage\n\n1. Run the Docker container\n\n    ```\n    $ docker run \\\n        -d \\\n        --name=\"mqtt-telegram\" \\\n        -v /opt/mqtt-telegram:/config \\\n        -p 8080:8080 \\\n        stjohnjohnson/mqtt-telegram\n    ```\n2. Customize the MQTT host and Telegram tokens\n\n    ```\n    $ vi /opt/mqtt-telegram/config.yml\n    $ docker restart mqtt-telegram\n    ```\n3. Any images posted to those topics will be forwarded as photos to Telegram\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstjohnjohnson%2Fmqtt-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstjohnjohnson%2Fmqtt-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstjohnjohnson%2Fmqtt-telegram/lists"}