Skip to content

smnbbrv/astroscope

Repository files navigation

Astroscope

Note: This project is in active development. APIs may change between versions.

A collection of Astro integrations for common server-side needs — logging, tracing, security, i18n, and more.

Runtime: Node.js. Other runtimes (Bun, Deno, Cloudflare Workers) may work but are not tested or officially supported.

Packages

Package Description
@astroscope/boot Startup and graceful shutdown lifecycle hooks
@astroscope/csrf CSRF protection with path exclusions for webhooks and OIDC callbacks
@astroscope/excludes Reusable exclude patterns and helpers for middleware
@astroscope/health Kubernetes-style health probes — livez, readyz, startupz, healthz
@astroscope/hyperspace Build-time brotli/gzip compression with in-memory serving — better compression, zero runtime overhead
@astroscope/i18n i18n for Astro + React islands — dynamic translations from any source, auto-split per component, parallel loading
@astroscope/opentelemetry OpenTelemetry tracing and metrics — works in dev mode, no monkey-patching
@astroscope/pino Pino logging with request-scoped context
@astroscope/proxy HTTP proxy for strangler fig migrations and API gateways
@astroscope/wormhole Share dynamic server data with React islands and client scripts — typed, reactive

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run demo app
pnpm dev

# Run tests
pnpm test

# Typecheck
pnpm typecheck

License

MIT

About

Astro integrations built for production — logging, tracing, security, i18n, and more for real-world websites.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors