Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
README.md
Bsky link service #
Preview the link warning pages #
From bskylink/, run:
pnpm install
pnpm dev:preview
No database or Safelink credentials are needed. Open:
- Blocked link: http://localhost:3000/_dev/link-warning
- Warning: http://localhost:3000/_dev/link-warning?type=warn
Edit src/html/linkWarningContents.ts for markup and copy,
src/html/linkWarningLayout.ts for the document and CSS, and locales/*.json
for translations. Node restarts when imported source files change; refresh the
browser to see changes. Restart manually after editing locale JSON files.
Set LINK_PORT to use a different port.
The standalone preview route is enabled only when NODE_ENV=development. It
returns 404 in production, test, or when NODE_ENV is unset. dev:preview
explicitly sets NODE_ENV=development and binds to loopback.