feat: publish bird via gitea and nix
CI / test (push) Failing after 6m27s

This commit is contained in:
2026-06-24 14:55:06 +09:00
parent fd78705954
commit 96535c33f9
9 changed files with 222 additions and 44 deletions
+20 -5
View File
@@ -10,14 +10,27 @@ query IDs, and anti-bot behavior at any time — **expect this to break without
## Install
```bash
npm install -g @steipete/bird
npm install -g @yuta/bird
# or
pnpm add -g @steipete/bird
pnpm add -g @yuta/bird
# or
bun add -g @steipete/bird
bun add -g @yuta/bird
# one-shot (no install)
bunx @steipete/bird whoami
bunx @yuta/bird whoami
```
Gitea Packages:
```bash
npm config set @yuta:registry=https://git.yutakobayashi.com/api/packages/yuta/npm/
npm install -g @yuta/bird
```
Nix flakes:
```bash
nix run git+https://git.yutakobayashi.com/yuta/bird -- --help
```
Homebrew (macOS, prebuilt Bun binary):
@@ -130,7 +143,7 @@ By default, the command fetches from For You, News, Sports, and Entertainment ta
`bird` can be used as a library (same GraphQL client as the CLI):
```ts
import { TwitterClient } from '@steipete/bird';
import { TwitterClient } from '@yuta/bird';
const client = new TwitterClient({
relayBaseUrl: process.env.TWITTER_RELAY_BASE_URL
@@ -334,6 +347,8 @@ pnpm install
pnpm run build # dist/ + bun binary
pnpm run build:dist # dist/ only
pnpm run build:binary
nix build .#bird
nix run .# -- --help
pnpm run dev tweet "Test"
pnpm run dev -- --plain check