PageSourceSearch

https://operative.sh/assets/GitHubRepoLink-CjAkquxz.js

js operative.sh collected 2026-10-06 13:09:16 UTC 2,132 bytes, 1 lines download raw bytes

1import{j as t}from"./radix-ui-D_YMhc6v.js";import{r as o}from"./react-vendor-BqOCPj-l.js";const x=({repoUrl:r="https://github.com/Operative-Sh/web-eval-agent"})=>{const[n,l]=o.useState(null);return o.useEffect(()=>{const s=r.split("/"),a=s[s.length-2],c=s[s.length-1];fetch(`https://api.github.com/repos/${a}/${c}`).then(e=>e.json()).then(e=>{e.stargazers_count!==void 0&&l(e.stargazers_count)}).catch(e=>{console.error("Error fetching GitHub stars:",e)})},[r]),t.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-white/80 hover:text-white transition-colors",children:[t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:t.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})}),t.jsx("span",{children:"GitHub"}),n!==null&&t.jsxs("span",{className:"flex items-center bg-gray-800 px-2 py-0.5 rounded-full text-xs",children:[t.jsx("svg",{className:"w-3 h-3 mr-1",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),n]})]})};export{x as G};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.