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
dherault avatar

dherault/serverless-offline

0
View on GitHub↗
5,257 stars·807 forks·JavaScript·MIT·15 views

Serverless Offline

serverless-offline is a Serverless Framework plugin that provides a local cloud infrastructure simulator. It acts as an AWS Lambda local emulator and AWS API Gateway mock, allowing for the development and testing of serverless functions on a local machine without deploying to a remote provider.

The project distinguishes itself by simulating bidirectional WebSocket connections and message routing, as well as mimicking the request lifecycle of an HTTP gateway. It includes a mock identity authorizer pipeline to verify tokens and JWTs locally and supports the mounting of virtual dependency layers into the execution environment.

Broadly, the tool covers function execution across multiple runtimes with isolated execution modes, cloud gateway emulation for request routing, and the simulation of scheduled event triggers for time-based logic. It also provides capabilities for SDK invocation simulation and request context mocking to facilitate local integration testing.

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.

Star history

Star history chart for dherault/serverless-offlineStar history chart for dherault/serverless-offline

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

Curated searches featuring Serverless Offline

Hand-picked collections where Serverless Offline appears.
  • AWS Lambda Local Emulators
  • Local AWS Service Emulators

Open-source alternatives to Serverless Offline

Similar open-source projects, ranked by how many features they share with Serverless Offline.
  • aws/aws-lambda-runtime-interface-emulatoraws avatar

    aws/aws-lambda-runtime-interface-emulator

    1,128View on 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
    View on GitHub↗1,128
  • phodal/serverlessphodal avatar

    phodal/serverless

    1,741View on 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
    View on GitHub↗1,741
  • awslabs/aws-sam-localawslabs avatar

    awslabs/aws-sam-local

    6,734View on 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
    View on GitHub↗6,734
  • lambci/docker-lambdalambci avatar

    lambci/docker-lambda

    5,786View on 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#
    View on GitHub↗5,786
See all 30 alternatives to Serverless Offline→

Frequently asked questions

What does dherault/serverless-offline do?

serverless-offline is a Serverless Framework plugin that provides a local cloud infrastructure simulator. It acts as an AWS Lambda local emulator and AWS API Gateway mock, allowing for the development and testing of serverless functions on a local machine without deploying to a remote provider.

What are the main features of dherault/serverless-offline?

The main features of dherault/serverless-offline are: 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.

What are some open-source alternatives to dherault/serverless-offline?

Open-source alternatives to dherault/serverless-offline include: 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.…