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.0.2.tar.gz (16.1 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.0.2-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: video2story-1.0.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.10.8-zen1-1-zen

File hashes

Hashes for video2story-1.0.2.tar.gz
Algorithm Hash digest
SHA256 eb0f6fc7f5807a057c0b09923815604dcf21380426b0ed30bbe12072c506c84a
MD5 fc4721fa470d9765b022b92e173a353a
BLAKE2b-256 7bf418b475055e08b8ad54af98f38b8f54b8b26159ac20e5623fa510771e2567

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for video2story-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1fa61b85556d2e6e8cd85120c034b61d26d280d2795708ae1b6b85d154c31d55
MD5 8940bc0d8bdaa6fb23b2fca73432f743
BLAKE2b-256 a2eaf7a23fb4e25145a79fd85e809dd840c7225320c92175d1678704115a83e0

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