Skip to content

docs(readme): add Trendshift badge + star history graph + tagline fix#305

Merged
rohitg00 merged 5 commits into
mainfrom
docs/readme-trendshift-star-history-tagline
May 12, 2026
Merged

docs(readme): add Trendshift badge + star history graph + tagline fix#305
rohitg00 merged 5 commits into
mainfrom
docs/readme-trendshift-star-history-tagline

Conversation

@rohitg00
Copy link
Copy Markdown
Owner

@rohitg00 rohitg00 commented May 12, 2026

Summary

Four small README polishes flagged on the live README screenshot:

  1. Trendshift badge (repo #25123) under the tagline so the trending signal sits at eye level with the banner.
  2. Star history graph under the badge via star-history.com — uses <picture> with dark/light prefers-color-scheme variants matching the rest of the README's pattern.
  3. Tagline missed two first-party integrations that already ship plugin folders in this repo (integrations/hermes, integrations/openclaw); added Hermes + OpenClaw to the agent list.
  4. Karpathy-gist sentence reflows onto a single italic line. The previous <strong> + <br/> shape wrapped awkwardly on narrower viewports.

Not in this PR (deferred)

  • Stat-tag row redesign flagged on the same screenshot ("make them minimal beautiful" arrow at the row of recall %, fewer tokens, MCP tools, hooks, deps, tests). Needs new SVG assets in assets/tags/ and is worth doing as a separate visual pass rather than a quick edit.

Test plan

  • git diff --stat README.md — 17 insertions, 3 deletions, no code touched.
  • Visual check on the rendered README after merge — Trendshift badge + star history graph should render on both light and dark GitHub themes.

Summary by CodeRabbit

  • Documentation
    • Improved README hero/header formatting for clearer hierarchy and visual presentation.
    • Separated headline and tagline for better emphasis and readability.
    • Updated “Viral GitHub Gist” badge counts and rephrased the descriptive line into emphasized italic text for clearer presentation.

Review Change Stack

Three small README polishes flagged on the live README screenshot:

1. Add the Trendshift badge (repo #25123) directly under the tagline
   so the trending signal sits at eye level with the banner.
2. Add the star-history.com graph under the badge so the growth
   curve is visible without scrolling — uses <picture> with
   dark/light variants matching the rest of the README's
   prefers-color-scheme convention.
3. Tagline missed two first-party integrations that already ship
   plugin folders in this repo (integrations/hermes,
   integrations/openclaw); added Hermes + OpenClaw to the agent
   list so the supported-clients sentence matches what the
   integration index actually advertises.
4. Reflow the Karpathy-gist sentence onto a single italic line —
   the previous block-strong + <br/> shape wrapped awkwardly on
   narrow viewports.

Not in this PR (deferred): the stat-tag row redesign flagged on
the same screenshot. That needs new SVG assets in assets/tags/
and is worth doing as a separate visual pass rather than a quick
edit.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentmemory Ready Ready Preview, Comment May 12, 2026 3:24pm

Request Review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d8967d8c-16ea-4687-a9b3-2bcd2170f44b

📥 Commits

Reviewing files that changed from the base of the PR and between 1bddeb8 and 954d3c0.

📒 Files selected for processing (1)
  • README.md

📝 Walkthrough

Walkthrough

README hero section markup was restructured: headline/tagline nesting and line breaks were adjusted, the Viral GitHub Gist badge counts were updated, and an explanatory sentence was moved into its own italic paragraph.

Changes

README Documentation

Layer / File(s) Summary
Headline/tagline nesting and line-breaks
README.md
The <strong> wrapping the lead headline now ends before the "Persistent memory for …" tagline and a <br/> separates the tagline from the headline (lines 6–11).
Gist badge counts update
README.md
The Viral GitHub Gist badge image URL and alt text were updated to different stars/forks counts (lines 14–15).
Move explanatory sentence to italic paragraph
README.md
The "The gist extends …" sentence was moved out of the emphasized <strong> block into its own <em> paragraph and now includes “agentmemory is the implementation.” (lines 31–33).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 A tidy hero section now,
Headline settles, tagline hops free,
Stars recount on a tiny badge,
Italics whisper the little key,
agentmemory gives a cheerful squeak.

🚥 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 main changes: adding a Trendshift badge, star history graph, and fixing the tagline, matching the raw summary of README.md modifications and the PR objectives.
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.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-trendshift-star-history-tagline

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 and usage tips.

Copy link
Copy Markdown

@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: 1

🤖 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 `@README.md`:
- Line 14: The external anchor element using target="_blank" (the <a
href="https://trendshift.io/repositories/25123" target="_blank"> tag shown)
should include rel="noopener noreferrer" to prevent potential
reverse-tabnabbing; update the anchor by adding rel="noopener noreferrer"
alongside the existing attributes so the link opens in a new tab safely while
preserving the current behavior and attributes (src, alt, width, height).
🪄 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

Run ID: ee19719b-5b0b-45fb-9395-1b168a047343

📥 Commits

Reviewing files that changed from the base of the PR and between 03fb42d and 1a71fd9.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
</p>

<p align="center">
<a href="https://trendshift.io/repositories/25123" target="_blank"><img src="https://trendshift.io/api/badge/repositories/25123" alt="rohitg00/agentmemory | Trendshift" width="250" height="55"/></a>
Copy link
Copy Markdown

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

🧩 Analysis chain

🏁 Script executed:

cat -n README.md | sed -n '10,20p'

Repository: rohitg00/agentmemory

Length of output: 735


🌐 Web query:

reverse tabnabbing security vulnerability target blank 2024 2025

💡 Result:

Reverse tabnabbing (tabnabbing) vulnerability targeting target="_blank" was widely mitigated in modern “evergreen” browsers by 2023, due to browsers/standards implicitly enforcing rel="noopener" for links opened with target="_blank"; OWASP notes the issue is effectively “fixed” in modern browsers and calls it a legacy issue for older browsers/older configurations [1]. What the vulnerability is (how it works) - Reverse tabnabbing is a phishing technique where a page opened in a new tab can use the opener relationship to rewrite/redirect the original page/tab (commonly via window.opener) to a phishing site, tricking users into entering credentials on a lookalike page [1][2]. - OWASP’s testing guidance states this typically happens when an anchor uses target="_blank" without proper rel protections; pages opened via window.open are also vulnerable in affected environments [2]. How to mitigate / fix - OWASP and OWASP WSTG recommend ensuring links that use target="_blank" include rel="noopener noreferrer" [1][2]. - As additional defense-in-depth, security testing tooling like OWASP ZAP flags cases where target is used without both noopener and noreferrer as reverse tabnabbing risk and recommends using rel="noopener noreferrer" [3]. About “target blank” in 2024–2025 - There were no authoritative 2024–2025 “new CVEs” identified in the sources found here; instead, the most authoritative references state the issue is primarily a legacy condition in older browsers (e.g., OWASP explicitly cites browsers prior to Chrome 88 and Internet Explorer as vulnerable, and indicates modern browsers prevent it) [1][2]. - Therefore, the practical “2024/2025” risk is generally: apps (or embedded JS/legacy environments) that still emit target="_blank" links without rel="noopener" may be vulnerable for users on older/less compliant browsers or environments; otherwise modern browsers reduce the impact substantially [1].

Citations:


Add rel="noopener noreferrer" to external link for defense-in-depth security.

The Trendshift anchor uses target="_blank" without rel="noopener noreferrer". While modern browsers (Chrome 88+, Firefox, Safari, Edge) implicitly prevent reverse-tabnabbing by default, adding this attribute is a best-practice safeguard for older browsers and maintains defense-in-depth principles.

Suggested patch
-  <a href="https://trendshift.io/repositories/25123" target="_blank"><img src="https://trendshift.io/api/badge/repositories/25123" alt="rohitg00/agentmemory | Trendshift" width="250" height="55"/></a>
+  <a href="https://trendshift.io/repositories/25123" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/25123" alt="rohitg00/agentmemory | Trendshift" width="250" height="55"/></a>
📝 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
<a href="https://trendshift.io/repositories/25123" target="_blank"><img src="https://trendshift.io/api/badge/repositories/25123" alt="rohitg00/agentmemory | Trendshift" width="250" height="55"/></a>
<a href="https://trendshift.io/repositories/25123" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/25123" alt="rohitg00/agentmemory | Trendshift" width="250" height="55"/></a>
🤖 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 14, The external anchor element using target="_blank" (the
<a href="https://trendshift.io/repositories/25123" target="_blank"> tag shown)
should include rel="noopener noreferrer" to prevent potential
reverse-tabnabbing; update the anchor by adding rel="noopener noreferrer"
alongside the existing attributes so the link opens in a new tab safely while
preserving the current behavior and attributes (src, alt, width, height).

GitHub's image proxy doesn't reliably render <picture> with external
SVG sources from api.star-history.com — the entire block came back
empty in rendered README. Switched to the standard plain img inside
an anchor pattern that every other widely-used repo (k8s, react,
deno, etc) uses for star-history embeds. Single URL, no
prefers-color-scheme variants, single fetch path for the camo
proxy.
HTML form had unescaped `&type=Date` in src attribute. Browser/GitHub
parsed `&type` as an HTML entity attempt, so the URL camo fetched was
truncated to `?repos=rohitg00/agentmemory` — invalid endpoint, broken
image. Markdown form auto-escapes ampersands, matching every other
repo's star-history embed.
…riants

User-provided exact snippet. Switches:
- /svg -> /chart endpoint (canonical star-history.com API)
- type=Date -> type=date (lowercase, matches docs)
- adds legend=top-left
- <picture> with prefers-color-scheme dark/light sources
- outer link uses query-param form (?repos=...) not fragment (#repos=...)

Matches the pattern star-history.com's own embed-generator hands out.
@rohitg00 rohitg00 merged commit 292e9f6 into main May 12, 2026
4 checks passed
@rohitg00 rohitg00 deleted the docs/readme-trendshift-star-history-tagline branch May 12, 2026 15:25
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