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
pipx 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 # get the For You timeline.
xcli tl --user <username> # get the timeline of the user.
# 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file x_cli_py-0.1.4.tar.gz.
File metadata
- Download URL: x_cli_py-0.1.4.tar.gz
- Upload date:
- Size: 6.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6d87b0305ed33701d894707d05bb9c25c87f73a8da6958865bb993f78cecbeb
|
|
| MD5 |
4738a5f2b68a0af8eacb817058a9dc0e
|
|
| BLAKE2b-256 |
7adf2470badedf0d09cff6a7cd85b9f1601513a8dac143b0c9cdb9a3fbba17bc
|
File details
Details for the file x_cli_py-0.1.4-py3-none-any.whl.
File metadata
- Download URL: x_cli_py-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59b53320caa8b8959316891185c451abd740b91b8783f11d29f685cef4baf259
|
|
| MD5 |
d6b8cdde8fc6a7bc02d723d3a2910bf2
|
|
| BLAKE2b-256 |
b76c2a805b635da0546319973f198053d0758f7abb47450ad1baaee896bea41e
|