This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
cache: pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile --config.auto-install-peers=true
|
||||
|
||||
- name: Build dist
|
||||
run: pnpm run build:dist
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
cache: pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile --config.auto-install-peers=true
|
||||
|
||||
- name: Build package
|
||||
run: pnpm run build:dist
|
||||
|
||||
@@ -4,27 +4,20 @@
|
||||
|
||||
## Disclaimer
|
||||
|
||||
This project uses X/Twitter’s **undocumented** web GraphQL API through twitter safe relay. X can change endpoints,
|
||||
query IDs, and anti-bot behavior at any time — **expect this to break without notice**.
|
||||
This project uses X/Twitter’s [**documented**](https://github.com/fa0311/TwitterInternalAPIDocument) internal web
|
||||
GraphQL API through twitter safe relay. X can change endpoints, query IDs, and anti-bot behavior at any time —
|
||||
**expect this to break without notice**.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install -g @yuta/bird
|
||||
# or
|
||||
pnpm add -g @yuta/bird
|
||||
# or
|
||||
bun add -g @yuta/bird
|
||||
|
||||
# one-shot (no install)
|
||||
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
|
||||
|
||||
# one-shot (no install)
|
||||
npx -y @yuta/bird whoami
|
||||
```
|
||||
|
||||
Nix flakes:
|
||||
|
||||
+4
-3
@@ -197,10 +197,11 @@ bun add -g @yuta/bird</code></pre>
|
||||
<aside class="notice notice--warn" role="note" aria-label="Disclaimer">
|
||||
<div class="notice__icon" aria-hidden="true">!</div>
|
||||
<div class="notice__body">
|
||||
<p class="notice__title">Undocumented API.</p>
|
||||
<p class="notice__title">Documented internal API.</p>
|
||||
<p class="notice__text">
|
||||
bird uses X/Twitter’s private web GraphQL endpoints and rotating query IDs. X can change things anytime —
|
||||
expect breakage without notice.
|
||||
bird uses X/Twitter’s
|
||||
<a href="https://github.com/fa0311/TwitterInternalAPIDocument">documented</a> internal web GraphQL
|
||||
endpoints and rotating query IDs. X can change things anytime — expect breakage without notice.
|
||||
</p>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user