Skip to main content

Telegram bot making without any line of code.

Project description

TyTg: Thank You Telegram!

Create a telegram bot for any purpose, or remotely control your pc with one. TyTg is written in Python3 and should work on any linux distribution.

TyTg allows users to navigate in a folder in a hosting pc. Directories are shown as Telegram buttons, allowing the creation of custom bots. Also, *.txt files are sent as messages, *.png &co are sent as images. You can also create *.tgfile containing a Telegram ID to send files. This allows to create bots by simply managing directories.

You can also sort directories by putting {number} in their names. The {number} won't be showed in the button, but it'll be used to sort directories. If directory names ends with numbers, they'll be automatically sorted too.

TyTg will soon add support to change the directories and files remotely using the bot. It will allow to edit text, upload images, files, and so on. You'll also be able to run bash commands. TyTg also support inserting python scripts in the folders that allows making even more complex bots by adding features such as searching files by writing their names.

Finally, TyTg supports adding modules/ that get called on certain commands by admins. A built-in example is announce.py, that allows annuncing a message to every user by replying to that message with /announce. Also, TyTg saves what every user downloads, how many downloads he did, how many total downloads has a certain file, and so on.

Example:

Just look into the "main" folder:

[<3] tree main
main
|-- How\ To\ Use\ {1}
|   `-- instructions.html
|-- Repository\ {0}
|   `-- link.html
|-- cat.jpg
`-- hello.txt

This will become:

And:

Setting up is quite easy:

python tytg.py main/ TOKEN

There's no need to code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tytg-0.2.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tytg-0.2.1-py3.6.egg (10.0 kB view details)

Uploaded Egg

tytg-0.2.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file tytg-0.2.1.tar.gz.

File metadata

  • Download URL: tytg-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for tytg-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bd0abd9970ea992a31954871cb01e91914660dd58792976cc7dec77195076a34
MD5 29c03a578639c55299e0fed76d2ecc4a
BLAKE2b-256 1ceec35a8d48edac0deb0717b6f3cf239794a90455dcdb760ea4733f786cce33

See more details on using hashes here.

File details

Details for the file tytg-0.2.1-py3.6.egg.

File metadata

  • Download URL: tytg-0.2.1-py3.6.egg
  • Upload date:
  • Size: 10.0 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for tytg-0.2.1-py3.6.egg
Algorithm Hash digest
SHA256 4a5ca7346a6f00115b6004238e1e52641109ee3481f1ca3a90b111f023e91483
MD5 5910cee330dffff36676e377b58f92b2
BLAKE2b-256 572d7c36423132e2118a6dd605c8235f5238a6f00799eaa1be1fa8fae86706bc

See more details on using hashes here.

File details

Details for the file tytg-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tytg-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for tytg-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b0cc4c747d03ba999c0a5846165398555ac5acf6d2eaba66000db55f8d6687f
MD5 04b425e81e57f717922fe233769013f6
BLAKE2b-256 2a937481cd2f6602bcf2b4680e8351d98de9d0a71d617989808571ecdb80c52f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page