Case study
Xcli: reconstructing an X GraphQL terminal client
Xcli implements a command-line and terminal client for X through the web app's internal GraphQL endpoints. It uses the user's browser cookies for authentication, refreshes changing query IDs and feature settings from the public JavaScript bundle, and exposes posting, timelines, search, messages and media operations. The author states that the API was reverse engineered.
- Targets
- Website
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 1
- Last commit
- 2026-10-19
- Language
- Python
- License (GitHub)
- MIT
GitHub data as of 2026-11-30
Evidence
- Observed
- Code and documentation observed; no download method or demo found.
- Checked
- 2026-11-08
Requirements & limits
- Python 3.10 or newer and the project's listed Python dependencies.
- The user supplies their own X auth_token and ct0 cookies.
- MIT License.
Cite
BibTeX
@misc{xcli-x-graphql-case,
title = {{Xcli: reconstructing an X GraphQL terminal client}},
howpublished = {\url{https://github.com/k41-vibe/X-CLI}},
url = {https://github.com/k41-vibe/X-CLI},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/xcli-x-graphql-case/}}
}Plain text
Xcli: reconstructing an X GraphQL terminal client. https://github.com/k41-vibe/X-CLI (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/xcli-x-graphql-case/
Useful? Star Awesome REA on GitHub3.8k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · k41-vibe/X-CLI · Revision 8445a98
More in Websites
- Hitachi MB110: mapping TV services and replacing its web portal · Case study
- python-onvistabank-notifications: recovering account access through OnVistaBank’s web API · Case study
- Buckler's Boot Camp API Notes: mapping Street Fighter 6 web data routes · Case study
- vibes-api: reconstructing vibes.ai generation APIs · Case study
- ankiweb-cli: reconstructing AnkiWeb's protobuf card API · Case study
- aqi-liberator: decoding aqicn.org historical air-quality data · Case study