Skip to content

docs: improve OSS README - #4915

Merged
GAlexIHU merged 7 commits into
mainfrom
codex/improve-oss-readme
Aug 11, 2026
Merged

GAlexIHU merged 7 commits into
mainfrom
codex/improve-oss-readme

Conversation

@GAlexIHU

@GAlexIHU GAlexIHU commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

I've been thinking for a long while that our README is sub-par but wasn't really sure what should be included... I'm really liking this direction and I think its significantly better.

See preview here https://github.com/openmeterio/openmeter/tree/codex/improve-oss-readme

Summary by CodeRabbit

  • Documentation
    • Reworked the main documentation to clarify OpenMeter’s monetization capabilities, product fit, runtime guidance, production considerations, community resources, and licensing.
    • Added a streamlined local evaluation guide covering prerequisites, stack setup, readiness checks, and cleanup.
    • Added Bash, TypeScript, and Python quickstart examples for ingesting events and checking meter usage.
    • Documented asynchronous processing and local-environment limitations.

Greptile Summary

The PR substantially rewrites the OSS documentation to clarify OpenMeter’s capabilities, intended use, runtime guidance, and community resources.

  • Adds Bash, TypeScript, and Python quickstart paths with asynchronous usage polling.
  • Expands the standalone quickstart with setup, exploration, and cleanup instructions.
  • Adds an architecture graphic showing how metering feeds access decisions and billing.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
README.md Reworks the project overview, capability guidance, quickstart examples, deployment notes, and community links without an eligible blocking issue.
assets/how-openmeter-works.svg Adds an accessible architecture illustration for the metering, entitlement, and billing flow.
quickstart/README.md Replaces the previous walkthrough with streamlined Bash and SDK examples plus clearer local-stack guidance; the previously raised polling concern was withdrawn.

Reviews (7): Last reviewed commit: "docs: clarify Helm chart scope" | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The pull request rewrites the main README and quickstart guide. It adds product positioning, local evaluation instructions, Bash and SDK examples, asynchronous usage polling, runtime guidance, and production deployment information.

Changes

OpenMeter documentation refresh

Layer / File(s) Summary
Product positioning and capabilities
README.md
The README updates branding and positioning. It adds architecture, product-fit, capability, pricing, entitlement, billing, and integration sections.
Local evaluation workflow
README.md, quickstart/README.md
The documentation adds Docker Compose setup, Bash, TypeScript, and Python examples, asynchronous usage polling, timeout handling, exploration links, local-stack limitations, and cleanup instructions.
Runtime and production guidance
README.md
The README adds runtime architecture, production deployment guidance, optional Redis and Svix usage, release pinning, and project links.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: borbelyr-kong

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the documentation changes and matches the main README and quickstart revisions.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/improve-oss-readme

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@GAlexIHU GAlexIHU added the release-note/misc Miscellaneous changes label Aug 11, 2026
Comment thread quickstart/README.md
@GAlexIHU
GAlexIHU marked this pull request as ready for review August 11, 2026 13:21
@GAlexIHU
GAlexIHU requested a review from a team as a code owner August 11, 2026 13:21
turip
turip previously approved these changes Aug 11, 2026

@turip turip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

chrisgacsal
chrisgacsal previously approved these changes Aug 11, 2026
chrisgacsal
chrisgacsal previously approved these changes Aug 11, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🧹 Nitpick comments (1)
README.md (1)

99-105: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Pin the versions used by the quickstart.

npm install @openmeter/sdk tsx, pip install --pre openmeter, and latest container images resolve moving versions. Later releases can change the documented APIs or behavior. Pin versions tested with this README, or document a supported compatibility range.

As per path instructions: “Assess the documentation for misspellings, grammatical errors, missing documentation and correctness.”

Also applies to: 149-155, 194-197

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 99 - 105, Pin the dependency versions used throughout
the README quickstarts, including `@openmeter/sdk`, tsx, openmeter, and container
image references at the noted sections. Use versions tested with the documented
examples, or state a supported compatibility range, and keep all installation
and execution commands consistent with those versions.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@quickstart/README.md`:
- Around line 47-50: Update the quickstart examples’ event identity fields so
each run uses a unique id and subject across all three payloads, preventing
deduplication on reruns; alternatively, clearly document the required cleanup
step before rerunning. Ensure the corresponding query examples remain correct
for the chosen behavior.
- Around line 41-59: Update the Bash example around the ingest curl and polling
loop to fail on unsuccessful results: capture and validate the ingest HTTP
status as 204, track whether the polling response matched `"value":1`, and exit
non-zero when ingestion fails or ten attempts complete without a match. Preserve
printing the final response only after maintaining these checks.

In `@README.md`:
- Around line 85-91: Update the README polling loop around the response
validation so it matches a JSON metric value exactly equal to 1, rather than
allowing values such as 10. Use a JSON-aware check or boundary-aware pattern
while preserving the existing retry and sleep behavior.
- Around line 73-91: The Bash example should fail on HTTP and command errors.
Add `set -euo pipefail` before the requests and include the `-f` option in the
initial POST `curl` command; preserve the existing polling and response output
behavior.
- Around line 39-42: Update the “How mature is it?” entry to use the precise
release-status wording “Releases are in beta,” and either add dated
authoritative citations supporting the metering engine’s production history and
billions of usage events or soften/remove those claims if suitable sources are
unavailable.
- Around line 56-64: Update the README prerequisites around the local evaluation
stack to state that Docker Compose 2.1.1 or later is required for the `--wait`
option used in `docker compose up -d --wait`; keep the existing command
unchanged.

---

Nitpick comments:
In `@README.md`:
- Around line 99-105: Pin the dependency versions used throughout the README
quickstarts, including `@openmeter/sdk`, tsx, openmeter, and container image
references at the noted sections. Use versions tested with the documented
examples, or state a supported compatibility range, and keep all installation
and execution commands consistent with those versions.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cf9c6305-d5b7-4a60-a73f-479ae94d3880

📥 Commits

Reviewing files that changed from the base of the PR and between 170e66c and 001b5bf.

⛔ Files ignored due to path filters (1)
  • assets/how-openmeter-works.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • README.md
  • quickstart/README.md

Comment thread quickstart/README.md
Comment thread quickstart/README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

55-57: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

List npm as a TypeScript prerequisite.

The TypeScript example runs npm install and npx tsx, but this list names only Node.js. Add npm to match quickstart/README.md and avoid a missing-command failure.

As per path instructions, “Assess the documentation for misspellings, grammatical errors, missing documentation and correctness.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 55 - 57, Update the prerequisites sentence in the
README to explicitly list npm alongside Node.js for the TypeScript examples,
matching the prerequisite documentation in quickstart/README.md while preserving
the existing Git, Docker, curl, and Python requirements.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@README.md`:
- Around line 55-57: Update the prerequisites sentence in the README to
explicitly list npm alongside Node.js for the TypeScript examples, matching the
prerequisite documentation in quickstart/README.md while preserving the existing
Git, Docker, curl, and Python requirements.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 6d6f480a-e58b-4b02-9bf2-bf8d449e39e0

📥 Commits

Reviewing files that changed from the base of the PR and between f7d7453 and 5a8f1df.

📒 Files selected for processing (2)
  • README.md
  • quickstart/README.md

@GAlexIHU
GAlexIHU enabled auto-merge (squash) August 11, 2026 14:20
@GAlexIHU
GAlexIHU merged commit 18ac9a3 into main Aug 11, 2026
42 checks passed
@GAlexIHU
GAlexIHU deleted the codex/improve-oss-readme branch August 11, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc Miscellaneous changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants