neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Paste a GitHub pull request link and get an AI review that sits on the diff itself. Findings are anchored to the exact lines, grouped by severity, and saved to a personal history.
Live demo: https://code-review-companion-navy.vercel.app
The API runs on a free host, so the first request after a quiet period can take up to a minute. Sign-in is Google only.
gemini-3.6-flash, then gemini-3.5-flash-lite, then gemini-3.8-flash) and moves on if one is overloaded, out of quota or too slow. Each request and the whole AI step have time limits. The GEMINI_MODELS variable can change the order.| Layer | Tools |
|---|---|
| Frontend | Next.js (App Router), TypeScript, Tailwind CSS, Framer Motion, React Three Fiber, react-diff-view |
| Auth | NextAuth with Google OAuth |
| Backend | Node.js, Express, TypeScript |
| Database | PostgreSQL (Neon), Prisma |
| AI | Google Gemini |
| Hosting | Vercel (web), Render (API) |
server/ Express API: GitHub fetch, Gemini review, reviews routes
web/ Next.js app: landing page, review pages, diff viewer
render.yaml Render service for the API
Create a Postgres database (Neon works) and a Google OAuth client.
In server/, copy .env.example to .env and fill in the variables below. Then run npm install, npx prisma migrate deploy and npm run dev.
| Variable | Required | What it is |
|---|---|---|
DATABASE_URL | Yes | Postgres connection string (Neon pooled URL) |
DIRECT_URL | Yes | Direct Postgres connection string, used by Prisma migrations |
GITHUB_TOKEN | Yes | GitHub personal access token for fetching PR diffs |
GEMINI_API_KEY | Yes | Google Gemini API key |
API_AUTH_SECRET | Yes | Shared secret, same value as in web/.env.local |
WEB_ORIGIN | Yes | Allowed web origins, comma-separated |
GEMINI_MODELS | No | Gemini models to try, in order, comma-separated. Default gemini-3.6-flash,gemini-3.5-flash-lite,gemini-3.8-flash |
TRUST_PROXY_HOPS | No (yes on Render) | Number of proxies in front of the API in production, 1 to 5, default 1. On Render it must be 3, see below |
On Render, set TRUST_PROXY_HOPS=3. That was measured: a request reaches the API through the visitor, then Cloudflare, then Render's proxy. Too low, and every visitor shows up as Render's internal proxy address and shares one rate-limit counter. Too high, and a visitor can fake their IP by sending their own X-Forwarded-For header. Other hosts default to 1; set it to however many proxies sit in front of the API there.
In web/, create .env.local with GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, NEXTAUTH_SECRET, API_AUTH_SECRET (same value as the server) and NEXT_PUBLIC_API_URL. Then run npm install and npm run dev.
Open http://localhost:3000.
Khizar Islam Rathore, Software Engineering student at the University of Karachi. GitHub: github.com/Khizar-Islam | LinkedIn: linkedin.com/in/khizar-islam-rathore