Lunar

Lunar

A lightweight, self-hosted Function-as-a-Service platform for Lua and Starlark.

Description

Lunar is a lightweight, self-managed function-as-a-service platform that allows you to quickly create, deploy, and manage HTTP functions using Lua or Starlark in your lazy cat microservice. application introduction Lunar gathers function editing, publishing, invocation, and execution monitoring in a concise Web console. You can write Lua or Starlark functions directly in the browser and use them as HTTP interfaces, Webhooks, automated tasks, or lightweight APIs without having to maintain a separate cloud function platform. Lunar uses a single-application architecture with built-in data storage and runtime records, suitable for individual developers, home servers, internal tools and small automation services. The function code and configuration are saved on your lazy cat device, and you manage the data yourself. main function - Supports two lightweight scripting languages, Lua and Starlark. - Built-in Monaco code editor, autocompletion and API documentation. - Support GET, POST, PUT, DELETE, PATCH and other HTTP requests and custom paths. - Provides built-in capabilities such as HTTP requests, JSON, KV storage, environment variables, logging, encryption, time, URL, string, random number and Base64. - Supports OpenAI and Anthropic AI dialogue calls, and records AI request and response information. - Support sending emails through Resend, and set scheduled sending time. - Support function version management, version switching and version difference comparison. - Supports Cron scheduled execution, which can be used for periodic tasks and background automation. - Provides execution history, run logs, error information, response saving and execution indicator statistics. - Provides GraphQL management APIs and API Token capabilities for CLI and automated clients. - Support lazy cat OIDC login while retaining API Key and Bear Token authentication methods. - Built based on Go, deployment is lightweight, and operation and maintenance are simple. applicable scenarios - Create personal Webhooks and callback interfaces. - Build a lightweight REST API or data transformation interface. - Write scheduled tasks, notification tasks, and home automation logic. - Quickly encapsulate AI conversation, text processing and email sending capabilities. - Run small back-end services on a home server or internal network. safety instructions Lunar's HTTP function call endpoint is public by default, as long as you know the function call address, you can initiate the request. Functions do not automatically authenticate callers; if the function does not want to be called publicly, or if the function handles sensitive data, write your own criteria in the function code to verify the request header, signature, access token, or other identity information. The background management API supports calling using API Key or Bearer API Token. The lazy cat OIDC is used to log in to the Lunar background management interface and is not used for function calls. The API Key is automatically generated by the system and injected into the application's API_KEY environment variable. Administrators can view the Key in the environment variable of the application service.

Screenshots
Screenshot 1
Screenshot 2
App Information
Version
0.5.3
Package Size
160.5 KB
Image Size
15.08 MB
Updated
August 25, 2026
Source Code
dimiro1
Platform Support
PC