2 releases
Uses new Rust 2024
| new 0.1.0-alpha.2 | Feb 6, 2026 |
|---|---|
| 0.1.0-alpha.1 | Feb 4, 2026 |
#2 in #messenger
29KB
200 lines
Min - bridge between max and telegram
Use max without using it
Here you will find installation guide and information for contributors
Warning: this is pre-alpha test, you have to understand that the program is not stable and can break down at any time
Installation:
-
Install and configure min
-
Open releases and download the latest available version
-
After it extract the downloaded .zip file somewhere(it's preferred to do so in any folder, not on your desktop)
-
Install special extension to retrieve your max's token, just download the source code and import it in your browser(Warning: now it only works in chrome and firefox browser, tested). Example for google chrome and some other browser: go to chrome://extensions -> enable developer mode in the right top corner -> press "load unpacked extension" button in the left top corner. Choose the folder you've just downloaded.
-
Open max and log in there using your phone(yes, it's required just once, then you can delete the app) and open the extension(extension should be opened with max page opened too). Wait until status is active and press start button. After pressing it press "copy to clipboard" button.
-
Return to min you've just downloaded from this page and paste this to you .env file:
TOKEN="<Your max token, that you've just copied>" T_TOKEN="<Your telegram token, we will paste it later>" T_ID="<We will do it later too>"-
After doing it create telegram bot using Botfather, choose the appropriate name for it, if you want you can choose an icon too. Then get it's token.
-
Paste it in your .env file
TOKEN="Some token you have already placed here" T_TOKEN="<Your telegram bot's token>" T_ID="<See next steps>"-
Run the .exe file you've downloaded from this page. If there are any troubles try changing appVersion field in config.json and increase the last number in the version by one
-
Send anything to your bot and you will get your telegram id. Paste it to .env file in T_ID variable. Restart the app.
-
-
This is pre-alpha version. Don't rely on it, there could be and will be many bugs/vulnerabilities during all the pre-alpha and beta tests. You use it "as-is", I can't guarantee anything.
For developers
This project is currently under development. You are welcome if you want to participate in the process of creating bridge between max and telegram.
P.S. I'm working on this project alone, so I can't publish major updates really ofter, but I'll try my best.
Dependencies
~27–51MB
~820K SLoC