Commit Graph

7 Commits

Author SHA1 Message Date
martbost b49206f642 Dockerfile: ship netdeals.js (the Network Weekend ribbon feed answered 500 without it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:33:46 -06:00
martbost 96d6281e3e Stack POL data in MySQL (Marty 2026-11-16: payout totals wiped on every deploy)
The indexer snapshot (was /tmp/stack-index.json) and the chatbot KB (was memory)
are now MySQL documents via docstore.js (DOCSTORE_URL, Coolify stackpol-mysql),
loaded before the server listens so a deploy shows the last totals at once.
Snapshot split into stack-index.json + stack-index-at.json so a push with no new
payouts rewrites only the tiny doc (docstore skips unchanged bodies). Ingest API
unchanged. Tested on core: restart keeps totals, /programs, /earn, member pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 04:46:28 -06:00
martbost 7446df2f4f Site assistant (Marty 2026-11-15): chat widget in the Stack POL look on every page, CANNED + FACTS from this repo (the on-page FAQ, programs.js, the 5-minute indexer, opt-in member pages, holds nothing, no income promise), retrieval over the shared network knowledge base on the hub (netkb.js as hub site stackpol; another site named = its answer, with its tracked LinkSpin link), reasoning off, account problems hand off to network support. Static server now serves .js/.css; Dockerfile copies the chat modules. chatbot.test 125 pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:11:04 -06:00
martbost 275a5a48bc Dockerfile copies netsites.js (the 6cc1c6d deploy rolled back on MODULE_NOT_FOUND)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:14:15 -06:00
martbost 05f3514b9e Stack POL Pro pages (Marty 2026-11-09): a Pro member's page shows their own LinkSpin Banner Spins in the ad spots (a spot with no fitting size keeps the network zone), their spin links, a purple Polygon QR to the page (/qr/<username>.svg, qrcode module) and a "Want a personalized page like this?" panel (join under the member, or Unlock Pro in IAP). Every page opened with ?ref=<Pro member> credits them on every call to action (join links, game links, program pages, internal links carry the ref) and shows their banners; no ref or a non-Pro ref = the standard network pages and zones. Blog posts now carry an ad spot after the third paragraph, and personalized posts end with the member's links and the Pro panel. Member pages also get a network spot and the latest blog posts. Indexer reads pro[] from IAP stack-optin.json and adds each Pro member's active spins and spin links (matched by username in LinkSpin).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:31:39 -06:00
martbost ad546660b9 Stack POL v1: live network totals, program pages, public ledger, opt-in member stacks, blog on the IAP/LinkSpin engine, full SEO (sitemap, robots, canonical, OG/Twitter, JSON-LD), branded share image; indexer on core pushes a snapshot every 5 min
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:14:16 -06:00
martbost f9531e1939 Stack POL placeholder: coming-soon page (static, nginx)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 05:20:45 -05:00