better-world-ai/x-cli
x-cli examples
What it solves
This project provides a collection of Command Line Interfaces (CLIs) for websites that do not offer open APIs (such as real estate platforms like 58.com and Anjuke, or travel sites like Ctrip). It allows users to interact with these platforms via the terminal, bypassing the need to manually navigate complex web interfaces or deal with missing API documentation.
How it works
The project relies on two primary components to generate these CLIs:
- agent-cli-creator: A skill that teaches an AI agent how to transform a website into a CLI. It handles the logic of "how to build" the tool.
- kimi-webbridge: A browser extension and local skill that allows the AI agent to control a live Chrome browser. This enables the agent to inspect network requests, identify internal APIs, and verify data retrieval using the user's active session (avoiding the need for API keys or token management).
Once the agent analyzes the site and verifies the endpoints, it scaffolds and writes the code (e.g., in Go) to create a functional CLI tool.
Who it’s for
- Terminal users who want to access web data without using a browser.
- Developers who want to automate interactions with sites that lack official APIs.
- Users of AI agents who want to quickly generate custom CLI tools for specific web services.
Highlights
- API-less Integration: Leverages active browser sessions to extract data from sites without open APIs.
- Agent-Generated: CLIs are created by an AI agent that autonomously explores the site and writes the code.
- Diverse Use Cases: Includes pre-made CLIs for rental searches, travel planning, academic research (Google Scholar), and job hunting (Boss Zhipin).
- Cross-Platform: Supports multiple platforms via releases or local compilation using Go.
Related
- Project
- Project
- Project
- Project
- Project