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.0.tar.gz (5.4 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.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: x_cli_py-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 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.0.tar.gz
Algorithm Hash digest
SHA256 d77f7f3197dd25254406961f8412e014ddb89a954aa1eddffab8e8d5c4b13554
MD5 a54f778adf339ba8cf101393289d43c3
BLAKE2b-256 53ca8414706a0fa877d52f8b284a1b8f88fba5e12c4994491544a85cd3f17f57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: x_cli_py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0f110e0436b1a868e238a8ee2b5c206afbeb925aff151fefeeca5950fd68e6
MD5 d6f5ed669ed8dcf8f8649df8e36db616
BLAKE2b-256 5d4713ab2e0ea4dbc29a8566c6b4a9dc17271307b8d091d39f8b0549a19b588e

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