mirror of
https://github.com/tinyfish-io/tinyfish-cookbook.git
synced 2026-09-14 17:41:39 +08:00
4f37f09ccf
Full rewrite from Python FastAPI to Next.js App Router. The core recipe concept is unchanged — parallel TinyFish browser agents scrape 8 open-box and refurbished retailers simultaneously and stream results back via SSE as each one finishes. Fixes the proxy type error from the initial submission: proxyConfig.country_code in sites.ts is now typed as ProxyCountryCode imported from @tiny-fish/sdk rather than string. Also cleaned up the half-wired layout — layout.tsx is deleted since page.tsx redirects to public/index.html before anything renders, making the static-frontend pattern explicit. README added. --------- Co-authored-by: Krishna Agarwal <krishna.laptop3727@gmail.com>
23 lines
432 B
JSON
23 lines
432 B
JSON
{
|
|
"name": "openbox-deals",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@tiny-fish/sdk": "latest",
|
|
"next": "15.3.3",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"typescript": "^5"
|
|
}
|
|
}
|