feat: add user commands, auto-detect browser, optimize performance

- Add user/user-posts/followers/following commands
- Add UserProfile model and GraphQL API methods
- Add print_user_profile and print_user_table formatters
- Auto-detect browser for cookies (Chrome → Edge → Firefox → Brave)
- Remove --browser option from all commands
- Remove cookie verification (v1.1 endpoints are gone)
- Use hardcoded fallback query IDs first (skip slow JS bundle scan)
- Update FEATURES from latest twitter-openapi config
- Fix user-posts: add required withVoice variable
- Add tweet URL links in feed output
- Add error handling to all user commands
This commit is contained in:
jackwener
2026-03-05 00:41:26 +08:00
parent 16752c3115
commit 7238b932ab
10 changed files with 770 additions and 353 deletions

View File

@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "twitter-cli"
version = "0.1.0"
description = "A CLI for Twitter/X — feed, bookmarks, filtering, AI summary"
description = "A CLI for Twitter/X — feed, bookmarks, tweet, filtering"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"