chore: add pypi publish workflow and uv-first install docs

This commit is contained in:
jackwener
2026-03-05 16:16:00 +08:00
parent 6f322ff2d6
commit 1ca62d4635
3 changed files with 56 additions and 5 deletions

View File

@@ -4,13 +4,27 @@ Twitter/X 命令行工具 — 读取 Timeline、书签和用户信息。
**零 API Key** — 使用浏览器 Cookie 认证,免费访问 Twitter。
## 安装
```bash
# 推荐uv tool更快隔离环境
uv tool install twitter-cli
# 其次pipx
pipx install twitter-cli
```
从源码安装:
```bash
git clone git@github.com:jackwener/twitter-cli.git
cd twitter-cli
uv sync
```
## Quick Start
```bash
# 安装
cd twitter-cli
uv sync
# 运行(自动从 Chrome 提取 Cookie
twitter feed
```