[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5079":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":45,"readmeContent":46,"aiSummary":47,"trendingCount":16,"starSnapshotCount":16,"syncStatus":48,"lastSyncTime":49,"discoverSource":50},5079,"lago","getlago\u002Flago","getlago","Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics","https:\u002F\u002Fwww.getlago.com",null,"Go",9791,621,47,14,0,5,25,139,21,39.38,"GNU Affero General Public License v3.0",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"analytics","billing","clickhouse","events","fintech","go","ingestion","invoices","metering","open-source","payments","pricing","pricing-data-science","react","ruby","self-hosted","subscriptions","usage-based-billing","2026-06-12 02:01:08","\u003C!-- PROJECT LOGO -->\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago\">\n    \u003Cimg src=\"https:\u002F\u002Fuploads-ssl.webflow.com\u002F635119506e36baf5c267fecd\u002F635b6df0ee8effaa54c1fa42_banner-open-graph.jpg\" alt=\"Lago\">\n  \u003C\u002Fa>\n\n  \u003Ch1 align=\"center\">Lago\u003C\u002Fh1>\n\n  \u003Cp align=\"center\">\n    The AI-native billing platform\n    \u003Cbr \u002F>\n    Open-source metering, billing & revenue infrastructure for product-led companies.\n    \u003Cbr \u002F>\n    \u003Cbr \u002F>\n    \u003Ca href=\"https:\u002F\u002Fdoc.getlago.com\">Docs\u003C\u002Fa>\n    ·\n    \u003Ca href=\"https:\u002F\u002Fgetlago.com\">Website\u003C\u002Fa>\n    ·\n    \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\u002Fslack\">Slack\u003C\u002Fa>\n    ·\n    \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago\u002Fissues\">Issues\u003C\u002Fa>\n    ·\n    \u003Ca href=\"https:\u002F\u002Fgetlago.canny.io\u002F\">Roadmap\u003C\u002Fa>\n  \u003C\u002Fp>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n   \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fgetlago\u002Flago\" alt=\"Github Stars\">\u003C\u002Fa>\n   \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago\u002Freleases\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fgetlago\u002Flago\" alt=\"Release\">\u003C\u002Fa>\n   \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-AGPLv3-purple\" alt=\"License\">\u003C\u002Fa>\n   \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\u002Fslack\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSlack-community-%234A154B\" alt=\"Slack\">\u003C\u002Fa>\n   \u003Ca href=\"https:\u002F\u002Fwww.ycombinator.com\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FBacked%20by-Y%20Combinator-%23f26625\" alt=\"YC\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Trusted by\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\">\u003Cimg src=\"https:\u002F\u002Fgetlago.com\u002Fcustomers\u002Fpaypal.svg\" height=\"30\" alt=\"PayPal\" hspace=\"12\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\">\u003Cimg src=\"https:\u002F\u002Fgetlago.com\u002Fcustomers\u002Fmistral-ai.svg\" height=\"30\" alt=\"Mistral AI\" hspace=\"12\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\">\u003Cimg src=\"https:\u002F\u002Fgetlago.com\u002Fcustomers\u002Fgroq.svg\" height=\"30\" alt=\"Groq\" hspace=\"12\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\">\u003Cimg src=\"https:\u002F\u002Fgetlago.com\u002Fcustomers\u002Fsynthesia.svg\" height=\"30\" alt=\"Synthesia\" hspace=\"12\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.getlago.com\">\u003Cimg src=\"https:\u002F\u002Fgetlago.com\u002Fcustomers\u002Flaravel.svg\" height=\"30\" alt=\"Laravel\" hspace=\"12\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## What is Lago?\n\nLago is the open-source billing platform for usage-based, subscription-based, and hybrid pricing models. If you can track it, you can bill for it.\n\n- **Open-source** — self-host for full control over your data, or use Lago Cloud to get started faster. Either way, the code is transparent\n- **Payment-agnostic** — works with Stripe, Adyen, GoCardless, or any payment gateway\n- **API-first** — every feature available via REST API\n- **SOC 2 Type II certified**\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| **[Usage Metering](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Fmetering)** | Real-time event ingestion and aggregation for any pricing dimension |\n| **[Billing & Invoicing](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Finvoicing)** | Automated invoice generation for subscriptions, usage, and hybrid plans |\n| **[Entitlements](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Fentitlements)** | Feature access management tied directly to your billing plans |\n| **[Cash Collection](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Fpayments)** | Payment orchestration with dunning, retries, and multi-gateway support |\n| **[Revenue Analytics](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Fanalytics)** | Cross-stream visibility into MRR, usage trends, and revenue drivers |\n| **[Lago Embedded](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Fembedded)** | White-label billing for platforms and marketplaces |\n| **[Lago AI](https:\u002F\u002Fwww.getlago.com\u002Fproducts\u002Fai)** | AI-powered billing intelligence and MCP server for AI agents |\n| **[Integrations](https:\u002F\u002Fdoc.getlago.com\u002Fintegrations\u002Foverview)** | NetSuite, Xero, Salesforce, HubSpot, Avalara, AWS\u002FAzure\u002FGCP Marketplace, and more |\n\n## Get Started\n\n### Cloud (fastest)\n\nStart billing in minutes — no infrastructure to manage.\n\n[**Sign up for Lago Cloud**](https:\u002F\u002Fwww.getlago.com\u002Fpricing) or email hello@getlago.com\n\n### Self-hosted\n\n#### Requirements\n- Docker & Docker Compose\n- Git\n\n#### Quick start\n\n```bash\n# Clone the repo\ngit clone --depth 1 https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago.git\ncd lago\n\n# Generate RSA key\necho \"LAGO_RSA_PRIVATE_KEY=\\\"$(openssl genrsa 2048 | openssl base64 -A)\\\"\" >> .env\nsource .env\n\n# Start Lago\ndocker compose up\n```\n\nOpen http:\u002F\u002Flocalhost for the UI. The API is at http:\u002F\u002Flocalhost:3000.\n\n#### After an update\n\n```bash\ndocker compose up\n```\n\n#### Configuration\n\nIf your server is not at `localhost`, set these in your `.env`:\n\n```\nLAGO_API_URL=\"http:\u002F\u002Fyour-server:3000\"\nLAGO_FRONT_URL=\"http:\u002F\u002Fyour-server\"\n```\n\nFor the full list of environment variables and advanced configuration (S3\u002FGCS storage, SMTP, SSL, dedicated workers for high-volume), see the [self-hosted docs](https:\u002F\u002Fdoc.getlago.com\u002Fguide\u002Flago-self-hosted\u002Fdocker#configuration).\n\n#### Find your API key\n\n1. Open the **Developer** section in the sidebar\n2. Go to the **API keys** tab\n3. Click **Copy**\n\n## Documentation\n\n- [**Getting Started**](https:\u002F\u002Fdoc.getlago.com) — Full documentation\n- [**API Reference**](https:\u002F\u002Fdoc.getlago.com\u002Fapi-reference) — REST API docs\n- [**Billing Templates**](https:\u002F\u002Fgetlago.com\u002Fdocs\u002Ftemplates\u002Fintroduction) — Reproduce pricing models from Algolia, Segment, Mistral, OpenAI, and more\n- [**Development Environment**](.\u002Fdocs\u002Fdev_environment.md) — Set up Lago locally for development\n- [**Architecture**](.\u002Fdocs\u002Farchitecture.md) — Technical architecture and flows\n- [**Monitoring**](.\u002Fdocs\u002Fmonitoring.md) — Prometheus metrics and alerting\n\n## SDKs & Client Libraries\n\n| Language | Package |\n|----------|---------|\n| **Node.js** | [lago-javascript-client](https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago-javascript-client) |\n| **Python** | [lago-python-client](https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago-python-client) |\n| **Ruby** | [lago-ruby-client](https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago-ruby-client) |\n| **Go** | [lago-go-client](https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago-go-client) |\n\nFull OpenAPI spec: [lago-openapi](https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago-openapi)\n\n## Stay up to date\n\n- [Public Roadmap](https:\u002F\u002Fgetlago.canny.io\u002F)\n- [Changelog](https:\u002F\u002Fdoc.getlago.com\u002Fchangelog)\n- [Slack Community](https:\u002F\u002Fwww.getlago.com\u002Fslack)\n\n## Contributing\n\nWe welcome contributions! See our [contributing guide](https:\u002F\u002Fgithub.com\u002Fgetlago\u002Flago\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) and the [development environment setup](.\u002Fdocs\u002Fdev_environment.md).\n\nLook for issues labeled `beginner` or `help-wanted` to get started.\n\n## License\n\nDistributed under the AGPLv3 License. [Why we chose AGPLv3](https:\u002F\u002Fwww.getlago.com\u002Fblog\u002Fopen-source-licensing-and-why-lago-chose-agplv3).\n\n## Analytics & Tracking\n\nLago tracks basic actions on self-hosted instances by default. No customer PII or financial data is collected. [Learn more or opt out](https:\u002F\u002Fdoc.getlago.com\u002Fguide\u002Flago-self-hosted\u002Ftracking-analytics).\n","Lago 是一个开源的计量和基于使用量计费的API平台，支持消费跟踪、订阅管理、定价迭代、支付编排及收入分析。项目采用Go语言开发，具备开放源代码、支付方式无关（兼容Stripe、Adyen等多种支付网关）、API优先等技术特点，适用于需要灵活定价策略的产品导向型企业。通过Lago，用户可以轻松实现对各种定价维度的实时事件摄入与聚合，并自动化生成发票，同时支持自托管或云服务两种部署模式，确保了数据的安全性和透明度。",2,"2026-06-11 03:02:24","top_language"]