Skip to content

Readme Added#12

Open
Yuvraj-Sarathe wants to merge 2 commits into
KDM-cli:mainfrom
Yuvraj-Sarathe:readme
Open

Readme Added#12
Yuvraj-Sarathe wants to merge 2 commits into
KDM-cli:mainfrom
Yuvraj-Sarathe:readme

Conversation

@Yuvraj-Sarathe
Copy link
Copy Markdown
Member

@Yuvraj-Sarathe Yuvraj-Sarathe commented May 26, 2026

Readme added

solving issue #10

Summary by CodeRabbit

  • New Features

    • Added Privacy Policy and Terms of Service pages.
    • Added favicon to the application.
    • Updated footer links to point to project resources.
  • Documentation

    • Added Code of Conduct, Contributing guidelines, and comprehensive README with setup instructions and project overview.

Review Change Stack

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

@Yuvraj-Sarathe is attempting to deploy a commit to the utkarsh232005's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

📝 Walkthrough

Walkthrough

This PR adds legal and community documentation to the KDM website. It introduces a code of conduct, contribution guidelines, and comprehensive README covering setup and deployment. Two new static routes render privacy and terms policies; the footer is updated with functional links to these pages, and the root route adds a favicon.

Changes

Legal & Policy Pages with Community Documentation

Layer / File(s) Summary
Community & Project Documentation
CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md
CODE_OF_CONDUCT establishes community standards following Contributor Covenant v2.1. CONTRIBUTING guides the development workflow, local setup, project structure, and licensing under AGPL v3. README documents site purpose, tech stack (TanStack Start/Router/Query, Tailwind CSS, shadcn/ui, Vite), deployment targets (Cloudflare Workers and Vercel), scripts, and contributor credits.
Privacy & Terms Policy Pages
src/routes/privacy.tsx, src/routes/terms.tsx, src/routeTree.gen.ts
New /privacy and /terms routes render static policy content inside layout components (Navbar, Footer) with head metadata for SEO. routeTree.gen.ts is regenerated to register both routes in the TanStack Router type system, including FileRoutesByFullPath, FileRoutesByTo, FileRoutesById, FileRouteTypes interfaces, and RootRouteChildren.
Footer Navigation & Root Metadata
src/components/Footer.tsx, src/routes/__root.tsx
Footer imports TanStack Link and converts Privacy/Terms navigation items from placeholder anchors to router-based links; Status and GitHub links point to external repositories with target="_blank" and rel="noreferrer". Root route adds a favicon link using a logo asset URL in head metadata.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested reviewers

  • utkarsh232005

Poem

🐰 A policy page hops into view,
Terms and privacy, shiny and new,
The footer now links where it should,
With community pledges and conduct so good,
KDM's foundation, properly stood! 📜✨

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'Readme Added' is overly vague and generic. While a README was added, the PR encompasses significantly more changes including contribution guidelines, code of conduct, privacy/terms pages, footer updates, and routing configuration. The title does not accurately reflect the scope of changes. Consider a more descriptive title that captures the main objective, such as 'Add documentation and legal pages (README, CONTRIBUTING, CODE_OF_CONDUCT, privacy, and terms)' or 'Set up project documentation and legal pages'.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Copy link
Copy Markdown

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Choose a reason for hiding this comment

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

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Quality Gate Profile: The Bare Minimum
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 5

🤖 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`:
- Around line 43-56: The project-structure code fence in CONTRIBUTING.md is
missing a language tag (triggering MD040); update the opening fence from ``` to
include a language hint such as ```text (or ```bash/```ansi if preferred) so the
block becomes a proper fenced code block and satisfies markdownlint; no other
content changes required—only modify the opening backticks for the listed src/
tree block.

In `@README.md`:
- Line 19: Update the hard-coded repository URLs in README.md to the canonical
repo; replace occurrences of "https://github.com/Yuvraj-Sarathe/kdm-website"
(used in the contributors badge and the clone instructions around lines 91-92)
with "https://github.com/KDM-cli/kdm-website" so badges and clone examples point
to the correct canonical repository; check for any other instances of the old
owner/repo string and update them consistently.
- Around line 114-151: The README's project-structure code fence lacks a
language tag and incorrectly lists routeTree.gen.ts under src/routes/; update
the fenced block to use a language tag (e.g., ```text) and change the tree line
from "│   │   └── routeTree.gen.ts # Auto-generated route tree" to "│   ├──
routeTree.gen.ts     # Auto-generated route tree" (matching the actual file
location), ensuring the fence opens and closes correctly around the block;
modify the lines that mention routeTree.gen.ts and the opening fence token only.

In `@src/components/Footer.tsx`:
- Line 20: In the Footer component update the broken external link href
(currently "https://github.com/KDM-cli/kdm-clim") to the correct repository URL
by replacing that string in the JSX anchor (check the href in Footer.tsx within
the Footer component) — set it to "https://github.com/KDM-cli/kdm-cli" and
confirm the anchor still includes any needed target/rel attributes for external
links.

In `@src/routes/terms.tsx`:
- Around line 24-25: Update the license text in the Terms page component to
match the repository's AGPL v3 license: replace the two lines that currently say
"MIT License" with language stating the software is distributed under the GNU
Affero General Public License v3 (AGPLv3), and update or add a link/reference to
the repository LICENSE (or to https://www.gnu.org/licenses/agpl-3.0.en.html) so
the rendered Terms component reflects AGPL v3 consistently with the rest of the
repo.
🪄 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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d7a70eb6-50e5-4228-9b6b-48149bc66a0e

📥 Commits

Reviewing files that changed from the base of the PR and between 9ff3b35 and 94e74b9.

⛔ Files ignored due to path filters (1)
  • src/assets/logo.png is excluded by !**/*.png
📒 Files selected for processing (8)
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • README.md
  • src/components/Footer.tsx
  • src/routeTree.gen.ts
  • src/routes/__root.tsx
  • src/routes/privacy.tsx
  • src/routes/terms.tsx

Comment thread CONTRIBUTING.md
Comment on lines +43 to +56
```
src/
├── assets/ # Static assets (images, icons)
├── components/ # React components
│ ├── docs/ # Documentation view components
│ └── ui/ # UI primitives (shadcn/ui)
├── hooks/ # React hooks
├── lib/ # Utility functions and libraries
├── routes/ # TanStack Router route definitions
├── router.tsx # Router configuration
├── server.ts # SSR error wrapper (entry point)
├── start.ts # TanStack Start instance
└── styles.css # Tailwind CSS v4 styles
```
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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add a language tag to the project-structure code fence.

Line 43 opens a fenced block without a language hint, which triggers MD040 in markdownlint.

Proposed fix
-```
+```text
 src/
 ├── assets/         # Static assets (images, icons)
 ├── components/     # React components
 │   ├── docs/       # Documentation view components
 │   └── ui/         # UI primitives (shadcn/ui)
 ├── hooks/          # React hooks
 ├── lib/            # Utility functions and libraries
 ├── routes/         # TanStack Router route definitions
 ├── router.tsx      # Router configuration
 ├── server.ts       # SSR error wrapper (entry point)
 ├── start.ts        # TanStack Start instance
 └── styles.css      # Tailwind CSS v4 styles
</details>

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.22.1)</summary>

[warning] 43-43: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

</details>

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

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

In @CONTRIBUTING.md around lines 43 - 56, The project-structure code fence in
CONTRIBUTING.md is missing a language tag (triggering MD040); update the opening
fence from to include a language hint such astext (or bash/ansi if
preferred) so the block becomes a proper fenced code block and satisfies
markdownlint; no other content changes required—only modify the opening
backticks for the listed src/ tree block.


</details>

<!-- fingerprinting:phantom:poseidon:hawk -->

<!-- This is an auto-generated comment by CodeRabbit -->

Comment thread README.md
<p align="center">
<a href="https://github.com/KDM-cli/kdm-cli"><img alt="KDM CLI" src="https://img.shields.io/badge/KDM-CLI-000?style=flat-square&logo=kubernetes"></a>
<a href="LICENSE"><img alt="License: AGPL v3" src="https://img.shields.io/badge/License-AGPL%20v3-blue?style=flat-square"></a>
<a href="https://github.com/Yuvraj-Sarathe/kdm-website/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/Yuvraj-Sarathe/kdm-website?style=flat-square"></a>
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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use the canonical repository URL in badges and clone instructions.

Line 19 and Lines 91-92 point to Yuvraj-Sarathe/kdm-website; this PR targets KDM-cli/kdm-website, so docs should default to the canonical repo.

Proposed fix
-  <a href="https://github.com/Yuvraj-Sarathe/kdm-website/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/Yuvraj-Sarathe/kdm-website?style=flat-square"></a>
+  <a href="https://github.com/KDM-cli/kdm-website/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/KDM-cli/kdm-website?style=flat-square"></a>
-git clone https://github.com/Yuvraj-Sarathe/kdm-website.git
+git clone https://github.com/KDM-cli/kdm-website.git
 cd kdm-website

Also applies to: 91-92

🤖 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` at line 19, Update the hard-coded repository URLs in README.md to
the canonical repo; replace occurrences of
"https://github.com/Yuvraj-Sarathe/kdm-website" (used in the contributors badge
and the clone instructions around lines 91-92) with
"https://github.com/KDM-cli/kdm-website" so badges and clone examples point to
the correct canonical repository; check for any other instances of the old
owner/repo string and update them consistently.

Comment thread README.md
Comment on lines +114 to +151
```
kdm-website/
├── src/
│ ├── assets/ # Static assets (logo.png, etc.)
│ ├── components/ # React components
│ │ ├── docs/ # Documentation view components
│ │ ├── ui/ # shadcn/ui primitives
│ │ ├── Commands.tsx # Interactive command demo section
│ │ ├── CTA.tsx # Call-to-action section
│ │ ├── Features.tsx # Features grid section
│ │ ├── Footer.tsx # Site footer
│ │ ├── Hero.tsx # Hero section
│ │ ├── Navbar.tsx # Navigation bar
│ │ └── Terminal.tsx # Terminal animation component
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utilities (docs, error handling, etc.)
│ ├── routes/ # TanStack Router route files
│ │ ├── __root.tsx # Root layout + SEO config
│ │ ├── index.tsx # Landing page
│ │ ├── docs.tsx # Documentation layout
│ │ ├── docs.index.tsx # Documentation index
│ │ ├── docs.$slug.tsx # Dynamic doc pages
│ │ ├── privacy.tsx # Privacy policy
│ │ ├── terms.tsx # Terms of service
│ │ └── routeTree.gen.ts # Auto-generated route tree
│ ├── router.tsx # Router configuration
│ ├── server.ts # SSR error wrapper
│ ├── start.ts # TanStack Start instance
│ └── styles.css # Global styles and Tailwind theme
├── .gitignore
├── CONTRIBUTING.md # Contribution guidelines
├── CODE_OF_CONDUCT.md # Code of conduct
├── LICENSE # GNU AGPL v3
├── package.json
├── tsconfig.json
├── vite.config.ts # Vite configuration
└── wrangler.jsonc # Cloudflare Workers configuration
```
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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix the project-structure block metadata and route-tree path.

Line 114 uses a fenced block without a language tag (MD040), and Line 138 lists routeTree.gen.ts under src/routes/, but the file in this PR is src/routeTree.gen.ts.

Proposed fix
-```
+```text
 kdm-website/
 ├── src/
@@
-│   │   └── routeTree.gen.ts # Auto-generated route tree
+│   ├── routeTree.gen.ts     # Auto-generated route tree
@@
-```
+```
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 114-114: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 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 114 - 151, The README's project-structure code fence
lacks a language tag and incorrectly lists routeTree.gen.ts under src/routes/;
update the fenced block to use a language tag (e.g., ```text) and change the
tree line from "│   │   └── routeTree.gen.ts # Auto-generated route tree" to "│ 
├── routeTree.gen.ts     # Auto-generated route tree" (matching the actual file
location), ensuring the fence opens and closes correctly around the block;
modify the lines that mention routeTree.gen.ts and the opening fence token only.

Comment thread src/components/Footer.tsx
Terms
</Link>
<a
href="https://github.com/KDM-cli/kdm-clim"
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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix the broken external Status link URL.

Line 20 uses https://github.com/KDM-cli/kdm-clim, which is a typo and results in a dead link.

Proposed fix
-              href="https://github.com/KDM-cli/kdm-clim"
+              href="https://github.com/KDM-cli/kdm-cli"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
href="https://github.com/KDM-cli/kdm-clim"
href="https://github.com/KDM-cli/kdm-cli"
🤖 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 `@src/components/Footer.tsx` at line 20, In the Footer component update the
broken external link href (currently "https://github.com/KDM-cli/kdm-clim") to
the correct repository URL by replacing that string in the JSX anchor (check the
href in Footer.tsx within the Footer component) — set it to
"https://github.com/KDM-cli/kdm-cli" and confirm the anchor still includes any
needed target/rel attributes for external links.

Comment thread src/routes/terms.tsx
Comment on lines +24 to +25
You may use, modify, and distribute this software in accordance with the terms of the
MIT License.
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.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Align Terms license text with the repository license.

Line 24 and Line 25 state MIT, which conflicts with the AGPL v3 licensing declared elsewhere in this PR and repository docs.

Proposed fix
-            You may use, modify, and distribute this software in accordance with the terms of the
-            MIT License.
+            You may use, modify, and distribute this software in accordance with the terms of the
+            GNU Affero General Public License v3.0 (AGPL-3.0).
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
You may use, modify, and distribute this software in accordance with the terms of the
MIT License.
You may use, modify, and distribute this software in accordance with the terms of the
GNU Affero General Public License v3.0 (AGPL-3.0).
🤖 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 `@src/routes/terms.tsx` around lines 24 - 25, Update the license text in the
Terms page component to match the repository's AGPL v3 license: replace the two
lines that currently say "MIT License" with language stating the software is
distributed under the GNU Affero General Public License v3 (AGPLv3), and update
or add a link/reference to the repository LICENSE (or to
https://www.gnu.org/licenses/agpl-3.0.en.html) so the rendered Terms component
reflects AGPL v3 consistently with the rest of the repo.

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