mirror of
https://github.com/tinyfish-io/tinyfish-cookbook.git
synced 2026-09-14 17:41:39 +08:00
9eb5a4f240
# Code Reference Finder **Live:** [https://code-reference-finder.vercel.app](https://code-reference-finder.vercel.app) Code Reference Finder helps you understand unfamiliar code by finding real-world usage examples from GitHub repositories and Stack Overflow. Paste a code snippet, and it uses AI to analyze the libraries and APIs used, then dispatches web agents to search GitHub and Stack Overflow, extract relevant examples, and display them side-by-side with relevance scores. ## How it uses TinyFish - Dispatches 10 parallel Mino browser agents (5 for GitHub repos, 5 for Stack Overflow posts) via SSE streaming - GitHub agents navigate the repo, read the README, and extract relevant code examples - Stack Overflow agents reason over post metadata (title, tags, score, excerpt) to score relevance - Live browser previews are embedded as iframes during agent execution - Results render incrementally as each agent finishes, sorted by relevance score ## Tech Stack Next.js 16 + React 19 + TypeScript + Tailwind CSS v4 + Framer Motion + Chrome Extension (MV3) Deployed on Vercel ## Demo https://github.com/user-attachments/assets/73feb7c2-60dd-492b-b440-165d0170a4aa
35 lines
670 B
JSON
35 lines
670 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts",
|
|
"**/*.mts"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|