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