Skip to main content

Simple telegram story uploader

Project description

video2story

video2story is a Python tool that allows you to convert and upload videos to your Telegram stories. It automatically cuts the video into segments and uploads them to your Telegram account.

Installation

pip install video2story

Usage

1. Process the video

Split the video into segments.

video2story video input.mp4 output_dir/

Replace input.mp4 with the path to your video file and output_dir/ with the directory where you want to save the processed segments. By default, the video will be cut into 60-second segments. To change that, use the -d option and specify the duration in seconds:

2. Upload the processed video

Upload the video segments to your Telegram account.

video2story story PHONE_NUMBER output_dir/ -p friends

Replace PHONE_NUMBER with your Telegram phone number and output_dir/ with the directory containing the processed video segments. The -p option allows you to choose the privacy level for your story. For more options and detailed information, use the --help flag.

License

This project is licensed under the GPL (GNU General Public License). See the LICENSE file for more details.

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

video2story-1.1.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

video2story-1.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file video2story-1.1.0.tar.gz.

File metadata

  • Download URL: video2story-1.1.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.10.10-zen1-1-zen

File hashes

Hashes for video2story-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7831d8ab5c7bd44c426dd68a8077a2abf9f934296295b42eae5bfad6aeb863a9
MD5 ff03486c88763ec28a8565662a604ab1
BLAKE2b-256 646c95b10e2f2ec75a946f775ab16ca674ca174be77739362ddac0e7f5635026

See more details on using hashes here.

File details

Details for the file video2story-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: video2story-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.10.10-zen1-1-zen

File hashes

Hashes for video2story-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e5f03268571b95331c05d2b2c83c7ea9f252c1cbc4c7c75bae9ee56efbc58c9
MD5 4fea36ca6f0b75eb8db9237ba5b5360c
BLAKE2b-256 215b0d5ddd2430919178e2aec73226e8e11516e22bf3da22d40f599cf33aa08f

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