Skip to main content

A tool to dump threads and media from X (formerly Twitter).

Project description

X Twitter Thread Dump

X Twitter Thread Dump Favicon

X Twitter Thread Dump is a Python tool designed to capture and save Twitter threads as images. It offers both a command-line interface for quick captures and a web API for programmatic access.

Key Features

  • Thread Capturing: Saves entire Twitter threads into image format.
  • Dual Interface: Usable as a CLI tool or a web API.
  • Asynchronous Operations: Built with async support for efficient handling of requests.

Overview

The project allows users to easily convert Twitter threads into shareable images. The CLI is suitable for manual, on-demand captures, while the API allows integration into other services or automated workflows.

For detailed installation and usage instructions, please refer to the project's documentation or use the help options provided by the CLI and API.

uv run to-image --tweet-url <tweet_url>

Project Structure

The codebase is organized into modules for handling browser interactions, image generation, API routing, and command-line parsing. Key components include:

  • x_twitter_thread_dump/: Main package containing core logic.
  • x_twitter_thread_dump/_api/: FastAPI application for the web API.

Contributing

Contributions to the project are welcome. Please refer to standard open-source contribution practices.

License

This project is licensed under the MIT 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

x_twitter_thread_dump-0.1.0.tar.gz (122.1 kB view details)

Uploaded Source

Built Distribution

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

x_twitter_thread_dump-0.1.0-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file x_twitter_thread_dump-0.1.0.tar.gz.

File metadata

File hashes

Hashes for x_twitter_thread_dump-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ccee5057037632c0cf9091635e7fa0701861342445e115d1b42bbae52dd7a9d
MD5 d1a85fb9575bb03600b3d61fb2d9786d
BLAKE2b-256 7e8b54bb93e714d634355d55695553181aacb5ebfa0e8fb9df83e0a01aded55a

See more details on using hashes here.

File details

Details for the file x_twitter_thread_dump-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for x_twitter_thread_dump-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 161e741c101939ec3783066658e0656093bf04d7319541a5e580e4af06be0bb9
MD5 f95e5ff9ebef26a3f506e6963f2b806e
BLAKE2b-256 d72cb0e4659306c0b8578eb78da41664fd9fdac4a36c9440d90976be48eb063c

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