awesome-repositories.com
Blog
MCP
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
·
dherault avatar

dherault/serverless-offline

0
View on GitHub↗
5,257 stars·807 forks·JavaScript·MIT·4 vues

Serverless Offline

serverless-offline est un plugin du Serverless Framework qui fournit un simulateur d'infrastructure cloud locale. Il agit comme un émulateur local AWS Lambda et un mock AWS API Gateway, permettant le développement et le test de fonctions serverless sur une machine locale sans déploiement vers un fournisseur distant.

Le projet se distingue en simulant des connexions WebSocket bidirectionnelles et le routage de messages, ainsi qu'en mimant le cycle de vie des requêtes d'une passerelle HTTP. Il inclut un pipeline d'autorisation d'identité mock pour vérifier les jetons et JWT localement, et prend en charge le montage de couches de dépendances virtuelles dans l'environnement d'exécution.

Globalement, l'outil couvre l'exécution de fonctions sur plusieurs runtimes avec des modes d'exécution isolés, l'émulation de passerelle cloud pour le routage des requêtes, et la simulation de déclencheurs d'événements planifiés pour la logique temporelle. Il fournit également des capacités de simulation d'invocation SDK et de mock de contexte de requête pour faciliter les tests d'intégration locaux.

Features

  • Local Serverless Emulation - Emulates the full serverless stack locally, including an HTTP server that mimics cloud gateway request lifecycles.
  • Local Cloud Simulation - Provides a comprehensive local simulation of serverless events, WebSocket connections, and SDK invocations.
  • Serverless Framework Plugins - Acts as a plugin for the Serverless Framework to enable local cloud infrastructure emulation.
  • Gateway Service Mocks - Mimics the request lifecycle, routing, and authorizers of the AWS API Gateway.
  • Local Lambda Simulation - Runs and tests serverless functions on a local machine by mocking event servers to process requests.
  • Local Function Execution - Executes serverless functions locally using worker threads or containers to verify business logic.
  • API Gateway Simulators - Simulates an HTTP gateway locally to test request routing, CORS settings, and response mapping without a live provider.
  • Local SDK Invocation Simulation - Creates local endpoints that mimic cloud APIs to trigger functions using a standard software development kit.
  • Bidirectional WebSocket Streaming - Provides local endpoints for full-duplex communication channels by mimicking cloud WebSocket routes.
  • Websocket Connection Managers - Provides an API endpoint to manage persistent WebSocket connections and send messages back to connected clients.
  • Serverless WebSocket Emulations - Simulates bidirectional WebSocket connections and message routing locally for real-time application development.
  • WebSocket Communication - Supports bidirectional traffic by mimicking WebSocket routes and providing a mechanism to send messages back to clients.
  • Isolated Execution Environments - Runs functions in isolated environments such as worker threads or containers to simulate runtime constraints.
  • Runtime Isolation Modes - Runs functions in varying environments including worker threads, child processes, or containers to simulate runtime constraints.
  • Remote Layer Mounting - Downloads and mounts remote dependency layers into local containers to provide required libraries.
  • Virtual Dependency Layers - Downloads remote library layers and mounts them into the local execution environment to provide required dependencies.
  • Layer Simulations - Emulates shared dependency layers by mapping host directories into the local runtime container.
  • Local Endpoint Invocations - Triggers local functions via endpoints using standard clients to test logic in isolation.
  • Local Serverless Testing - Provides local runtime environments for testing serverless functions and their interactions.
  • HTTP Request Routing - Implements mechanisms for mapping HTTP paths to specific handler components locally.
  • Multi-Language Runtime Support - Supports multiple programming language runtimes through various isolation modes like child processes or containers.
  • Access Policies - Validates requests using custom or JWT authorizers to determine resource access permissions.
  • Custom Authentication Providers - Integrates external authentication strategies via custom provider functions during local invocation.
  • Custom Authorization Logic - Emulates token, custom, and JWT authorizers to execute business-specific access validation logic.
  • Serverless Request Authorizers - Implements custom serverless logic to validate incoming API requests and mock authorizer responses.
  • Authorization Mocking - Intercepts requests to validate tokens or JWTs using simulated identity injection for local access control testing.
  • Service Invocation Emulations - Hosts a local HTTP server that emulates service invocation APIs to allow local functions to call each other.
  • Time-Based Event Scheduling - Executes function handlers automatically based on time-based configurations defined in local service settings.
  • Request and Response Transformers - Provides functions that modify data payloads during the request and response lifecycle.
  • Path-Based Handler Routings - Routes HTTP requests matching relative paths using proxy variables to a custom handler function.
  • Catch-All Path Captures - Captures all remaining path segments after a fixed prefix to route multiple requests to a single function.

Historique des stars

Graphique de l'historique des stars pour dherault/serverless-offlineGraphique de l'historique des stars pour dherault/serverless-offline

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

Collections incluant Serverless Offline

Sélections manuelles où Serverless Offline apparaît.
  • Émulateurs locaux pour AWS Lambda
  • Émulateurs de services AWS locaux

Questions fréquentes

Que fait dherault/serverless-offline ?

serverless-offline est un plugin du Serverless Framework qui fournit un simulateur d'infrastructure cloud locale. Il agit comme un émulateur local AWS Lambda et un mock AWS API Gateway, permettant le développement et le test de fonctions serverless sur une machine locale sans déploiement vers un fournisseur distant.

Quelles sont les fonctionnalités principales de dherault/serverless-offline ?

Les fonctionnalités principales de dherault/serverless-offline sont : Local Serverless Emulation, Local Cloud Simulation, Serverless Framework Plugins, Gateway Service Mocks, Local Lambda Simulation, Local Function Execution, API Gateway Simulators, Local SDK Invocation Simulation.

Quelles sont les alternatives open-source à dherault/serverless-offline ?

Les alternatives open-source à dherault/serverless-offline incluent : aws/aws-lambda-runtime-interface-emulator — The AWS Lambda Runtime Interface Emulator is a proxy server designed to replicate the cloud-based serverless execution… phodal/serverless — This project serves as a comprehensive technical guide and framework for building, deploying, and managing… awslabs/aws-sam-local — aws-sam-local is a Docker-based emulator used for running and debugging AWS Lambda functions and API Gateway… lambci/docker-lambda — docker-lambda is a Docker-based serverless simulator and local emulator designed to replicate AWS Lambda runtime… googlecloudplatform/functions-framework-nodejs — The functions-framework-nodejs project is an open-source execution environment and software framework for writing… quarkusio/quarkus — Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications.…

Alternatives open source à Serverless Offline

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Serverless Offline.
  • aws/aws-lambda-runtime-interface-emulatorAvatar de aws

    aws/aws-lambda-runtime-interface-emulator

    1,128Voir sur GitHub↗

    The AWS Lambda Runtime Interface Emulator is a proxy server designed to replicate the cloud-based serverless execution environment within a local container. It functions as a lightweight interface that allows developers to verify function logic, performance, and API integration by simulating the remote control plane and event invocation model on a local machine. The tool operates by intercepting HTTP requests and translating them into the structured JSON event payloads expected by serverless function handlers. It manages the function lifecycle through a synchronous event loop and maps local c

    Go
    Voir sur GitHub↗1,128
  • phodal/serverlessAvatar de phodal

    phodal/serverless

    1,741Voir sur GitHub↗

    This project serves as a comprehensive technical guide and framework for building, deploying, and managing event-driven applications. It focuses on serverless architecture development, providing patterns and practices for implementing cloud-native services that execute code in response to triggers without requiring persistent server infrastructure. The repository distinguishes itself by offering a unified approach to polyglot runtime orchestration, allowing developers to manage components written in multiple programming languages within a single project. It emphasizes local cloud emulation, e

    HTMLaws-lambdadynamodbebook
    Voir sur GitHub↗1,741
  • awslabs/aws-sam-localAvatar de awslabs

    awslabs/aws-sam-local

    6,734Voir sur GitHub↗

    aws-sam-local is a Docker-based emulator used for running and debugging AWS Lambda functions and API Gateway configurations on a local machine. It provides a local execution environment that mimics the AWS Lambda runtime, allowing for the verification of function code and serverless application mocks before cloud deployment. The project utilizes a runtime orchestrator to manage ephemeral containers, replicating the isolated execution environment of cloud functions. It includes a serverless API gateway simulator and event mocking tools to synthesize payloads from sources such as Kafka and othe

    Python
    Voir sur GitHub↗6,734
  • lambci/docker-lambdaAvatar de lambci

    lambci/docker-lambda

    5,786Voir sur GitHub↗

    docker-lambda is a Docker-based serverless simulator and local emulator designed to replicate AWS Lambda runtime environments. It provides a system for executing serverless functions locally and mirroring cloud execution environments through containerized images. The project includes a local API server that allows for function invocation via HTTP to eliminate cold starts during testing. It features a build tool for compiling native dependencies and packaging function code into deployment archives using specialized system images. The environment supports mirroring shared dependency layers by

    C#
    Voir sur GitHub↗5,786
Voir les 30 alternatives à Serverless Offline→