Loading...
Loading...
Blazing fast Rust CLI tool to fetch data from 55+ websites (Twitter, Reddit, YouTube, Bilibili, etc.) with single commands
npx skill4agent add aradotso/devtools-skills autocli-web-scrapingSkill by ara.so — Devtools Skills collection.
curl -fsSL https://raw.githubusercontent.com/nashsu/autocli/main/scripts/install.sh | shautocli-aarch64-apple-darwin.tar.gzautocli-x86_64-apple-darwin.tar.gzautocli-x86_64-unknown-linux-musl.tar.gzautocli-x86_64-pc-windows-msvc.ziptar -xzf autocli-*.tar.gz
sudo mv autocli /usr/local/bin/autocli-chrome-extension.zipchrome://extensions# List all available commands
autocli --help
# List commands for specific site
autocli twitter --help
autocli bilibili --help
# Run diagnostics
autocli doctor
# List all sites and their command counts
autocli list# Hacker News top stories
autocli hackernews top --limit 10
# Hacker News search
autocli hackernews search "rust" --limit 5
# Dev.to top articles
autocli devto top --limit 10
# Lobsters hot stories
autocli lobsters hot --limit 10
# Stack Overflow hot questions
autocli stackoverflow hot --limit 10
# arXiv paper search
autocli arxiv search "machine learning" --limit 5
# Wikipedia search
autocli wikipedia search "rust programming"
# Linux.do forum hot topics
autocli linux-do hot --limit 10# Twitter trending topics
autocli twitter trending
# Twitter search
autocli twitter search "rust lang" --limit 10
# Twitter timeline
autocli twitter timeline --limit 20
# Reddit frontpage
autocli reddit frontpage --limit 10
# Reddit subreddit posts
autocli reddit subreddit rust --limit 15
# Bilibili hot videos
autocli bilibili hot --limit 20
# Bilibili search
autocli bilibili search "rust programming" --limit 10
# Xiaohongshu search
autocli xiaohongshu search "travel" --limit 10
# Zhihu hot topics
autocli zhihu hot --limit 10
# YouTube search
autocli youtube search "rust tutorial" --limit 5
# Weibo hot topics
autocli weibo hot --limit 10# Table format (default)
autocli hackernews top --limit 5
# JSON output
autocli hackernews top --limit 5 --format json
# YAML output
autocli hackernews top --limit 5 --format yaml
# CSV output
autocli hackernews top --limit 5 --format csv
# Markdown output
autocli hackernews top --limit 5 --format markdown# Extract specific fields
autocli hackernews top --limit 5 --format json | jq '.[].title'
# Filter by score
autocli hackernews top --limit 20 --format json | jq '.[] | select(.score > 100)'
# Count results
autocli reddit frontpage --limit 50 --format json | jq 'length'# Authenticate with autocli.ai
autocli auth~/.autocli/config.json# Search by URL
autocli search https://news.ycombinator.com
# Search by domain
autocli search producthunt.com# Override API server (default: https://www.autocli.ai)
export AUTOCLI_API_BASE=https://custom-server.com# Download YouTube video (requires yt-dlp)
autocli youtube download "https://youtube.com/watch?v=..."
# Download Bilibili video
autocli bilibili download "https://www.bilibili.com/video/..."
# Download Xiaohongshu content
autocli xiaohongshu download "https://www.xiaohongshu.com/..."# Twitter operations
autocli twitter post "Hello from AutoCLI!"
autocli twitter reply TWEET_ID "Great post!"
autocli twitter like TWEET_ID
autocli twitter bookmark TWEET_ID
autocli twitter follow USERNAME
autocli twitter bookmarks --limit 10
# Reddit operations
autocli reddit upvote POST_ID
autocli reddit comment POST_ID "Interesting discussion"
autocli reddit subscribe SUBREDDIT_NAME
autocli reddit saved --limit 10
# Xiaohongshu publishing
autocli xiaohongshu publish --title "My Post" --content "Content here" --images "image1.jpg,image2.jpg"# Search jobs
autocli boss search "Rust developer" --city "Beijing"
# Greet recruiter
autocli boss greet JOB_ID "Hello, I'm interested in this position"
# Batch greet
autocli boss batchgreet JOB_ID1,JOB_ID2,JOB_ID3 "Hello, I'm interested"
# View chat list
autocli boss chatlist
# View messages
autocli boss chatmsg BOSS_ID# Bash
autocli completion bash >> ~/.bashrc
# Zsh
autocli completion zsh >> ~/.zshrc
# Fish
autocli completion fish > ~/.config/fish/completions/autocli.fish
# PowerShell
autocli completion powershell >> $PROFILE~/.autocli/config.json{
"api_token": "your-autocli-ai-token",
"browser_ws_endpoint": "ws://localhost:9222",
"default_format": "table",
"adapters_dir": "~/.autocli/adapters"
}~/.autocli/adapters/name: example-site
description: Example site adapter
version: 1.0.0
author: Your Name
commands:
- name: hot
description: Get hot posts
mode: public # or 'browser'
pipeline:
- step: fetch
url: https://api.example.com/hot
method: GET
- step: extract
selector: $.data[*]
fields:
- name: title
path: $.title
- name: url
path: $.url
- name: score
path: $.score
- step: output
format: table.cursorrulesAGENT.md# Discover all available AutoCLI commands
autocli list
# Use specific commands as needed
autocli hackernews top --limit 10 --format json
autocli twitter search "topic" --format json# Register local CLI tools for AI agent access
autocli register gh # GitHub CLI
autocli register docker # Docker CLI
autocli register kubectl # Kubernetes CLI# Get tech news from multiple sources
autocli hackernews top --limit 5 --format json > hn.json
autocli lobsters hot --limit 5 --format json > lobsters.json
autocli devto top --limit 5 --format json > devto.json
jq -s 'add' hn.json lobsters.json devto.json > combined.json#!/bin/bash
TOPIC="rust"
echo "=== Hacker News ==="
autocli hackernews search "$TOPIC" --limit 3
echo "=== Reddit ==="
autocli reddit search "$TOPIC" --limit 3
echo "=== Twitter ==="
autocli twitter search "$TOPIC" --limit 3
echo "=== Dev.to ==="
autocli devto tag "$TOPIC" --limit 3# Export Twitter bookmarks
autocli twitter bookmarks --limit 100 --format json > bookmarks_$(date +%Y%m%d).json
# Export Reddit saved posts
autocli reddit saved --limit 100 --format json > reddit_saved_$(date +%Y%m%d).json# Run diagnostics
autocli doctor
# Check Chrome extension is loaded and active
# Verify browser is running on ws://localhost:9222
# Restart Chrome with remote debugging:
# macOS:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
# Linux:
google-chrome --remote-debugging-port=9222
# Windows:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222# Re-authenticate
autocli auth
# Verify token in config
cat ~/.autocli/config.json | jq '.api_token'
# Clear and re-auth
rm ~/.autocli/config.json
autocli auth# Verify installation
which autocli
# Check available commands
autocli --help
# Update to latest version
curl -fsSL https://raw.githubusercontent.com/nashsu/autocli/main/scripts/install.sh | sh--limit# Reduce limit to avoid rate limiting
autocli twitter search "topic" --limit 5
# Add delays between requests (if supported)
autocli twitter timeline --limit 10 --delay 1000--format json--limit--quietautocli --help