diff --git a/chatbot.js b/chatbot.js index 040cad5..fb72938 100644 --- a/chatbot.js +++ b/chatbot.js @@ -9,7 +9,7 @@ const core = require('./chatcore'); const C = require('./config').get(); -const KNOWLEDGE_DATE = '2026-11-17'; +const KNOWLEDGE_DATE = '2026-11-18'; const weekend = require('./weekend'); // Network Weekend: +3 board days per Boost, Fri 11-27 00:00 CT to Tue 12-01 00:00 CT const URL_ = 'https://' + C.site; const SUPPORT = 'https://instantadpay.com/support'; @@ -67,6 +67,7 @@ const FACTS = () => [ '- BOOST: one-time $' + B.usd + ' = a ' + B.days + '-day board spot (top of the reshare board) per unit, placement only, never needed to earn, 1 to ' + B.maxQty + ' per purchase. Split: resharer ' + pct(SP.resharerBps) + ', reward pot ' + pct(SP.potBps) + ', sponsor levels ' + SP.levelBps.map(pct).join('/') + ' to the 5 nearest eligible people in the sponsor line (network sign-in + linked wallet; the ineligible are skipped and the share passes up), company the rest plus any level or resharer cut with nobody to pay. The split is immutable. The pot can only pay sign-up rewards, never more than it holds, at most $' + (R.potDailyCents / 100).toFixed(2) + ' a day across everyone.', '- AI AD WRITER: on the ad form at ' + URL_ + '/my, put your link in the Your link box (a page or your own LinkSpin spin link) and tap "Write my ad from my link": it reads that page and suggests 3 ads using only what the page says (no made-up claims, numbers or income promises); tapping one fills the headline and first line to edit, nothing is posted until you save; 5 writes a day per member (reset at midnight Central), the same page again within 24 hours is free.', '- VERIFIED VIEWS: page visible ' + C.visitSeconds + ' s, one view per visitor per ad per 24 h, never the owner\'s own, max ' + C.perIpDay + ' browsers per connection a day.', + '- VIDEO: a 3-minute walkthrough video (posting at the source, reshares, the family tree, rewards for results, Boosts, where to start) is on ' + URL_ + '/guides/how-it-works.', '- GUIDES: ' + URL_ + '/guides (index), /guides/how-it-works, /guides/is-it-legit (contract, ledger, split), /guides/free-account, /guides/faq. Point people to the matching guide.', '- TRUST: ' + URL_ + '/ledger, ' + URL_ + '/contract, toasts of real events. Terms ' + URL_ + '/terms, Earnings Disclaimer ' + URL_ + '/disclaimer, Privacy ' + URL_ + '/privacy. Run by TrustClickz. SUPPORT: ' + SUPPORT ].filter(Boolean).join('\n'); diff --git a/public/ad.html b/public/ad.html index e0e30f5..79cdb79 100644 --- a/public/ad.html +++ b/public/ad.html @@ -14,7 +14,7 @@ - +
diff --git a/public/admin.html b/public/admin.html index b936b00..2148183 100644 --- a/public/admin.html +++ b/public/admin.html @@ -14,7 +14,7 @@ - +
diff --git a/public/art/how-it-works.jpg b/public/art/how-it-works.jpg new file mode 100644 index 0000000..59e2144 Binary files /dev/null and b/public/art/how-it-works.jpg differ diff --git a/public/art/how-it-works.mp4 b/public/art/how-it-works.mp4 new file mode 100644 index 0000000..f0855e4 Binary files /dev/null and b/public/art/how-it-works.mp4 differ diff --git a/public/assets/vas.css b/public/assets/vas.css index d6d5535..9b5ce6f 100644 --- a/public/assets/vas.css +++ b/public/assets/vas.css @@ -115,3 +115,9 @@ footer.foot .here{color:var(--coral2);font-weight:600} .toast.in{transform:none;opacity:1}.toast b{color:#fff}.toast span{color:var(--mist)} .net-zone{margin:20px auto;text-align:center}.net-zone-label{font:500 11px var(--m);color:var(--muted);margin-bottom:4px} .skip{position:absolute;left:-999px}.skip:focus{left:16px;top:8px;z-index:50;background:#fff;padding:8px} + +/* tutorial video (2026-11-18): home watch link + the player on the how-it-works guide */ +.watchlink{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-weight:600;color:var(--teal);text-decoration:underline;text-underline-offset:3px} +.watchlink svg{color:var(--coral);flex:none} +.howvid video{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:14px;border:1.5px solid var(--ink);background:#0B2730;margin-top:12px} +.howvid p{margin:10px 0 0;font-size:15px} diff --git a/public/boost.html b/public/boost.html index f250662..ad923a2 100644 --- a/public/boost.html +++ b/public/boost.html @@ -14,7 +14,7 @@ - +
diff --git a/public/confirm.html b/public/confirm.html index ac10764..cc8a5bb 100644 --- a/public/confirm.html +++ b/public/confirm.html @@ -14,7 +14,7 @@ - +
diff --git a/public/contract.html b/public/contract.html index f75998b..e6dac93 100644 --- a/public/contract.html +++ b/public/contract.html @@ -14,7 +14,7 @@ - +
diff --git a/public/disclaimer.html b/public/disclaimer.html index 303f5eb..dc73de2 100644 --- a/public/disclaimer.html +++ b/public/disclaimer.html @@ -14,7 +14,7 @@ - +

Updated November 16, 2026

Earnings Disclaimer

diff --git a/public/guide-faq.html b/public/guide-faq.html index 037b699..c16c91f 100644 --- a/public/guide-faq.html +++ b/public/guide-faq.html @@ -14,7 +14,7 @@ - + diff --git a/public/guide-free.html b/public/guide-free.html index 4d4180d..6f1720c 100644 --- a/public/guide-free.html +++ b/public/guide-free.html @@ -14,7 +14,7 @@ - +
diff --git a/public/guide-how.html b/public/guide-how.html index 420c4d7..dfeb440 100644 --- a/public/guide-how.html +++ b/public/guide-how.html @@ -14,7 +14,7 @@ - +
@@ -23,6 +23,7 @@

Every ad has a source. You post one free text ad, people pass it on with their own reshare links, and you watch where it travels.

+

Watch how it works

A 3-minute walkthrough in Marty's voice: posting at the source, reshares, the family tree, how results are rewarded, Boosts, and where to start.

1. Post your ad at the source

Sign in on My ad tree with your network account (InstantAdPay or LinkSpin, both free). Every member gets one free text ad: a headline of 60 characters or less, two lines of 90 characters or less, and your link. The link can be any https page or one of your own LinkSpin spin links. The AI ad writer on the form can suggest 3 ads from the page your link points to; nothing is posted until you save.

Your ad starts with its own source link. That link is step 0, the root of your ad's family tree.

2. Others reshare it with their own link

Anyone in the network can open an ad and tap "Reshare this ad". They get one unique reshare link for that ad, and it is always the same link for them. Each reshare is a new branch on your tree.

When someone arrives through a reshare link and reshares the ad too, their link sits under the link they came through, one step further from the source. A branch is everything that grew from one first reshare (step 1). A visitor keeps the tag of the last reshare link they came through for 30 days.

3. The family tree shows the route

On My ad tree you see each branch of your ad: who reshared it, how many steps it travelled, how many reshares grew under each link, and the views, clicks and sign-ups each branch brought in. If your link is a LinkSpin spin link, clicks through a reshare link also carry the resharer and the reshare link, so your LinkSpin Reports show which branch brought each click.

diff --git a/public/guide-legit.html b/public/guide-legit.html index 1a59aef..5d35dee 100644 --- a/public/guide-legit.html +++ b/public/guide-legit.html @@ -14,7 +14,7 @@ - +
diff --git a/public/guides.html b/public/guides.html index 2a2f24b..6171e7d 100644 --- a/public/guides.html +++ b/public/guides.html @@ -14,7 +14,7 @@ - +
diff --git a/public/index.html b/public/index.html index e0fca55..5e2723a 100644 --- a/public/index.html +++ b/public/index.html @@ -15,7 +15,7 @@ - +
@@ -25,7 +25,7 @@

Part of the Crypto Team Build Network

Every ad has a source. Watch yours travel.

Post a text ad free. Anyone can reshare it to their own people, and every reshare grows a new branch. You see the whole family tree of your ad: who passed it on, how far it went, where the views came from.

- + Watch the 3-minute walkthrough

One free account across the network. Sign in with InstantAdPay or LinkSpin.

diff --git a/public/join.html b/public/join.html index 813578f..0274ef3 100644 --- a/public/join.html +++ b/public/join.html @@ -14,7 +14,7 @@ - +
diff --git a/public/ledger.html b/public/ledger.html index efe1622..6878a25 100644 --- a/public/ledger.html +++ b/public/ledger.html @@ -14,7 +14,7 @@ - +
diff --git a/public/my.html b/public/my.html index aa246ca..0086d9c 100644 --- a/public/my.html +++ b/public/my.html @@ -14,7 +14,7 @@ - +
diff --git a/public/privacy.html b/public/privacy.html index 1225fc7..852454a 100644 --- a/public/privacy.html +++ b/public/privacy.html @@ -14,7 +14,7 @@ - +

Updated November 16, 2026

Privacy

diff --git a/public/promote.html b/public/promote.html index 266826b..f38dc92 100644 --- a/public/promote.html +++ b/public/promote.html @@ -14,7 +14,7 @@ - +
diff --git a/public/rewards.html b/public/rewards.html index 01c7412..95ee8e6 100644 --- a/public/rewards.html +++ b/public/rewards.html @@ -14,7 +14,7 @@ - +
diff --git a/public/terms.html b/public/terms.html index a6d218b..27d9d69 100644 --- a/public/terms.html +++ b/public/terms.html @@ -14,7 +14,7 @@ - +

Updated November 16, 2026

Terms

diff --git a/server.js b/server.js index 6bd2668..d3d20b1 100644 --- a/server.js +++ b/server.js @@ -56,7 +56,7 @@ const TEST_SWITCH = C.staging && !/(^|\.)viraladsource\.com$/i.test(C.site); // ---- http helpers ---- const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'text/javascript', '.png': 'image/png', '.jpg': 'image/jpeg', '.webp': 'image/webp', - '.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml' }; + '.gif': 'image/gif', '.svg': 'image/svg+xml', '.ico': 'image/x-icon', '.json': 'application/json', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml', '.mp4': 'video/mp4', '.webm': 'video/webm' }; const CSP = "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://linkspin.app https://polhunter.com; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; " + "img-src 'self' data: blob: https:; connect-src 'self' https://linkspin.app https://polhunter.com https://*.walletconnect.com wss://*.walletconnect.com https://*.walletconnect.org wss://*.walletconnect.org " + "https://*.reown.com wss://*.reown.com https://*.reown.org wss://*.reown.org https://*.web3modal.org https://*.drpc.org https://*.publicnode.com https://*.coinbase.com; " @@ -71,6 +71,19 @@ function sendFile(res, file, extra, code) { res.end(data); }); } +// video needs byte ranges (Safari will not play it without them); tutorial videos 2026-11-18 +function sendMedia(req, res, file) { + fs.stat(file, (err, st) => { + if (err || !st.isFile()) { res.writeHead(404, headers({ 'Content-Type': 'text/plain' })); return res.end('Not found'); } + const base = { 'Content-Type': MIME[path.extname(file).toLowerCase()], 'Accept-Ranges': 'bytes', 'Cache-Control': 'public, max-age=86400' }; + const m = /^bytes=(\d*)-(\d*)$/.exec(req.headers.range || ''); + if (!m || (!m[1] && !m[2])) { res.writeHead(200, headers(Object.assign(base, { 'Content-Length': st.size }))); return fs.createReadStream(file).pipe(res); } + let a = m[1] ? +m[1] : Math.max(0, st.size - +m[2]), b = m[1] && m[2] ? Math.min(+m[2], st.size - 1) : st.size - 1; + if (a > b || a >= st.size) { res.writeHead(416, headers({ 'Content-Range': 'bytes */' + st.size })); return res.end(); } + res.writeHead(206, headers(Object.assign(base, { 'Content-Range': 'bytes ' + a + '-' + b + '/' + st.size, 'Content-Length': b - a + 1 }))); + fs.createReadStream(file, { start: a, end: b }).pipe(res); + }); +} function readRaw(req, max) { return new Promise((resolve, reject) => { const ch = []; let n = 0; req.on('data', c => { n += c.length; if (n > max * 8) { req.destroy(); return; } if (n <= max) ch.push(c); }); @@ -252,6 +265,7 @@ const server = http.createServer(async (req, res) => { if (p === '/robots.txt') { res.writeHead(200, headers({ 'Content-Type': 'text/plain; charset=utf-8' })); return res.end(C.staging ? 'User-agent: *\nDisallow: /\n' : 'User-agent: *\nAllow: /\nDisallow: /my\nDisallow: /admin\nDisallow: /api/\nDisallow: /go/\nDisallow: /sso/\nDisallow: /s/\n\nSitemap: https://' + C.site + '/sitemap.xml\n'); } if (p.startsWith('/assets/') || p.startsWith('/art/') || p === '/favicon.ico') { const f = path.normalize(path.join(PUB, p === '/favicon.ico' ? '/art/icon-192.png' : p)); if (!f.startsWith(PUB + path.sep)) { res.writeHead(400); return res.end(); } + if (/\.(mp4|webm)$/i.test(f)) return sendMedia(req, res, f); return sendFile(res, f); } // click relay: /go/?s=&v=&p= -> the ad's link (LinkSpin links carry the branch: s2 / s3)