Skip to content

chore: prepare repo for open source - #52

Merged
santoshyadavdev merged 3 commits into
mainfrom
santoshyadavdev-oss-readiness-audit
Jul 16, 2026
Merged

chore: prepare repo for open source#52
santoshyadavdev merged 3 commits into
mainfrom
santoshyadavdev-oss-readiness-audit

Conversation

@santoshyadavdev

@santoshyadavdev santoshyadavdev commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Why

The repo is going open source but was missing standard OSS files and the README described a completely different project (an Nx demo with shop/api apps).

What changed

  • Added LICENSE -- MIT license file to match the "license": "MIT" already declared in package.json.
  • Rewrote README.md -- Replaced the auto-generated Nx template README with an accurate description of CommitStory: what it does, the tech stack (Angular 21 + Cloudflare Workers + Gemini AI), setup instructions, project structure, and development/deployment commands.
  • Added CONTRIBUTING.md -- Covers prerequisites, local setup (including creating your own KV/R2 resources), dev workflow via Nx, PR guidelines, and issue reporting.

Summary by CodeRabbit

  • Documentation
    • Added comprehensive end-to-end contribution guidance, including local setup, required keys/resources, monorepo commands (lint/tests/build/E2E), PR workflow expectations, issue reporting, and code of conduct.
    • Replaced the README with product-focused “CommitStory” documentation covering setup, architecture, development commands, deployment requirements, and configuration details.
  • Legal
    • Added the MIT License text with copyright attribution.

santoshyadavdev and others added 2 commits July 16, 2026 11:56
- Add MIT LICENSE file
- Rewrite README to accurately describe CommitStory
- Replace hardcoded KV namespace ID in wrangler.toml with placeholder
- Add CONTRIBUTING.md with setup and contribution guidelines

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The KV namespace ID is a resource identifier, not a secret. Contributors
will create their own namespace for local development.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2c210776-4ab7-48e3-a71d-2d9d195b6254

📥 Commits

Reviewing files that changed from the base of the PR and between e2e7ba2 and 6e21690.

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

📝 Walkthrough

Walkthrough

The PR replaces the README with CommitStory product and development documentation, adds end-to-end contribution guidance, and introduces an MIT license file.

Changes

Repository Documentation

Layer / File(s) Summary
Project overview and operations
README.md
Documents CommitStory’s functionality, stack, setup, Cloudflare resources, development commands, deployment, secrets, structure, contributing, and licensing.
Contribution and licensing guidance
CONTRIBUTING.md, LICENSE
Adds contribution workflows, local development guidance, issue and pull request practices, code of conduct, and MIT license terms.

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

Poem

A rabbit reads the README bright,
Then hops through setup day and night.
With MIT leaves beneath the tree,
Contributors join happily.
CommitStory tales now bloom with glee!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the repository-wide open-source preparation work.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

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

@coderabbitai coderabbitai Bot added the enhancement New feature or request label Jul 16, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🤖 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 `@CONTRIBUTING.md`:
- Line 93: Update the fenced Conventional Commits example in CONTRIBUTING.md by
adding the text language tag to its opening fence, preserving the example
content and closing fence.

In `@README.md`:
- Line 73: Update the repository tree code fence in README.md to include a
language tag, preferably text, immediately after the opening fence while
preserving the enclosed content.
- Around line 117-122: Update the README secret setup commands to invoke the
locally installed Wrangler consistently by prefixing both `secret put` commands
with `npx`, matching the surrounding setup instructions and avoiding reliance on
a global installation.
- Around line 44-48: Update the README environment setup instructions near the
.dev.vars copy command to match CONTRIBUTING.md by including the required .env
copy step, or explicitly document why .env is needed if the flows intentionally
differ.
🪄 Autofix (Beta)

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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d32c38fc-b466-41d0-b23c-becbc7668599

📥 Commits

Reviewing files that changed from the base of the PR and between 4bf834a and e2e7ba2.

📒 Files selected for processing (3)
  • CONTRIBUTING.md
  • LICENSE
  • README.md

Comment thread CONTRIBUTING.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
commitstory 6e21690 Commit Preview URL

Branch Preview URL
Jul 16 2026, 10:19 AM

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@santoshyadavdev

Copy link
Copy Markdown
Owner Author

Fixes Applied Successfully

Fixed 2 file(s) based on 4 unresolved review comment(s).

Files modified:

  • CONTRIBUTING.md
  • README.md

Commit: 6e21690

The latest autofix changes are on the santoshyadavdev-oss-readiness-audit branch.

@coderabbitai coderabbitai Bot removed the enhancement New feature or request label Jul 16, 2026
@santoshyadavdev
santoshyadavdev merged commit e044053 into main Jul 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant