source for getorbyt.com getorbyt.com/
client bsky orbytapp app orbyt bluesky getorbyt orbytvideo atproto video
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README and configuration files for deployment clarity and asset management

- Added cleanup instructions for previous Pages project in README.
- Simplified compatibility flags in wrangler.jsonc.
- Updated ALTSTORE_FINISH_SETUP.md to clarify deployment behavior with Pages.
- Revised headers documentation in _headers for Cloudflare Worker assets.
- Excluded specific route from _routes.json to refine asset handling.

+57 -10
+1 -1
README.md
··· 46 46 ## Deployment 47 47 48 48 - **Runtime:** Cloudflare Worker deployed with `wrangler deploy` on route `getorbyt.com/*` 49 - - **Pages Project:** `orbyt-site.pages.dev` exists for Pages deployments/management, but production traffic is served by the Worker route 50 49 - **Config:** [wrangler.jsonc](wrangler.jsonc) — assets binding, ORBYT_API service, R2 bucket binding 51 50 - **Deploy Command:** `npm run build && npx wrangler deploy` 51 + - **Pages cleanup:** If you previously created a Pages project, see [docs/CLOUDFLARE_PAGES_CLEANUP.md](docs/CLOUDFLARE_PAGES_CLEANUP.md) 52 52 - **AltStore ADP:** hosted in Cloudflare R2; only `public/altstore/source.json` and `public/altstore/orbyt-icon.png` stay in site assets 53 53 - **AltStore Runbook:** see [docs/ALTSTORE_FINISH_SETUP.md](docs/ALTSTORE_FINISH_SETUP.md) → "Quick Release Checklist" 54 54
-2
docs/ALTSTORE_FINISH_SETUP.md
··· 120 120 npx wrangler deploy 121 121 ``` 122 122 123 - If you also deploy via Pages, note that Pages deploys alone do not update the `getorbyt.com/*` Worker route. 124 - 125 123 2. Verify the site source URL: 126 124 127 125 https://getorbyt.com/altstore/source.json
+17
docs/CLOUDFLARE_PAGES_CLEANUP.md
··· 1 + # Remove Cloudflare Pages (Worker-Only Setup) 2 + 3 + This site is served exclusively by a Cloudflare Worker. If you have a Pages project, use this to remove it. 4 + 5 + ## Delete Pages deployments and project 6 + 7 + If the Pages project has too many deployments to delete directly, prune deployments first: 8 + 9 + ```bash 10 + ./scripts/delete-pages-deployments.sh orbyt-site 11 + ``` 12 + 13 + Then delete the project: 14 + 15 + ```bash 16 + npx wrangler pages project delete orbyt-site -y 17 + ```
+2 -2
public/_headers
··· 1 - # Cloudflare Pages headers configuration 2 - # https://developers.cloudflare.com/pages/configuration/headers/ 1 + # Cloudflare Worker static assets headers 2 + # https://developers.cloudflare.com/workers/static-assets/configuration/ 3 3 4 4 # Font caching - 1 year with immutable (fonts never change once deployed) 5 5 /fonts/*
+1 -1
public/_routes.json
··· 1 1 { 2 2 "version": 1, 3 3 "include": ["/*"], 4 - "exclude": [] 4 + "exclude": ["/oauth-client-metadata.json"] 5 5 }
+35
scripts/delete-pages-deployments.sh
··· 1 + #!/usr/bin/env bash 2 + # Delete Cloudflare Pages deployments to allow project deletion. 3 + # Run from project root. Requires: wrangler, jq 4 + 5 + set -euo pipefail 6 + 7 + PROJECT_NAME="${1:-orbyt-site}" 8 + 9 + echo "Deleting deployments for Pages project: $PROJECT_NAME" 10 + echo "" 11 + 12 + deleted=0 13 + while true; do 14 + deployments=$(npx wrangler pages deployment list --project-name="$PROJECT_NAME" --json 2>/dev/null || echo "[]") 15 + count=$(echo "$deployments" | jq 'length') 16 + 17 + if [[ "$count" -eq 0 ]]; then 18 + echo "No more deployments." 19 + break 20 + fi 21 + 22 + echo "Found $count deployments remaining..." 23 + 24 + while IFS= read -r id; do 25 + echo " Deleting: $id" 26 + npx wrangler pages deployment delete "$id" --project-name="$PROJECT_NAME" -f 2>/dev/null || true 27 + ((deleted++)) || true 28 + sleep 0.3 29 + done < <(echo "$deployments" | jq -r '.[].Id') 30 + 31 + sleep 1 32 + done 33 + 34 + echo "" 35 + echo "Deleted $deleted deployments total."
+1 -4
wrangler.jsonc
··· 9 9 } 10 10 ], 11 11 "compatibility_date": "2026-01-29", 12 - "compatibility_flags": [ 13 - "nodejs_compat", 14 - "global_fetch_strictly_public" 15 - ], 12 + "compatibility_flags": ["nodejs_compat"], 16 13 "assets": { 17 14 "binding": "ASSETS", 18 15 "directory": "./dist"