Skip to main content

Send text and files to the Teleput Telegram Bot

Project description

Teleput CLI Tool

This is a command-line script to send messages and files to yourself with the Teleput Bot. Install it like this:

pip3 install --user teleput

Then get a key from the bot (click the link above) and pass it to the tool:

teleput -k YOUR_KEY

Now sending messages to yourself is simple:

teleput "Message"
pbpaste | teleput -

And even files:

teleput review.docx
teleput image.jpg

Note that it tries to detect the file format, so images and sounds will be compressed. To send files without compression, use --raw switch:

teleput -r image.jpg

Only one file can be sent. But you also can add a comment with a second argument:

teleput image.jpg "Look at this image!"

Author and License

Written by Ilya Zverev, published under the ISC license.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

teleput-0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

teleput-0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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