Skip to main content

An unofficial CLI tool for x.com

Project description

x-cli-py - A simple CLI tool for x.com

This is a web scraping based tool for x.com. You don't need API key or any other credentials, which is cheap and easy to use. Although, please use it at your own risk as it may violate the terms of x.com.

install

# from source
poetry install

# from pypi
pip install x-cli-py

usage

Please refer to the help message for usage details, but here is a simple example.

# setting up
# the chrome window will open, and you need to login to x.com by yourself for the first time.
# if you want to change the account, you have to run setup again.
xcli setup

# get the latest timeline.
# the default setting will get the Following timeline.
xcli tl
xcli tl --tab 1

# post some text.
# your default text editor (`echo $EDITOR`) will open.
xcli post

# if you forget the account you are using, you can check it.
xcli whoami

# you can refer to the help message
xcli --help

contribution

Please feel free to open an issue or pull request. x-cli-py repository

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_cli_py-0.1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

x_cli_py-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file x_cli_py-0.1.1.tar.gz.

File metadata

  • Download URL: x_cli_py-0.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.5 Linux/6.12.17-1-MANJARO

File hashes

Hashes for x_cli_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6a1a260ce7fd4f4d673bde1c9de5e4951de6d97a38a0be91af2366c950977ebd
MD5 99145cf4669c1976997f4b898499b03b
BLAKE2b-256 31b68210c53f54e3c34d28970e125d69354034f1d6aad1d79a0ef7a6d3ec8820

See more details on using hashes here.

File details

Details for the file x_cli_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: x_cli_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.5 Linux/6.12.17-1-MANJARO

File hashes

Hashes for x_cli_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e729c52b4d6787379adae802657f8ff598b515de80c302126c9806ab48b75185
MD5 54a657560e688caca18a4aae6730fce7
BLAKE2b-256 b3e61957d46939cbd572f3bbd8acbb275ec333748911ff19bdd5fbaf48330031

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