Skip to main content

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.

Metadata

Release files for video2story 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for video2story 1.1.0
File Size Uploaded
video2story-1.1.0.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for video2story 1.1.0
File Interpreter ABI Platform
video2story-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.7 kB

Release files / video2story-1.1.0.tar.gz

Download URL video2story-1.1.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7831d8ab5c7bd44c426dd68a8077a2abf9f934296295b42eae5bfad6aeb863a9
BLAKE2b-256 checksum
How to use checksums
646c95b10e2f2ec75a946f775ab16ca674ca174be77739362ddac0e7f5635026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.6 Linux/6.10.10-zen1-1-zen

Release files / video2story-1.1.0-py3-none-any.whl

Download URL video2story-1.1.0-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e5f03268571b95331c05d2b2c83c7ea9f252c1cbc4c7c75bae9ee56efbc58c9
BLAKE2b-256 checksum
How to use checksums
215b0d5ddd2430919178e2aec73226e8e11516e22bf3da22d40f599cf33aa08f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.6 Linux/6.10.10-zen1-1-zen

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page