<commit_before># telematrix

A bridge between Telegram and [Matrix](http://matrix.org/). Currently under development — this project isn't considered to be in a usable state right now.

## Usage
After the [installation](#installation), follow these steps to bridge a matrix room to a telegram group chat or channel:  
 - Invite the bot to the telegram chat.
 - Send `/alias` in the telegram chat.
 - The bot will answer with an alias, something like `#telegram_-XXXXXXXXX:yourserver.example`. Add that as an alias to the matrix room you want to bridge.
 
In case it doesn't work make sure that all these are true:
 - You are on the same server as the brigde. If that is not the case, you can't set the alias, because you can only set aliases on the server you are on.
 - The matrix room is not set to invite only. The bridge currently doesn't support invite only rooms, so the rooms must be set to be open for all. Guests access is not required though.

## Installation
### Dependencies

First, create a virtualenv and activate it:<commit_msg>Fix 'brigde' typo<commit_after># telematrix

A bridge between Telegram and [Matrix](http://matrix.org/). Currently under development — this project isn't considered to be in a usable state right now.

## Usage
After the [installation](#installation), follow these steps to bridge a matrix room to a telegram group chat or channel:  
 - Invite the bot to the telegram chat.
 - Send `/alias` in the telegram chat.
 - The bot will answer with an alias, something like `#telegram_-XXXXXXXXX:yourserver.example`. Add that as an alias to the matrix room you want to bridge.
 
In case it doesn't work make sure that all these are true:
 - You are on the same server as the bridge. If that is not the case, you can't set the alias, because you can only set aliases on the server you are on.
 - The matrix room is not set to invite only. The bridge currently doesn't support invite only rooms, so the rooms must be set to be open for all. Guests access is not required though.

## Installation
### Dependencies

First, create a virtualenv and activate it:
{'fraction_non_alphanumeric': 0.06226053639846743, 'fraction_numerical': 0.0, 'mean_word_length': 3.9619952494061756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '580569', 'n_tokens_mistral': 557, 'n_tokens_neox': 536, 'n_words': 333}