Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


LambdaLabs

LambdaLabs is a small-scale implementation of AWS API Gateway, Lambda, and DynamoDB in one.
Explore the docs »

Report Bug · Request Feature

About The Project

LambdaLabs is a lightweight, hobby, and proof-of-concept project that enables dynamic creation of routes, serverless lambdas, and databases—while maintaining the performance of raw FastAPI. It features an intuitive web interface for managing routes, linking lambdas, and handling database interactions effortlessly. Ideal for rapid prototyping and experimentation.

(back to top)

Built With

  • Python
  • Redis
  • FastAPI

(back to top)

Getting Started

The easiest way to get LambdaLabs up and running is by using the docker-compose.yml file. Alternatively, you can run it locally with uvicorn.

Security

The web interface is restricted to allow only certain IPs for security reasons. By default, only localhost is allowed. Allowed IPs can be configured in the config.json file. To access the web interface use this link: http://localhost:8000/admin/routes/

Prerequisites

  • Ensure you have Python 3.8 or higher installed. You can download it from here.
  • Install pip, the Python package installer. It usually comes with Python, but you can verify by running:
    python -m ensurepip --upgrade
  • Install Docker from here.
  • Install uvicorn by running:
    pip install uvicorn

Installation

  1. Clone the repo
    git clone https://github.com/joexbayer/LambdaLabs.git
  2. Install Python dependencies
    pip install -r requirements.txt
  3. Run Redis container using Docker
    docker-compose up redis -d
  4. Run the application manually
    uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 4
  5. Alternatively, run the application in a Docker container
    docker-compose up

(back to top)

Roadmap

  • Workers and Defered Jobs
  • Logging
  • Websockets
  • Alternative function associations

(back to top)

About

LambdaLabs is a small-scale, hobby and proof-of-concept project that enables dynamic creation of routes, serverless lambdas, and databases.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages