mirror of
https://github.com/PiMaker/Teletun.git
synced 2025-03-09 15:40:14 +00:00
Initial commit
This commit is contained in:
parent
8cd1cc5166
commit
bfebb87e3e
2 changed files with 170 additions and 0 deletions
39
README
Normal file
39
README
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Teletun - IP over Telegram
|
||||
|
||||
Have you ever wanted to transfer IP traffic over an instant messenger? Wanted to test the capabilities of Telegram?
|
||||
|
||||
What do you mean by "no", of course you have! So here you go, take it and *have fun*!
|
||||
|
||||
# Install instructions
|
||||
|
||||
Install the [telegram-cli](https://github.com/vysheng/tg) package (using snap for example).
|
||||
|
||||
Run an instance of telegram-cli using the following line:
|
||||
|
||||
```
|
||||
telegram-cli --json -P 4458
|
||||
```
|
||||
|
||||
(Make sure that `-P` is capital, half an hour of debugging was wasted on that already)
|
||||
|
||||
Install dependencies:
|
||||
|
||||
```
|
||||
pip install python-pytun pytg
|
||||
```
|
||||
|
||||
Download the python script. Run the python script. Pray to the gods for mercy.
|
||||
|
||||
# Performance
|
||||
|
||||
Not that it really matters (you didn't think you're going to use this in anything serious, did you?), but actually, performance is not too bad.
|
||||
|
||||
Bandwidth is quite limited of course, but you can get a Ping as low as 100-150 ms. I guess they didn't lie when they called it *Instant* Messenger.
|
||||
|
||||
# MIT License
|
||||
|
||||
(C) Stefan Reiter 2017
|
||||
|
||||
Full license text can be found in the file called LICENSE in this Repositories root.
|
||||
|
||||
But please do me the favor and don't ever use this thing. It's quite horrible.
|
||||
Loading…
Add table
Add a link
Reference in a new issue