Lago
getlago/lago
开源的计量与按用量计费 API,适合 API 和 SaaS 计费
部署命令
git clone --depth 1 https://github.com/getlago/lago.git
cd lago
echo "LAGO_RSA_PRIVATE_KEY=\"$(openssl genrsa 2048 | openssl base64 -A)\"" >> .env
docker compose up -d摘自项目 README。需要一台装了 Docker 的服务器,命令可能还需补充环境变量。
项目简介(摘自 README)
Lago is the programmable system between product usage and revenue. Send events from your application, turn them into billable metrics, apply pricing and entitlements, then generate invoices and collect payments.
- 星数
- ★ 10.6k
- 语言
- Go
- 许可证
- AGPL-3.0
- 最近更新
- 2026-09-18
- 分类
- 支付计费
- 场景
- 🌏 出海辅助