{"id":50718239,"url":"https://github.com/riotcoke123/danetworkcode","last_synced_at":"2026-06-09T21:01:37.697Z","repository":{"id":363005986,"uuid":"1233476253","full_name":"Riotcoke123/danetworkcode","owner":"Riotcoke123","description":"streamerelist","archived":false,"fork":false,"pushed_at":"2026-06-06T23:49:57.000Z","size":3381,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-07T01:16:53.737Z","etag":null,"topics":["api","expreesjs","express","express-js","kickapi","nodejs","scuffed","twitch-api","twitchapi","youtube-api"],"latest_commit_sha":null,"homepage":"https://iceposeidon.network/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Riotcoke123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-09T02:15:35.000Z","updated_at":"2026-06-06T23:50:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Riotcoke123/danetworkcode","commit_stats":null,"previous_names":["riotcoke123/danetworkcode"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Riotcoke123/danetworkcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riotcoke123%2Fdanetworkcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riotcoke123%2Fdanetworkcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riotcoke123%2Fdanetworkcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riotcoke123%2Fdanetworkcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Riotcoke123","download_url":"https://codeload.github.com/Riotcoke123/danetworkcode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riotcoke123%2Fdanetworkcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34125332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","expreesjs","express","express-js","kickapi","nodejs","scuffed","twitch-api","twitchapi","youtube-api"],"created_at":"2026-06-09T21:01:35.627Z","updated_at":"2026-06-09T21:01:37.679Z","avatar_url":"https://github.com/Riotcoke123.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e🌐 DaNetworkCode Streamer Scraper\u003c/h1\u003e\n  \u003cp\u003e\u003cb\u003eA high-performance, multi-platform livestream monitoring service.\u003c/b\u003e\u003c/p\u003e\n  \u003cp\u003eActively tracks live status, viewer counts, metadata, and VODs across Kick, Twitch, YouTube, Vaughn, Parti, and \u003cb\u003ePump.fun\u003c/b\u003e.\u003c/p\u003e\n  \n  \u003cbr\u003e\n  \n  \u003cimg src=\"https://img.shields.io/badge/Node.js-18+-green.svg?style=for-the-badge\u0026logo=node.js\" alt=\"Node.js\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Express-Backend-black.svg?style=for-the-badge\u0026logo=express\" alt=\"Express\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Puppeteer-Scraper-04D361.svg?style=for-the-badge\u0026logo=puppeteer\" alt=\"Puppeteer\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/SQLite-Database-003B57.svg?style=for-the-badge\u0026logo=sqlite\" alt=\"SQLite\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Docker-Supported-2496ED.svg?style=for-the-badge\u0026logo=docker\" alt=\"Docker\"\u003e\n\u003c/div\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e✨ Key Features\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cb\u003eMulti-Platform Integration:\u003c/b\u003e Connects to Kick, Twitch, YouTube, Vaughn, Parti, and Pump.fun via API and web scraping to build a unified streamer database.\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003ePump.fun Crypto Streaming:\u003c/b\u003e Tracks streams tied to Solana mint addresses, complete with intelligent WebSocket/React rendering bypass using Puppeteer to scrape live viewer counts.\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003eAdvanced YouTube Quota Management:\u003c/b\u003e Features a built-in admin dashboard (\u003ccode\u003e/youtube-dashboard\u003c/code\u003e) to track daily/monthly usage, archive history, and prevent API exhaustion. Operates on a strict budget target (default 85%).\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003eKick OAuth2 \u0026 PKCE:\u003c/b\u003e Fully automated Kick token generation, client credentials usage, and refreshing for reliable data extraction.\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003eIntelligent Puppeteer Fallback:\u003c/b\u003e Uses headless browser scraping for platforms that require JS rendering, specifically tuned for low-core VPS environments (auto-restarts to prevent memory leaks).\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003eCrash-Proof Data:\u003c/b\u003e Utilizes \u003ccode\u003ebetter-sqlite3\u003c/code\u003e in WAL mode for persistent, lightning-fast reads and writes.\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003eSecurity Hardened:\u003c/b\u003e Routes are protected using \u003ccode\u003ehelmet\u003c/code\u003e and \u003ccode\u003eexpress-rate-limit\u003c/code\u003e.\u003c/li\u003e\n  \u003cli\u003e\u003cb\u003eInteractive Frontend:\u003c/b\u003e Serves a fully responsive UI displaying real-time live status updates, avatars, premiere badges, and viewer counts.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003e🚀 Installation \u0026 Setup\u003c/h2\u003e\n\u003cp\u003eEnsure you have Node.js version 18 or higher installed on your system, or use Docker for a containerized deployment.\u003c/p\u003e\n\n\u003ch3\u003eOption 1: Docker Compose (Recommended)\u003c/h3\u003e\n\n\u003cpre\u003e\u003ccode\u003e# 1. Clone and navigate to the directory\n  \ngit clone https://github.com/Riotcoke123/danetworkcode.git\n  \ncd danetworkcode\n\n# 2. Configure environment variables (see below)\ncp .env.example .env\n\n# 3. Build and run the container\n\ndocker-compose up -d --build\n\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch3\u003eOption 2: Standard Node.js / PM2\u003c/h3\u003e\n\n\u003cpre\u003e\u003ccode\u003e# 1. Clone the repository\n  \ngit clone https://github.com/Riotcoke123/danetworkcode.git\n  \ncd danetworkcode\n\n# 2. Install dependencies\n  \nnpm install\n  \n# 3. Configure environment variables\n  \ncp .env.example .env\n  \n# 4. Start the server\n  \nnpm start\n  \n# OR start with PM2 for production deployments\n  \nnpm run pm2-start\n  \n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2\u003e⚙️ Environment Variables (\u003ccode\u003e.env\u003c/code\u003e)\u003c/h2\u003e\n\u003cp\u003eYou will need to create a \u003ccode\u003e.env\u003c/code\u003e file in the root directory. Below are the required configurations:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003e# Server Settings\nPORT=3000\nCHECK_INTERVAL_SECONDS=300\nADMIN_TOKEN=your_secure_random_string_here\nTRUST_PROXY_HOPS=1\nUSER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36\n\n# Concurrency Limits (Tune based on your VPS cores/RAM)\nCONCURRENT_LIMIT=4\nPUPPETEER_CONCURRENT_LIMIT=2\nMAX_SCRAPES_BEFORE_RESTART=20\nSCRAPE_TIMEOUT_MS=240000\n\n# Streamer Lists (Comma separated)\nKICK_USERNAMES=streamer1,streamer2\nTWITCH_USERNAMES=streamer1,streamer2\nYOUTUBE_USERNAMES=streamer1,streamer2\nVAUGHN_USERNAMES=streamer1,streamer2\nPARTI_USER_IDS=12345,67890\nPUMPFUN_MINTS=21rKrtBzibPAZHAHQRzGiGDSh7XimCKB2a8VgsjZpump,AnotherMint\n\n# API Keys \u0026 Auth Setup\nYOUTUBE_API_KEY=your_google_api_key\nYOUTUBE_QUOTA_DAILY_LIMIT=1010000\nYOUTUBE_MONTHLY_BUDGET_PERCENT=0.85\n\nTWITCH_CLIENT_ID=your_twitch_client_id\nTWITCH_CLIENT_SECRET=your_twitch_client_secret\n\nKICK_CLIENT_ID=your_kick_client_id\nKICK_CLIENT_SECRET=your_kick_client_secret\nKICK_REDIRECT_URI=http://localhost:3000/auth/kick/callback\n\n# Optional Parti API Token\nPARTI_AUTH_TOKEN=your_parti_token\n\n# Optional Pump.fun API Key (if required by frontend API)\nPUMPFUN_API_KEY=your_pumpfun_api_key\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2\u003e🛡️ Admin Dashboard \u0026 Endpoints\u003c/h2\u003e\n\u003cp\u003eThis project exposes several endpoints. Admin routes require your \u003ccode\u003eADMIN_TOKEN\u003c/code\u003e passed as a Bearer token or as a query parameter (\u003ccode\u003e?token=YOUR_TOKEN\u003c/code\u003e).\u003c/p\u003e\n\n\u003ctable border=\"1\" cellspacing=\"0\" cellpadding=\"8\" width=\"100%\"\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003eEndpoint\u003c/th\u003e\n      \u003cth\u003eDescription\u003c/th\u003e\n      \u003cth\u003eAccess\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/api/streamers\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eReturns JSON list of all tracked streamers \u0026 their current live status.\u003c/td\u003e\n      \u003ctd\u003ePublic\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/api/stats\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eReturns aggregated viewer counts and total active streams.\u003c/td\u003e\n      \u003ctd\u003ePublic\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/login/kick\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eOAuth entry point to authorize the Kick API integration.\u003c/td\u003e\n      \u003ctd\u003ePublic (Rate Limited)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/youtube-dashboard\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eVisual HTML dashboard showing YouTube API quota consumption.\u003c/td\u003e\n      \u003ctd\u003e\u003cb\u003eAdmin Only\u003c/b\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/api/youtube/quota\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eReturns current YouTube quota usage and budget status data.\u003c/td\u003e\n      \u003ctd\u003e\u003cb\u003eAdmin Only\u003c/b\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/api/youtube/audit\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eGenerates JSON audit history for API compliance checks.\u003c/td\u003e\n      \u003ctd\u003e\u003cb\u003eAdmin Only\u003c/b\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003ccode\u003e/healthz\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eSystem health, active scrapers, quota snapshots, and error logs.\u003c/td\u003e\n      \u003ctd\u003e\u003cb\u003eAdmin Only\u003c/b\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003chr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eDeveloped \u0026 Maintained by \u003ca href=\"https://github.com/Riotcoke123\"\u003eRiotcoke123\u003c/a\u003e. Released under the GNU General Public License v3.0 (GPL-3.0).\u003c/i\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friotcoke123%2Fdanetworkcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friotcoke123%2Fdanetworkcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friotcoke123%2Fdanetworkcode/lists"}