awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
oakserver avatar

oakserver/oak

0
View on GitHub↗
5,408 stars·242 forks·TypeScript·MIT·20 viewsoakserver.org↗

Oak

Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and Cloudflare Workers. It provides a unified system for building APIs and web servers using a sequential chain of middleware functions and a hierarchical routing engine that maps URL paths to handlers via a nested tree structure.

The framework includes a runtime-agnostic serverless adapter that translates diverse cloud provider events into a standard request and response interface. It also features a dedicated WebSocket server implementation for bidirectional real-time communication and a web session manager that utilizes asynchronous cookie signing and persistent storage.

The project covers a broad range of server capabilities, including static file serving, content negotiation, and multipart data parsing. Its security and observability surface includes tools for validating JSON Web Tokens, configuring security headers, logging HTTP traffic, and simulating application requests for testing purposes.

Features

  • Middleware-Based Request Pipelines - Provides a sequential chain of middleware functions that intercept and process incoming HTTP requests and responses.
  • Cross-Runtime Web Servers - Provides a unified web server implementation that operates across Deno, Node.js, Bun, and Cloudflare Workers.
  • HTTP Servers - Implements a cross-runtime web server compatible with Deno, Node.js, Bun, and Cloudflare Workers.
  • Handler Route Mapping - Features a hierarchical routing engine that maps URL paths to handlers using a nested tree structure.
  • HTTP Request Handling - Processes incoming network traffic through a structured sequence of handlers to generate client responses.
  • Path-Based Handler Routings - Maps specific URL paths to handler functions using a hierarchical system of nested routing rules.
  • Middleware Frameworks - Provides a framework for processing HTTP requests through modular handlers across multiple JavaScript runtimes.
  • Environment Runtime Adapters - Provides adapters that map various runtime-specific network events into standard Web API request and response objects.
  • HTTP Middleware Pipelines - Provides a sequential chain of middleware functions to process and transform incoming HTTP requests.
  • HTTP Routing - Ships a hierarchical routing system for directing incoming HTTP traffic to specific handlers based on paths.
  • Hierarchical Routing - Implements a hierarchical routing engine that maps URL paths to handlers via a nested tree structure.
  • URL Routing Engines - Implements a routing engine that maps URL paths to handlers using a nested tree structure.
  • Real-Time WebSocket Servers - Implements a dedicated WebSocket server to facilitate bidirectional, real-time communication channels.
  • Edge Network Deployment - Runs standardized web logic on edge environments by adapting cloud provider events into request objects.
  • Runtime Adapters - Includes a translation layer that maps cloud provider events into a unified request and response interface.
  • Serverless Adapters - Provides compatibility layers for deploying backend logic across diverse serverless runtime environments.
  • WebSocket Servers - Provides a dedicated server implementation for persistent, bidirectional real-time communication via WebSockets.
  • WebSocket Protocol Upgrades - Transitions active HTTP connections to the WebSocket protocol for continuous bidirectional communication.
  • Real-time Communication - Supports real-time bidirectional communication via WebSocket channels and server-sent events.
  • Server-Sent Events - Maintains open HTTP connections to push real-time data updates to clients via server-sent event streams.
  • Cookie Signing Utilities - Implements cryptographic signing for cookies to ensure session data integrity and prevent client-side tampering.
  • Web Session Management - Handles user authentication and persistent state through secure cookies and session storage.
  • Error Handling Middleware - Includes middleware that intercepts uncaught exceptions in the request pipeline to provide centralized error responses.
  • Request Context State - Uses a request-scoped context object to share state and data between middleware and final request handlers.
  • Standardized Event Mapping - Translates diverse cloud provider events into a unified request and response interface for serverless environments.
  • Execution Error Interception - Includes middleware that intercepts uncaught exceptions during the request pipeline to provide centralized error responses.
  • Session State Management - Manages persistent user state across multiple requests using external storage engines and secure cookies.
  • Static Asset Serving - Delivers assets from the local filesystem while managing browser caching and content headers.
  • Filesystem Static File Servings - Implements stream-based delivery of static files directly from the local filesystem to the client.
  • Web Frameworks - A middleware framework for Deno's net server.

Star history

Star history chart for oakserver/oakStar history chart for oakserver/oak

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Oak

Similar open-source projects, ranked by how many features they share with Oak.
  • h3js/h3h3js avatar

    h3js/h3

    5,353View on GitHub↗

    Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including Node.js, edge runtimes, and serverless platforms. It functions as a cross-runtime web server and a web standard API wrapper, normalizing various runtime request and response objects into standard Web API signatures. The project serves as an HTTP middleware orchestrator and request handler, utilizing a middleware-based request pipeline and hierarchical route mounting to create modular server structures. It distinguishes itself through a runtime-agnostic event wrapper that ensures c

    TypeScript
    View on GitHub↗5,353
  • dodyg/practical-aspnetcoredodyg avatar

    dodyg/practical-aspnetcore

    10,382View on GitHub↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    View on GitHub↗10,382
  • revel/revelrevel avatar

    revel/revel

    13,224View on GitHub↗

    Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a model-view-controller architecture to separate business logic from user interface rendering, providing a comprehensive system for routing, parameter binding, and session management. The project distinguishes itself with a high-productivity development environment featuring automatic code compilation and hot-reloading, which refreshes the application state and templates upon file changes without requiring manual restarts. It also employs reflection-based parameter binding to automati

    Go
    View on GitHub↗13,224
  • elysiajs/elysiaelysiajs avatar

    elysiajs/elysia

    18,531View on GitHub↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    TypeScriptbunframeworkhttp
    View on GitHub↗18,531
See all 30 alternatives to Oak→

Frequently asked questions

What does oakserver/oak do?

Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and Cloudflare Workers. It provides a unified system for building APIs and web servers using a sequential chain of middleware functions and a hierarchical routing engine that maps URL paths to handlers via a nested tree structure.

What are the main features of oakserver/oak?

The main features of oakserver/oak are: Middleware-Based Request Pipelines, Cross-Runtime Web Servers, HTTP Servers, Handler Route Mapping, HTTP Request Handling, Path-Based Handler Routings, Middleware Frameworks, Environment Runtime Adapters.

What are some open-source alternatives to oakserver/oak?

Open-source alternatives to oakserver/oak include: h3js/h3 — Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… revel/revel — Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a… iron/iron — Iron is a Rust web framework used for building concurrent web applications and APIs. It functions as a concurrent HTTP… vibora-io/vibora — Vibora is an asynchronous Python web framework and built-in HTTP server designed for building high-performance web…