awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·10 vuesoakserver.org↗

Oak

Oak est un framework de middleware HTTP multi-runtime et un serveur web conçu pour fonctionner sur Deno, Node.js, Bun et Cloudflare Workers. Il fournit un système unifié pour construire des API et des serveurs web en utilisant une chaîne séquentielle de fonctions middleware et un moteur de routage hiérarchique qui mappe les chemins d'URL aux gestionnaires via une structure d'arbre imbriquée.

Le framework inclut un adaptateur serverless agnostique au runtime qui traduit divers événements de fournisseurs cloud en une interface standard de requête et de réponse. Il dispose également d'une implémentation dédiée de serveur WebSocket pour une communication bidirectionnelle en temps réel et un gestionnaire de session web qui utilise la signature de cookies asynchrone et le stockage persistant.

Le projet couvre un large éventail de capacités serveur, incluant le service de fichiers statiques, la négociation de contenu et l'analyse de données multipart. Sa surface de sécurité et d'observabilité inclut des outils pour valider les JSON Web Tokens, configurer les en-têtes de sécurité, journaliser le trafic HTTP et simuler des requêtes d'application à des fins de test.

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.

Historique des stars

Graphique de l'historique des stars pour oakserver/oakGraphique de l'historique des stars pour oakserver/oak

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Oak

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Oak.
  • h3js/h3Avatar de h3js

    h3js/h3

    5,353Voir sur 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
    Voir sur GitHub↗5,353
  • dodyg/practical-aspnetcoreAvatar de dodyg

    dodyg/practical-aspnetcore

    10,382Voir sur 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
    Voir sur GitHub↗10,382
  • revel/revelAvatar de revel

    revel/revel

    13,224Voir sur 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
    Voir sur GitHub↗13,224
  • elysiajs/elysiaAvatar de elysiajs

    elysiajs/elysia

    18,531Voir sur 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
    Voir sur GitHub↗18,531
Voir les 30 alternatives à Oak→

Questions fréquentes

Que fait oakserver/oak ?

Oak est un framework de middleware HTTP multi-runtime et un serveur web conçu pour fonctionner sur Deno, Node.js, Bun et Cloudflare Workers. Il fournit un système unifié pour construire des API et des serveurs web en utilisant une chaîne séquentielle de fonctions middleware et un moteur de routage hiérarchique qui mappe les chemins d'URL aux gestionnaires via une structure d'arbre imbriquée.

Quelles sont les fonctionnalités principales de oakserver/oak ?

Les fonctionnalités principales de oakserver/oak sont : 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.

Quelles sont les alternatives open-source à oakserver/oak ?

Les alternatives open-source à oakserver/oak incluent : 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…