π Script Marketplace β
Ready-to-use scrapers. Copy, paste, and run. No setup. No configuration. Just working code.
Overview β
The Script Marketplace is a collection of community-ready scrapers for popular websites. Each script is:
- β Ready to run β Copy, paste, and execute
- β Self-documenting β Includes OpenAPI docs
- β Modular β Easy to modify for your needs
β οΈ Note: Websites change their HTML structure over time. If a selector returns
null, update it manually. These scripts are starting points, not permanent solutions.
Why Piggy? β
Piggy is just a command mapper for the Nothing Browser binary. The library does almost nothing β it maps TypeScript commands to socket messages.
| Feature | Piggy | Puppeteer |
|---|---|---|
| Library size | ~50KB | ~50MB |
| Communication | Socket (fast) | CDP (complex) |
| Port to other languages | Trivial (just map commands) | Extremely complex |
Piggy library code is so simple you could paste it into an LLM and get a working Go/Python/Rust version.
Puppeteer? Not even close.
Available Scripts β
| Website | Script | Status | Features |
|---|---|---|---|
| Amazon | amazon.ts | β Available | Search, product details, pagination, API server |
| eBay | ebay.ts | β Available | Search, sold research, deals, trends, profit analysis |
| Walmart | walmart.ts | π Coming soon | Product search, inventory check |
| Gemini/AI | gemini.ts | π Coming soon | AI-powered scraping |
Quick Start β
Step 1: Copy the script β
# Create a new file
touch amazon-scraper.tsStep 2: Paste the code β
Copy the entire script from the Amazon scraper page into your file.
Step 3: Install Piggy β
bun add nothing-browserStep 4: Download the binary β
Download nothing-browser-headless from GitHub Releases and place it in your project root.
# Make it executable (Linux/macOS)
chmod +x nothing-browser-headlessStep 5: Run β
bun run amazon-scraper.tsStep 6: Test the API β
# Search for products
curl "http://localhost:3000/amazon/search?q=mattress&pages=3"
# Get product details
curl "http://localhost:3000/amazon/product?url=https://www.amazon.com/dp/B0DGNVSYX3"Sample Output β
When you run the Amazon scraper, you get clean, structured JSON:
{
"asin": "B0DGNVSYX3",
"title": "Intex 64449ED Dura-Beam Deluxe Plush Air Mattress",
"price": "KESΒ 11,631.21",
"rating": "4.4 out of 5 stars",
"image": "https://m.media-amazon.com/images/I/61dIljEKKIL._AC_UL320_.jpg",
"url": "https://www.amazon.com/dp/B0DGNVSYX3"
}Few lines of code. Clean data. No bloat.
Will There Be a Nothing Γ Puppeteer Script? β
No. Not from me.
Piggy uses socket communication. Puppeteer uses CDP (Chrome DevTools Protocol). They're completely different engineering levels.
- Piggy library: ~50KB, just maps commands to socket messages
- Puppeteer library: ~50MB, entire CDP implementation
If someone manages to make CDP and socket communicate fast β like how Piggy currently works β I will gladly market it as "Use Puppeteer to control Nothing Browser."
But I won't code it myself. I have other priorities.
Want to build it? Open a PR. I'll endorse you.
Selector Maintenance β
Websites change their HTML structure frequently. If a script stops working:
- Open the website in your browser
- Right-click β Inspect the element you want
- Find a unique class or attribute
- Update the selector in the script
Example:
// Old selector (broken β Amazon changed their HTML)
el.querySelector(".product-title")?.textContent
// New selector (fixed)
el.querySelector("h2 span")?.textContentTest before you commit. Make sure your changes work.
Contributing Scripts β
Have a scraper for a website not listed?
- Test your script thoroughly
- Open a PR on GitHub
- Include:
- The full script
- Sample output (at least 3 items)
- Any special instructions
Guidelines:
- Use
actHuman(true)for natural delays - Include error handling where appropriate
- Add OpenAPI
detailfor documentation - Save results to a JSON file
Version Requirements β
| Script | Min Binary | Min Library |
|---|---|---|
| Amazon | v0.1.12 | v0.0.18 |
| eBay | v0.1.12 | v0.0.18 |
| Walmart (coming) | v0.1.12 | v0.0.18 |
Check your versions:
./nothing-browser-headless --version
bun list | grep nothing-browserSee Version Compatibility for details.
Next Steps β
- Amazon Scraper β Get started with Amazon
- eBay Scraper β Reseller intelligence API
- Quick Start β Learn Piggy basics
- Remote Deployment β Run on a VPS
- Proxy Support β Rotate IPs
Nothing Ecosystem Β· Ernest Tech House Β· Kenya Β· 2026