perch_pull
Fetch Perchance generator code (modelText and outputTemplate) from public API to local files, enabling fast offline grep search without browser or Cloudflare.
Instructions
BROWSER-FREE code access. Fetch the authoritative modelText (main.pjs) and outputTemplate (index.html) from Perchance's public API in ~1.2s — no browser, no Cloudflare, no collab key needed — and write them to local files. Grep/read those files directly for full-speed, full-text search of a 40k-line generator. Works without perch_start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Output directory. Default <perch dir>/.perch-mirror/<name> | |
| name | No | Generator name. Defaults to the current session generator |