A command-line tool that gives one interface to Google Workspace APIs like Drive, Gmail, Calendar, Sheets, Docs, and Chat, with JSON output for scripts and AI agents.
nashsu/AutoCLI
A Rust command-line tool that fetches data from 55+ websites such as Twitter/X, Reddit, YouTube and Hacker News with a single command.
- Stars
- 3,000
- Forks
- 273
- Open issues
- 45
- Last commit
- 6 months ago
What is it?
AutoCLI is a command-line tool written in Rust that retrieves information from many websites through simple commands such as `autocli hackernews top` or `autocli bilibili hot`. It ships with 333 built-in commands across 55 sites, and browser-based commands reuse logged-in sessions through a Chrome extension instead of requiring separate token management.
Beyond built-in sites, the project lets users define new adapters as declarative YAML pipelines without writing code. It also includes discovery features: `explore` inspects a site's API surface, `generate` creates adapters (optionally with AI via autocli.ai), and `cascade` probes which authentication strategy works. Media and articles can be downloaded, with videos handled through yt-dlp and articles saved as Markdown with localized images.
AutoCLI can also pass commands through to local tools such as `gh`, `docker` and `kubectl`, and outputs results as table, JSON, YAML, CSV or Markdown. It is distributed as a single binary with no runtime dependencies, and the project notes it is a Rust rewrite of the TypeScript OpenCLI project.
Key features
- 01Built-in commands for 55 sites, including Bilibili, Zhihu, Twitter/X and Reddit.
- 02Browser session reuse through a Chrome extension for logged-in commands.
- 03Declarative YAML pipelines for adding new site adapters without code.
- 04Explore, generate and cascade commands to discover site APIs and authentication.
- 05Download videos and articles, with images saved locally.
- 06Passthrough to external CLIs such as gh, docker and kubectl.
- 07Output in table, JSON, YAML, CSV or Markdown.
Use cases
- Giving an AI agent a single-command way to pull real-time data from popular websites.
- Pulling trending or search results from Hacker News, Bilibili or Zhihu into scripts.
- Archiving articles as Markdown with local images.
- Wrapping gh, docker or kubectl under one consistent command interface.
Quick start
- 1
Install with the one-line script (macOS / Linux)
Install with the official instructions in the README - 2
View all available commands
autocli --help - 3
Get Hacker News top stories (public API, no browser needed)
autocli hackernews top --limit 10
Things to know
- Browser commands require installing the Chrome extension manually from GitHub Releases.
- Many site commands depend on logged-in browser sessions and may break if those sites change.
Topics
FAQ
- What is AutoCLI?
- A Rust command-line tool that fetches data from 55+ websites such as Twitter/X, Reddit, YouTube and Hacker News with a single command. AutoCLI is a command-line tool written in Rust that retrieves information from many websites through simple commands such as `autocli hackernews top` or `autocli bilibili hot`. It ships with 333 built-in commands across 55 sites, and browser-based commands reuse logged-in sessions through a Chrome extension instead of requiring separate token management.
- Is AutoCLI free to use? What license does it have?
- AutoCLI is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is AutoCLI still maintained?
- No commits for 6+ months. The last commit to AutoCLI was on Apr 20, 2026.
- What can I use AutoCLI for?
- Giving an AI agent a single-command way to pull real-time data from popular websites. Pulling trending or search results from Hacker News, Bilibili or Zhihu into scripts. Archiving articles as Markdown with local images. Wrapping gh, docker or kubectl under one consistent command interface.
- How do I install AutoCLI?
- Install with the one-line script (macOS / Linux) View all available commands: autocli --help Get Hacker News top stories (public API, no browser needed): autocli hackernews top --limit 10
- Where can I get AutoCLI?
- The source code and installation instructions are on GitHub: https://github.com/nashsu/AutoCLI
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A browser built for AI agents and you to share: agents run tasks in isolated Spaces while your own tabs and logins stay untouched.
CLI and browser extension that let AI agents work in your logged-in Chrome or Edge while you keep using your browser.
Browser automation platform that turns recorded browser actions into MCP commands or Claude Skills so AI agents can control browsers.
A self-improving AI agent that creates and refines skills from experience, runs on many model providers, and works through CLI and messaging apps.
A CLI and skill layer that installs, configures and health-checks channels so AI agents can read and search Twitter, Reddit, YouTube, Bilibili, XiaoHongShu and more.