Files
viraladblitz/.env.example
T
martbost d611c4b251 Restyle ViralAdBlitz to the approved "daylight cyberpunk" look (Marty 2026-11-14)
Replaces the dark ink-green/amber newsroom look Marty rejected as too dark.
Look only: routes, ids, copy facts and the trust pack are unchanged.

- vab.css rewritten around CSS variables: #EAF0FF ground, white clipped
  cards, royal #0A1F6B bands/ticker, #0A2FA8 hero panels with network
  lines, red pill CTA, gold Boost/boosted, Barlow Condensed / Chakra Petch /
  Inter / JetBrains Mono. [hidden] now always wins over display rules.
- Front page: slanted hero, ribbon, green-check list, rising bars, three
  YOUR AD screens, gold chips; board tabs (verified clicks / on the wire /
  boosted, from data the page already has); Boost band; ledger chips.
- Member page: own ad as a hero panel, level rows with LEVEL chips, royal
  join bar. Rows are now labelled LEVEL 1 to LEVEL 5 in display order
  (Marty's decision); the real place is kept in the API as depth.
- My page becomes the dashboard: side menu, stat cards, my-ad card with
  LIVE/BOOSTED badges and a folded editor, line bars, Boost ring, recent
  activity, payouts. All figures from /api/my, nothing estimated.
- Boost, ledger, contract, promote, legal and admin pages restyled; 404 too.
- Default JOIN_URL is now https://instantadpay.com/join/{ref} (no ref
  falls back to the InstantAdPay home page).
- New mark, icon, OG image, 21 kit creatives and 3 proof cards
  (royal/daylight/navy) rendered by tools/art.mjs; asset tags bumped to v=4.
- smoke.mjs: new headline, level/depth and join URL checks, UI_FONTS=1.

Tests: qa/smoke.mjs 162/162, qa/chain.mjs 20/20 (local anvil).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:17:30 -06:00

45 lines
2.6 KiB
Bash

# ViralAdBlitz app env (Coolify). Never commit real values.
DOCSTORE_URL= # mysql://user:pass@host:3306/viraladblitz REQUIRED for launch (files are local prototype only)
SITE_HOST=viraladblitz.com
SESSION_SECRET= # random hex; default = generated into DATA_DIR/.secret
ADMIN_TOKEN= # x-admin-token for /api/admin/* (8+ characters)
NETWORK_SSO_SECRET= # same value as InstantAdPay + LinkSpin; they must also list viraladblitz under wallets
WALLETCONNECT_PROJECT_ID= # Reown id (IAP project); add viraladblitz.com to its allowlist first
NETWORK_SITE_ID=viraladblitz # this site in the network footer list and tracked links (LinkSpin code nwvab)
JOIN_URL= # default https://instantadpay.com/join/{ref}, InstantAdPay's member join page (where a non-member joins under a page owner)
# Boost (display copy; must match VABShop SKU 1): $5 = 500 guaranteed views, delivered on-site within 30 days, then NAS
BOOST_USD=5
BOOST_VIEWS=500
BOOST_DELIVER_DAYS=30
BOOST_SLOTS=2 # Boosted places on each member page
TICKER_BOOSTS=12 # starred Boosted ads in the ticker
VISIT_SECONDS=6 # page visible this long before views count
VISITS_PER_IP_DAY=3 # browsers counted per connection per 24 h
LINK_PROBE=1 # 0 skips the "link answers" check (local tests only)
CF_PROXIED=0 # 1 only if Cloudflare proxies the domain
NETWORK_LOOKUP_URL= # default InstantAdPay /api/network/member (used only while the hub is unreachable)
# VABShop (../contracts). All empty = inert.
CONTRACT_ADDRESS= # the deployed VABShop
CHAIN_RPC= # server-side Polygon RPC for the watcher (publicnode like VBB)
SHOP_START_BLOCK= # the deploy block
SHOP_CONFIRMATIONS=10
SHOP_POLL_MS=30000
KEEPER_KEY= # private key of the contract's keeper (signs line vouchers). Coolify secret only
VOUCHER_SECONDS=1800
COMPANY_WALLET= # display only; default Tangem 0x7627...7b70 (immutable in the contract)
# Network hub (hubpeople.js lookups are on whenever HUB_URL + HUB_SECRET are set; HUB_ENABLED only switches the Boost report)
HUB_URL= # https://hub.saasy.top
HUB_SECRET= # this site's secret in the hub's HUB_SITES (32+ chars)
HUB_SITE=viraladblitz
HUB_ENABLED=0
# Telegram sale cards (CTB Rewards bot, payments topic; same values as Downline Banners / VBB)
TG_TOKEN=
TG_CHAT=
TG_PAY_TOPIC=
# Network Ad Space finishing of late Boosts (same NAS_DB_* as InstantAdPay / Downline Banners). Empty = off.
NAS_DB_HOST=
NAS_DB_PORT=3306
NAS_DB_USER=
NAS_DB_PASSWORD=
NAS_DB_NAME=