返回排行榜

orlabs/orange

Luaorange.sumory.com

OpenResty/Nginx Gateway for API Monitoring and Management.

gatewaynginxproxyngx-luaopenrestylorapirestymonitoring
Star 增长趋势
Star
2.3k
Forks
571
周增长
Issues
76
1k2k
2023年1月2024年3月2025年5月2026年7月
README

Orange

Build Status license

中文 | English | Website

A Gateway based on OpenResty(Nginx + Lua) for API Monitoring and Management.

Install & Usages

Install of Production Environment (Not Support macOS)

1) Install Dependencies

We recommend that you use luarocks to install Orange to reduce problems caused by dependency extensions in different operating system releases.

System dependencies (openresty, resty-cli, luarocks, etc.) necessary to install Orange on different operating systems, See: Install Dependencies Document.

2) Install Lor Framework

Check the official documentation for Lor Framework or execute the following command.

git clone https://github.com/sumory/lor.git
cd lor
sudo make install

3) Install Orange

curl -Lo install.sh https://raw.githubusercontent.com/orlabs/orange/master/install/install-orange.sh
sudo sh install.sh

After the installation process is completed, the output message orange 0.8-1 is now installed in /usr/local/orange/deps (license: MIT) indicates that the installation was successful.

4) Import MySQL

Requirements: MySQL Version 5.5+

  • Login to the MySQL client, create an orange database.

  • Import the data table (/usr/local/orange/conf/orange-v0.8.1.sql).

  • Modify the Orange configuration file (/usr/local/orange/conf/orange.conf) MySQL related configuration.

5) Start Orange

sudo orange start

After the Orange launches successfully, the dashboard and API Server are started:

  • Access Dashboard via http://localhost:9999.
  • Access API Server via http://localhost:7777.

At this point, Orange has all been installed and configured, please enjoy it.

Install of Development Environment (Not Support macOS)

1) Dependencies and Lor

Please use the Install Dependencies and Install Lor Framework methods in Install of Production Environment to install.

2) Install Orange

git clone https://github.com/orlabs/orange.git
cd orange
sudo make dev

After the installation process is completed, the output message Stopping after installing dependencies for orange-master 1.0-0 indicates that the installation was successful.

3) Import MySQL

Please use the Import MySQL methods in Install of Production Environment to import.

Note: Install Orange in Development Environment.

  • The MySQL Data Table file and the Orange Config file are located in the conf folder of the current project.

  • Import the data table (/usr/local/orange/conf/orange-master.sql).

4) Start Orange

sudo ./bin/orange start

Access method after the successful startup of Orange, please refer to: Start Orange in Install of Production Environment.

Usages

CLI tools

orange help to check usages:

Usage: orange COMMAND [OPTIONS]

The commands are:

start   Start the Orange Gateway
stop    Stop current Orange
reload  Reload the config of Orange
restart Restart Orange
store   Init/Update/Backup Orange store
version Show the version of Orange
help    Show help tips

Documents

Find more about Orange on its website. There is only a Chinese version for now.

Docker

https://store.docker.com/community/images/syhily/orange maintained by @syhily

Contributors

See also

The plugin architecture is highly inspired by Kong.

License

MIT

相关仓库
BerriAI/litellm

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

PythonPyPIOtheranthropiclangchain
docs.litellm.ai/docs/
54.4k10k
zeromicro/go-zero

A cloud-native Go microservices framework with cli tool for productivity.

GoGo ModulesMIT Licensegolangmicroservice
go-zero.dev
33.2k4.3k
forezp/SpringCloudLearning

《史上最简单的Spring Cloud教程源码》

JavaMavenspring-cloudspring-boot
17.9k8k
Portkey-AI/gateway

A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.

TypeScriptnpmMIT Licensegatewaygenerative-ai
portkey.ai/features/ai-gateway
12.5k1.2k
rmyndharis/OpenWA

Free, Open Source, Self-Hosted WhatsApp API Gateway

TypeScriptnpmMIT Licenseapigateway
open-wa.org
11.7k2.7k
ThreeMammals/Ocelot

.NET API Gateway

C#MIT Licenseocelotdotnet
ocelot.readthedocs.io
8.7k1.7k
mnfst/manifest

Connect Your Agents And Harnesses With Any Provider 🦚

TypeScriptnpmMIT Licenseopenclawcost-tracking
manifest.build
7.3k480
katanemo/plano

Plano is an AI-native proxy server and data plane for agentic apps. Smart LLM routing, observability, agent orchestration, and guardrails so you stay focused on your agents core logic.

Rustcrates.ioApache License 2.0gatewaygenerative-ai
planoai.dev
6.9k469
luraproject/lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

GoGo ModulesOtherapi-gatewaymicroservice
luraproject.org
6.8k585
maximhq/bifrost

Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.

GoGo ModulesApache License 2.0gatewayllm
getmaxim.ai/bifrost
6.7k928
easegress-io/easegress

A Cloud Native traffic orchestration system

GoGo ModulesApache License 2.0gohttp
megaease.com/easegress/
5.9k496
dromara/lamp-cloud

[灯灯]微服务中后台快速开发平台,支持jdk21、jdk17、jdk8,专注于多租户、开放平台解决方案,亦可作为普通项目(非SaaS架构)的基础开发框架使用,目前已实现插拔式数据库隔离、SCHEMA隔离、字段隔离 等租户隔离方案。

JavaMavenApache License 2.0springcloudspringboot
tangyh.top
5.7k1.8k