awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dherault avatar

dherault/serverless-offline

0
View on GitHub↗
5,257 stele·807 fork-uri·JavaScript·MIT·3 vizualizări

Serverless Offline

serverless-offline este un plugin pentru Serverless Framework care oferă un simulator de infrastructură cloud locală. Acesta acționează ca un emulator local AWS Lambda și un mock AWS API Gateway, permițând dezvoltarea și testarea funcțiilor serverless pe o mașină locală fără a le desfășura pe un provider la distanță.

Proiectul se distinge prin simularea conexiunilor WebSocket bidirecționale și rutarea mesajelor, precum și prin imitarea ciclului de viață al cererilor unui gateway HTTP. Include un pipeline de autorizare a identității mock pentru a verifica token-urile și JWT-urile local și suportă montarea straturilor de dependențe virtuale în mediul de execuție.

În linii mari, instrumentul acoperă execuția funcțiilor pe mai multe runtime-uri cu moduri de execuție izolate, emularea gateway-ului cloud pentru rutarea cererilor și simularea triggerelor de evenimente programate pentru logica bazată pe timp. Oferă, de asemenea, capabilități pentru simularea invocării SDK-ului și mock-ul contextului cererii pentru a facilita testarea integrării locale.

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.

Istoric stele

Graficul istoricului de stele pentru dherault/serverless-offlineGraficul istoricului de stele pentru dherault/serverless-offline

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Colecții curatoriate care includ Serverless Offline

Colecții selectate manual în care apare Serverless Offline.
  • Emulatoare locale pentru AWS Lambda
  • Emulatori locali pentru servicii AWS

Alternative open-source pentru Serverless Offline

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Serverless Offline.
  • aws/aws-lambda-runtime-interface-emulatorAvatar aws

    aws/aws-lambda-runtime-interface-emulator

    1,128Vezi pe 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
    Vezi pe GitHub↗1,128
  • phodal/serverlessAvatar phodal

    phodal/serverless

    1,741Vezi pe 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
    Vezi pe GitHub↗1,741
  • awslabs/aws-sam-localAvatar awslabs

    awslabs/aws-sam-local

    6,734Vezi pe 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
    Vezi pe GitHub↗6,734
  • lambci/docker-lambdaAvatar lambci

    lambci/docker-lambda

    5,786Vezi pe 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#
    Vezi pe GitHub↗5,786
Vezi toate cele 30 alternative pentru Serverless Offline→

Întrebări frecvente

Ce face dherault/serverless-offline?

serverless-offline este un plugin pentru Serverless Framework care oferă un simulator de infrastructură cloud locală. Acesta acționează ca un emulator local AWS Lambda și un mock AWS API Gateway, permițând dezvoltarea și testarea funcțiilor serverless pe o mașină locală fără a le desfășura pe un provider la distanță.

Care sunt principalele funcționalități ale dherault/serverless-offline?

Principalele funcționalități ale dherault/serverless-offline sunt: 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.

Care sunt câteva alternative open-source pentru dherault/serverless-offline?

Alternativele open-source pentru dherault/serverless-offline includ: 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.…