How wynx1123/ai-welfare-hub works
This repository is a data-driven directory of AI services offering public or promotional API access. Users browse and filter site listings, compare policies, credits, protocols and live status, then follow a provider’s registration or API links. The documented Arena Hero game-to-Core-redemption capability is a separate branch. Runtime evidence shows refresh fetching guarded public endpoints and preserving stale fields before the static page and README consume the snapshots. Workflow details come from sampled source; broader directory capabilities are retained from the README.
Main entry points: build.mjs Page and README generation · refresh.mjs Snapshot refresh · fetchGuard.mjs Guarded fetch · index.html Browse and filter
Components 15
Service catalog
- Provider records
data/sites.json - Free API listings
data/free-apis.json - Listed AI services
Live monitoring
- Live snapshot
data/live.json - Snapshot refresh
scripts/refresh.mjs - Guarded fetch
scripts/lib/fetchGuard.mjs - Provider status APIs
Directory presentation
- Browse and filter
docs/index.html - Policy directory
README.md - Page and README generation
scripts/build.mjs
Arena redemption
- Arena Hero game
- Core redemption shop
- Provider access codes
Other components
- Directory visitor
- Provider registration
Connections 17
- Snapshot refresh → Provider records: reads providers
- Snapshot refresh → Live snapshot: reads prior snapshot
- Snapshot refresh → Guarded fetch: requests guarded fetch
- Guarded fetch → Listed AI services: probes home and mirrors
- Guarded fetch → Provider status APIs: fetches status and pricing
- Snapshot refresh → Live snapshot: writes refreshed snapshot
- Page and README generation → Provider records: reads listing data
- Page and README generation → Live snapshot: reads live status
- Page and README generation → Free API listings: reads API listings
- Page and README generation → Browse and filter: generates page
- Page and README generation → Policy directory: generates directory
- Directory visitor → Browse and filter: browses and filters
- Browse and filter → Provider registration: links to signup
- Directory visitor → Policy directory: reads provider policies
- Policy directory → Provider registration: links to signup
- Arena Hero game → Core redemption shop: earns Core for
- Core redemption shop → Provider access codes: exchanges for codes