9b395f5cc3
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
Build Chrome Extension / build (push) Has been cancelled
Trigger Website Rebuild (Docs Updated) / dispatch (push) Has been cancelled
54 lines
1.3 KiB
Markdown
54 lines
1.3 KiB
Markdown
# V2EX
|
|
|
|
**Mode**: 🌐 / 🔐 · **Domain**: `v2ex.com`
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `opencli v2ex hot` | Hot topics |
|
|
| `opencli v2ex latest` | Latest topics |
|
|
| `opencli v2ex topic <id>` | Topic detail |
|
|
| `opencli v2ex node <name>` | Topics by node |
|
|
| `opencli v2ex user <username>` | Topics by user |
|
|
| `opencli v2ex member <username>` | User profile |
|
|
| `opencli v2ex replies <id>` | Topic replies |
|
|
| `opencli v2ex nodes` | All nodes (sorted by topic count) |
|
|
| `opencli v2ex daily` | Daily hot |
|
|
| `opencli v2ex me` | My profile (auth required) |
|
|
| `opencli v2ex notifications` | My notifications (auth required) |
|
|
|
|
## Usage Examples
|
|
|
|
```bash
|
|
# Hot topics
|
|
opencli v2ex hot --limit 5
|
|
|
|
# Browse topics in a node
|
|
opencli v2ex node python
|
|
|
|
# View topic replies
|
|
opencli v2ex replies 1000
|
|
|
|
# User's topics
|
|
opencli v2ex user Livid
|
|
|
|
# User profile
|
|
opencli v2ex member Livid
|
|
|
|
# List all nodes
|
|
opencli v2ex nodes --limit 10
|
|
|
|
# JSON output
|
|
opencli v2ex hot -f json
|
|
```
|
|
|
|
## Prerequisites
|
|
|
|
Most commands (`hot`, `latest`, `topic`, `node`, `user`, `member`, `replies`, `nodes`) use the public V2EX API and **require no browser or login**.
|
|
|
|
For `daily`, `me`, and `notifications`:
|
|
|
|
- Chrome running and **logged into** v2ex.com
|
|
- [Browser Bridge extension](/guide/browser-bridge) installed
|