Skip to content

oopsio/jen.js

Jen.js (we-jenjs)

High-performance, feature-packed web framework for the modern web.

Key Features

  • Streaming SSR: Built-in streaming Server-Side Rendering with Preact.
  • ISR: Native Incremental Static Regeneration with automated disk caching.
  • Routing: Automatic file-based routing for both Pages (/pages) and APIs (/api).
  • i18n: Native internationalization with locale-based routing.
  • Optimization: Deeply integrated Font and Image optimization plugins.
  • Hardened: NIST SP 800-44 and OWASP ASVS L1 security headers by default.

Quick Start

# Install dependencies
bun install

# Start development server
bun x jen dev

# Build for production
bun x jen build

Project Structure

  • src/: Framework core (Server, ISR, Plugin system).
  • pages/: UI components (Preact/React).
  • api/: API route handlers.
  • jen.config.mjs: Core framework configuration.

License

MIT

About

The Preact Framework

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors