Skip to content

photon-js/photon

Repository files navigation

Photon

⚠️ Alpha Stage: Photon is currently in alpha. APIs may change before stable release.

Next-generation server toolkit designed for library and framework developers who need universal server capabilities.

Packages

Core

Server Adapters

Deployment Adapters

Examples

Philosophy

Photon is designed as an unopinionated and flexible alternative to Nitro, specifically for framework developers who need:

Universal Server Support

  • Any server framework: Hono, Express, Fastify, Elysia, H3, HatTip
  • Any deployment target: Cloudflare, Vercel, Netlify, Node.js, VPS
  • Any runtime: Node.js, Cloudflare Workers, Deno, Bun

Framework Developer Focus

  • Easy integration for Vite-based frameworks
  • Universal middleware that works across all server frameworks
  • Server code-splitting: Deploy each route to separate edge workers
  • Hot Module Replacement for server code
  • TypeScript-first with excellent developer experience

Powered by Modern Standards

  • Built on Vite's Environment API
  • Uses Web Standard APIs for universal compatibility
  • Leverages Universal Middleware for framework-agnostic capabilities

Documentation

See also

About

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •