{"id":16242514,"url":"https://github.com/adriankumpf/logger-telegram-backend","last_synced_at":"2025-04-07T12:03:51.919Z","repository":{"id":28231603,"uuid":"114418683","full_name":"adriankumpf/logger-telegram-backend","owner":"adriankumpf","description":"A logger backend for Telegram","archived":false,"fork":false,"pushed_at":"2025-03-24T10:18:01.000Z","size":227,"stargazers_count":27,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T11:01:38.678Z","etag":null,"topics":["elixir","logger-backend","logging","telegram","telegram-bot-api"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/logger_telegram_backend","language":"Elixir","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/adriankumpf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-12-15T23:15:17.000Z","updated_at":"2025-03-10T19:22:59.000Z","dependencies_parsed_at":"2024-01-09T22:44:04.956Z","dependency_job_id":"e862bf51-8169-48fc-a8c6-f873d45094d1","html_url":"https://github.com/adriankumpf/logger-telegram-backend","commit_stats":{"total_commits":71,"total_committers":7,"mean_commits":"10.142857142857142","dds":0.5774647887323944,"last_synced_commit":"7d124da0b490da350200afb5d6ffde6e04a87ae5"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriankumpf%2Flogger-telegram-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriankumpf%2Flogger-telegram-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriankumpf%2Flogger-telegram-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adriankumpf%2Flogger-telegram-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adriankumpf","download_url":"https://codeload.github.com/adriankumpf/logger-telegram-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648976,"owners_count":20972945,"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":["elixir","logger-backend","logging","telegram","telegram-bot-api"],"created_at":"2024-10-10T14:11:28.304Z","updated_at":"2025-04-07T12:03:51.894Z","avatar_url":"https://github.com/adriankumpf.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LoggerTelegramBackend\n\n[![Build Status](https://github.com/adriankumpf/logger-telegram-backend/workflows/CI/badge.svg)](https://github.com/adriankumpf/logger-telegram-backend/actions)\n[![Docs](https://img.shields.io/badge/hex-docs-green.svg?style=flat)](https://hexdocs.pm/logger_telegram_backend)\n[![Hex.pm](https://img.shields.io/hexpm/v/logger_telegram_backend?color=%23714a94)](http://hex.pm/packages/logger_telegram_backend)\n\nA logger backend for [Telegram](https://telegram.org/).\n\n## Installation\n\nAdd `:logger_telegram_backend` and `:finch` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:logger_telegram_backend, \"~\u003e 3.0\"},\n    {:finch, \"~\u003e 0.16\"},\n  ]\nend\n```\n\n### Add the backend\n\nIn your `Application.start/2` callback, add the `LoggerTelegramBackend`:\n\n```elixir\n@impl true\ndef start(_type, _args) do\n  LoggerTelegramBackend.attach()\n\n  # ...\nend\n```\n\nAdd the following to your configuration:\n\n```elixir\nconfig :logger, LoggerTelegramBackend,\n  chat_id: \"your_chat_id\",\n  token: \"yout_bot_token\"\n```\n\nTo create a Telegram bot, see the next section.\n\n### Configure the Telegram bot\n\nTo create a Telegram bot, follow the instructions [here](https://core.telegram.org/bots/features#creating-a-new-bot) and get the `token` for the bot.\n\nThen send a message to the bot and get your `chat_id`:\n\n```bash\nTOKEN=\"your_bot_token\"\ncurl https://api.telegram.org/bot$TOKEN/getUpdates\n```\n\n## License\n\nThis project is Licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriankumpf%2Flogger-telegram-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadriankumpf%2Flogger-telegram-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadriankumpf%2Flogger-telegram-backend/lists"}