A small news scraper for OddexVibe. It fetches news pages, pulls out the parts it needs with Cheerio, and saves them to Supabase so the game can turn real headlines into in-game market events.
- Node.js
- Cheerio for parsing HTML
- Supabase for storage
scraper.js, the scraperpackage.json, dependencies and the start script
The scraper needs the Supabase URL and key set as environment variables. Set them in your host dashboard, or in a local .env file for development. Do not commit real values.
You need Node.js installed.
npm install
npm start
This feeds data to OddexVibe (https://oddexvibe.com) and works alongside the ODDEX-BACKEND service.
Saima Hamid, Ninja Tech, Lahore. https://ninjatechdev.com