A web GUI for bsky-saves that lets a Bluesky user export their saved posts as JSON, a flat Markdown file, or a self-contained HTML/CSS archive.
- Exports your Bluesky saved posts as JSON, Markdown, or a navigable HTML archive.
- Runs entirely in your browser — there is no server that holds your credentials or content.
- Optional hydration of threads, articles, and images via
bsky-savesrunning under Pyodide. - Two persistence modes: persist (default — your Library survives browser quit) and session mode (your Library is wiped on tab close / browser quit, opt in via the "Keep my saved posts in this browser" checkbox at sign-in).
The reference deployment lives at the domain configured for this build (see VITE_APP_DOMAIN in .env.example). The default is saves.lightseed.net.
Static SPA. Pyodide loads the published bsky-saves Python package in your browser; AT Protocol requests go directly from your browser to your PDS. Inventory is stored locally (IndexedDB in persist mode, sessionStorage in session mode). Exports are generated and downloaded entirely client-side.
No analytics service. No telemetry. The deployer cannot see your credentials, your saved posts, or any post content. Full details in docs/privacy.md.
- Clone the repo.
cp .env.example .envand edit theVITE_*values for your deployment.- Push to GitHub. Configure GitHub Pages to deploy from GitHub Actions.
- Set repository variables (Settings → Secrets and variables → Actions → Variables) for each
VITE_*value the deploy workflow needs. - Add a DNS
CNAMErecord at your domain provider pointing your chosen subdomain to<your-username>.github.io.
The full configuration table lives in the design spec: Configuration section.
The published bsky-saves Python package provides the bsky-saves serve command — a loopback HTTP daemon on 127.0.0.1:47826 that fetches images and extracts article text on the browser's behalf (working around CORS). Install with pipx install bsky-saves and run bsky-saves serve.
When the GUI is served from the hosted PWA (HTTPS, e.g. saves.lightseed.net) and the helper runs locally at http://127.0.0.1:47826 (HTTP), browsers apply security policies to that cross-origin loopback path. Behavior differs by browser:
- Chrome / Edge / Brave (Chromium-based): allowed. Newer Chrome versions may show a one-time Private Network Access (PNA) permission prompt; grant it to enable detection.
- Firefox: allowed. Firefox treats
localhostas a potentially-trustworthy origin and exempts it from the mixed-content block. - Safari (current macOS + iOS): blocked. Safari enforces the W3C secure-contexts rule strictly and refuses HTTPS-to-HTTP requests even when the target is
localhost. The GUI silently degrades to the in-browser Pyodide fallback for fetch; image and article backups won't run unless a Cloudflare Worker proxy is configured (see workaround 3 below).
The behavior is browser-enforced before any JavaScript runs — there is no client-side flag we can set to override it.
Pick one based on your priorities:
- Use the helper-served GUI directly. Open
http://127.0.0.1:47826in Safari withbsky-saves serve --guirunning. The GUI is bundled into the wheel; same features, no mixed-content boundary (the page itself is served over HTTP fromlocalhost). Bookmark it. - Use a different browser for the hosted PWA. Chrome, Edge, Firefox, Brave, Arc — any Chromium-based or Firefox-based browser. Helper detection works there.
- Set up a Cloudflare Worker proxy (
templates/cf-worker/). The hosted GUI can call your worker over HTTPS for image and article backups, sidestepping the mixed-content rule entirely. ~10 minutes of setup, runs on Cloudflare's free tier, no local helper needed. - Skip image and article backups. JSON / Markdown / HTML export work entirely in-browser on any browser; only the hydration features need a backend.
Two Cloudflare Worker templates ship under templates/cf-worker/, both deployable to the user's own Cloudflare account:
worker.js— image-only proxy. Hand-written, ~200 lines, easy to audit. Sufficient if you only want image backups.dist/worker-with-articles.bundle.js— image proxy + article extraction (Mozilla Readability + linkedom). Pre-built bundle. Pick this one if you also want article-text backups.
Two deployment paths, depending on preference:
- In-app setup guide — Settings → Backups → "Custom Cloudflare Worker proxy" walks you through the Cloudflare dashboard step-by-step (no CLI required). Source for either worker variant is presented inline with a Copy button. ~10 minutes end-to-end.
- Command line via
wrangler— seetemplates/cf-worker/README.mdfor the technical path withwrangler deploy.
The same proxy works around CORS for image and article fetches and serves over HTTPS, so it bypasses the mixed-content limitation that blocks Safari from reaching http://localhost-served helpers.
Requires Node 20 and pnpm 9.
pnpm install
pnpm dev # local dev server
pnpm test # run unit tests
pnpm build # production build to dist/
pnpm check # svelte-check + tsc
pnpm format # prettier.
├── app/ # Svelte + Vite source
├── tools/ # build-time helpers (e.g. CNAME plugin)
├── templates/cf-worker/ # Cloudflare Worker template
├── docs/
│ ├── superpowers/
│ │ ├── specs/ # design specs
│ │ └── plans/ # implementation plans
│ └── privacy.md # rendered at #/privacy
└── .github/workflows/ # CI and deploy
MIT — see LICENSE.
Pre-1.0. Working title for the product is "Bluesky Saves Exporter"; a final brand name has not been chosen. The implementation rolls out across plans under docs/superpowers/plans/.