{"id":13343111,"url":"https://github.com/archydragon/jetlag","last_synced_at":"2025-03-12T04:32:20.593Z","repository":{"id":150451512,"uuid":"78845849","full_name":"archydragon/jetlag","owner":"archydragon","description":"Jabber-Telegram personal gateway","archived":false,"fork":false,"pushed_at":"2017-05-07T18:12:02.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-24T15:38:24.092Z","etag":null,"topics":["conference","telegram","xmpp"],"latest_commit_sha":null,"homepage":null,"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/archydragon.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-01-13T12:04:03.000Z","updated_at":"2023-01-27T00:09:43.000Z","dependencies_parsed_at":"2023-04-26T15:33:06.788Z","dependency_job_id":null,"html_url":"https://github.com/archydragon/jetlag","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archydragon%2Fjetlag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archydragon%2Fjetlag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archydragon%2Fjetlag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/archydragon%2Fjetlag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/archydragon","download_url":"https://codeload.github.com/archydragon/jetlag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158977,"owners_count":20245668,"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":["conference","telegram","xmpp"],"created_at":"2024-07-29T19:30:40.097Z","updated_at":"2025-03-12T04:32:20.574Z","avatar_url":"https://github.com/archydragon.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jetlag\n\nJetlag is a gate to access XMPP (aka Jabber) conferences using Telegram client.\nI wrote it because got tired to keep one more IM client running for those two\nMUCs which were interesting for me.\n\nWork principle: from XMPP end you look like a usual user who participate\nthe chat; from Telegram end it is just a bot who sends to you chat messages\nfrom the MUC (no status updates or nickname changes at least in this version).\n\nRight now Jetlag has very simple functionality (one application instance = one\nlink between one conference and one bot; no status updates or nickname changes\nare supported) but if you have any ideas for improvements, don't hesitate to\nwrite about them in issues/PRs :).\n\nCan be run as Docker container, otherwise require Elixir 1.3 or newer to be\ncompiled.\n\n\n## Required preparations\n\n0. Register XMPP and Telgram accounts if you have no ones.\n1. Access [@BotFather](https://telegram.me/BotFather) to register a new\n   Telegram bot. Write down its API token.\n2. (Some stupid magic starts here.) Write anything to your new bot using your\n   Telegram client.\n3. Do `curl -H \"Content-Type: application/json\" https://api.telegram.org/bot\u003cYOUR_TOKEN_HERE\u003e/getUpdates`\n   (without \u003c\u003e around the token). Find `chat_id` parameter in the response and\n   write it down. Unfortunately, right now there are no easy ways to get that\n   ID for your account (maybe I need to write a bot for this purpose only, who\n   knows).\n4. Copy __jetlag.yml.sample__ to e.g. __jetlag-chatname.yml__ and update it\n   with real configuration values. All options except `conference_password` are\n   required.\n\n\n## Compiling\n\nStand-alone:\n\n    $ git clone https://github.com/Mendor/jetlag.git\n    $ cd jetlag\n    $ mix deps.get\n    $ mix compile\n\nWith Docker:\n\n    $ git clone https://github.com/Mendor/jetlag.git\n    $ cd jetlag\n    $ sudo docker build -t jetlag:0.1.1 .\n\n\n## Running\n\nStand-alone:\n\n    $ JETLAG_CONFIG_FILE=jetlag-chatname.yml mix run --no-halt\n\nWith Docker:\n\n    $ sudo docker run -de \"JETLAG_CONFIG_FILE=jetlag-chatname.yml\" jetlag:0.1.1\n\nDon't forget to replace `jetlag-chatname.yml` with your configuration file name.\n\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchydragon%2Fjetlag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchydragon%2Fjetlag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchydragon%2Fjetlag/lists"}