YourProgramBuilder, the Seed Bed (Marty 2026-11-17: "keep fleshing it out"): STAGING build
Plant a program free (referral link with {id}, link check green / yellow / red, daily recheck, reports), members save their
referral IDs in its packet, a sponsor-first link (member page / ?r= / the hub sponsor line, then the planter), the sprout meter
to REVIEW_SAVES (DEFAULT 25) -> Marty's review queue -> approved packets exported for the CTB builder / DownlineHydra wild heads
with every saved ID. Dormant old programs confirmed by their owner, old-link redirects (oldrefs), Spotlight on YPBShop (NOT
deployed; DEFAULT $10 / 1,000 views, 20/5/5/5/5, company 60), verified views with Spotlight delivery, trust pack (ledger,
contract, toasts, Telegram card, terms / disclaimer / privacy, TrustClickz only), network footer row, chatbot, promo kit,
Guides, PolHunter slot, LinkSpin tracked-link and zone hooks, AI writer through the hub. Seed-catalog look from the approved
mockup. Tests: qa/unit.test.cjs 33/33, qa/e2e.mjs 121/121 on a local anvil chain.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+404
@@ -0,0 +1,404 @@
|
||||
# Writes every public/*.html page from one head template (the network pattern: one source for the head, fonts, OG tags and scripts).
|
||||
# python tools/pages.py
|
||||
# Copy rules: no em dashes, "SafePal or any other crypto wallet", a directory of programs not income, no street address, no caps shown.
|
||||
import os, re
|
||||
APP = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
PUB = os.path.join(APP, 'public')
|
||||
SITE = 'https://yourprogrambuilder.com'
|
||||
V = '20261117a'
|
||||
FONTS = 'https://fonts.googleapis.com/css2?family=Young+Serif&family=Atkinson+Hyperlegible:wght@400;700&family=Martian+Mono:wght@400;600&display=swap'
|
||||
|
||||
def head(title, desc, path, noindex=False, extra=''):
|
||||
t = title + ' | YourProgramBuilder' if title else 'YourProgramBuilder: the Seed Bed'
|
||||
return f'''<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||
<title>{t}</title>
|
||||
<meta name="description" content="{desc}">
|
||||
{'<meta name="robots" content="noindex">' if noindex else f'<link rel="canonical" href="{SITE}{path}">'}
|
||||
<meta property="og:type" content="website"><meta property="og:site_name" content="YourProgramBuilder">
|
||||
<meta property="og:title" content="{t}"><meta property="og:description" content="{desc}"><meta property="og:url" content="{SITE}{path}">
|
||||
<meta property="og:image" content="{SITE}/art/og-share.png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630">
|
||||
<meta property="og:image:alt" content="YourProgramBuilder: bring your program, the network grows it">
|
||||
<meta name="twitter:card" content="summary_large_image"><meta name="twitter:image" content="{SITE}/art/og-share.png">
|
||||
<meta name="theme-color" content="#12291F">
|
||||
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link rel="stylesheet" href="{FONTS}">
|
||||
<link rel="stylesheet" href="/assets/ypb.css?v={V}">{extra}
|
||||
</head>'''
|
||||
|
||||
def page(fn, title, desc, path, nav, body, scripts=(), noindex=False, extra='', attrs=''):
|
||||
tail = '\n'.join([f'<script src="/assets/icons.js?v={V}"></script>', f'<script src="/assets/common.js?v={V}"></script>', f'<script src="/assets/chat.js?v=1" defer></script>']
|
||||
+ [f'<script src="/assets/{s}?v={V}"></script>' for s in scripts])
|
||||
html = head(title, desc, path, noindex, extra) + f'\n<body data-nav="{nav}"{attrs}>\n<main id="main" class="wrap">\n{body}\n</main>\n{tail}\n</body>\n</html>\n'
|
||||
assert '—' not in html and '–' not in html, fn + ': dash'
|
||||
for bad in ('Green Valley', 'Moody', '35004'): assert bad not in html, fn + ': address'
|
||||
with open(os.path.join(PUB, fn), 'w', encoding='utf8', newline='\n') as f: f.write(html)
|
||||
|
||||
def prose(fn, title, desc, path, inner, nav=''):
|
||||
page(fn, title, desc, path, nav, f'<article class="page prose">\n{inner}\n</article>')
|
||||
|
||||
# ---------------------------------------------------------------- the Seed Bed (front page)
|
||||
page('index.html', '', 'Plant your program in the Seed Bed and members across the network save their referral ID in it. The ones that grow go to review for the Crypto Team Build Network builder.', '/', '/', '''
|
||||
<section class="plate" id="top" data-art="illustration" aria-labelledby="heroTitle">
|
||||
<img id="heroImg" src="/art/hero-botanical-illustration.webp" srcset="/art/hero-botanical-illustration-900.webp 900w, /art/hero-botanical-illustration.webp 1600w" sizes="(max-width:700px) 100vw, 1180px" width="1600" height="900" alt="Botanical drawing of a seed sprouting, growing into a plant with a tangerine bud, and moving into its own pot" fetchpriority="high">
|
||||
<div class="copy">
|
||||
<div class="kicker">Open to every program</div>
|
||||
<h1 id="heroTitle">Bring your program. <em>The network grows it.</em></h1>
|
||||
<p class="lede">Plant your program in the Seed Bed and members across the network can save their referral ID in it. When <span data-cfg="need">25</span> members have saved an ID, it goes to review for the Crypto Team Build Network builder, and every saved ID moves with it.</p>
|
||||
<div class="ctas"><a class="btn primary" href="/my?tab=plant"><span data-icon="iconGardening"></span>Plant a program, free</a><a class="btn ghost" href="#bed">Browse the Seed Bed</a></div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="under" id="how">
|
||||
<div class="steps">
|
||||
<div class="step"><span data-icon="iconGardening"></span><i>STEP 1</i><b>Plant</b><span>Add the program and its referral link. Every link is checked before it shows, and again every day.</span></div>
|
||||
<div class="step"><span data-icon="iconSprout"></span><i>STEP 2</i><b>Sprout</b><span>Members save their ID. Visitors from a member see that member's link first.</span></div>
|
||||
<div class="step"><span data-icon="iconSeed"></span><i>STEP 3</i><b>Transplant</b><span>At <span data-cfg="need">25</span> saves Marty reviews it for the builder. Listed in the builder, it shows in DownlineHydra too.</span></div>
|
||||
</div>
|
||||
<aside class="spot" aria-labelledby="spotTitle">
|
||||
<span data-icon="sprig02"></span>
|
||||
<div class="kicker"><span data-icon="iconEvolution"></span>One-time, paid in POL</div>
|
||||
<h2 id="spotTitle">Spotlight a packet</h2>
|
||||
<div class="price"><span data-cfg="spotUsd">$10</span> <small>for <span data-cfg="spotViews">1,000</span> guaranteed views</small></div>
|
||||
<ul>
|
||||
<li>Top row of the Seed Bed until the views are delivered</li>
|
||||
<li>The Spotlight strip on packet and member pages</li>
|
||||
<li>Every verified view counted, shown live on your packet</li>
|
||||
</ul>
|
||||
<div class="split">Split on chain at purchase: <span data-cfg="sponsor">20%</span> to your sponsor, <span data-cfg="lvlEach">5%</span> each to levels 2 to 5, <span data-cfg="company">60%</span> to the company. No subscription. See the <a href="/contract">contract</a> and the <a href="/ledger">ledger</a>.</div>
|
||||
<p style="margin:12px 0 0"><a class="btn sm ink" href="/spotlight">About Spotlights</a></p>
|
||||
</aside>
|
||||
</section>
|
||||
<section id="spots" hidden aria-labelledby="spotsTitle"><div class="bedhead"><div class="t"><h2 id="spotsTitle">In the Spotlight</h2></div></div><div class="bed spotrow"></div></section>
|
||||
<section id="bed" aria-labelledby="bedTitle">
|
||||
<div class="bedhead">
|
||||
<div class="t"><span data-icon="sprig10"></span><h2 id="bedTitle">The Seed Bed</h2></div>
|
||||
<div class="filters" role="group" aria-label="Filter packets">
|
||||
<button class="chip" type="button" data-f="all" aria-pressed="true">All</button><button class="chip" type="button" data-f="sprouting" aria-pressed="false">Sprouting</button><button class="chip" type="button" data-f="review" aria-pressed="false">Ready for review</button><button class="chip" type="button" data-f="free" aria-pressed="false">Free to join</button><button class="chip" type="button" data-f="crypto" aria-pressed="false">Crypto</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bed" id="bedList"><p class="empty">Loading the Seed Bed...</p></div>
|
||||
<p class="muted" style="font-size:14px">Programs in the Seed Bed are planted by members. They are outside programs: read each one's own terms before you join. A packet is the planter's description, not a recommendation.</p>
|
||||
</section>''', ['front.js'])
|
||||
|
||||
# ---------------------------------------------------------------- a packet
|
||||
page('packet.html', 'A packet in the Seed Bed', 'A program planted in the YourProgramBuilder Seed Bed: save your referral ID and see how close it is to the Crypto Team Build Network builder.', '/', '/', '''
|
||||
<div class="page">
|
||||
<p class="muted" style="margin:0 0 8px"><a href="/#bed">The Seed Bed</a></p>
|
||||
<div class="grid2">
|
||||
<div id="pk"><article class="pk"><div class="fold"></div><div class="body"><p>Loading the packet...</p></div></article></div>
|
||||
<aside class="stack">
|
||||
<section class="panel" id="save">
|
||||
<h2 style="font-size:24px">Save my ID</h2>
|
||||
<p class="muted" style="font-size:15px">Type your referral ID for this program, or paste your whole referral link for it. Anyone who comes through you sees your link first.</p>
|
||||
<div id="saveSignin" hidden><p><a class="btn ink sm" href="/sso/start?mode=go&to=/my">Sign in with the network</a></p><p class="muted" style="font-size:14px">Not a member yet? <a id="joinLink" href="https://instantadpay.com/">Join the network free</a>, then come back.</p></div>
|
||||
<form id="saveForm" class="stack" hidden autocomplete="off">
|
||||
<label class="f">Your referral ID <small id="idHint"></small><input type="text" id="refId" maxlength="300" required></label>
|
||||
<label class="row" style="gap:8px;font-size:14px;font-weight:400"><input type="checkbox" id="track" checked> Track my clicks with LinkSpin when it is switched on</label>
|
||||
<div class="row"><button class="btn primary sm" type="submit" id="saveBtn">Save my ID</button><button class="btn sm" type="button" id="removeBtn" hidden>Remove my ID</button></div>
|
||||
</form>
|
||||
<p id="status" class="note" hidden></p>
|
||||
</section>
|
||||
<section class="panel">
|
||||
<h2 style="font-size:22px">Whose link you get</h2>
|
||||
<p class="muted" style="font-size:15px" id="linkWho">The nearest person in your sponsor line who saved an ID, then the planter's.</p>
|
||||
<p><a class="btn sm" id="visitBtn" target="_blank" rel="noopener sponsored nofollow" href="#">Visit the program</a></p>
|
||||
</section>
|
||||
<section class="panel">
|
||||
<h2 style="font-size:20px">Something wrong with this packet?</h2>
|
||||
<form id="reportForm" class="stack" autocomplete="off">
|
||||
<label class="f">What is wrong<select id="reason"><option value="broken">The link is broken</option><option value="scam">It looks like a scam</option><option value="wrong">The description is wrong</option><option value="other">Something else</option></select></label>
|
||||
<label class="f">Note <small>optional</small><input type="text" id="reportNote" maxlength="200"></label>
|
||||
<button class="btn sm" type="submit">Report it</button>
|
||||
</form>
|
||||
<p id="reportStatus" class="note" hidden></p>
|
||||
</section>
|
||||
</aside>
|
||||
</div>
|
||||
<section class="panel" id="savers" hidden style="margin-top:18px"><h2 style="font-size:22px">Recently saved by</h2><p id="saverList" class="muted"></p></section>
|
||||
<section id="spots" hidden style="margin-top:22px"><div class="bedhead"><div class="t"><h2>In the Spotlight</h2></div></div><div class="bed spotrow"></div></section>
|
||||
</div>''', ['packet.js'])
|
||||
|
||||
# ---------------------------------------------------------------- a member's page
|
||||
page('member.html', 'A member\'s programs', 'The programs a network member saved their referral ID in, in the YourProgramBuilder Seed Bed. Their links come first for you.', '/', '', '''
|
||||
<div class="page">
|
||||
<div class="kicker">Member page</div>
|
||||
<h1 id="mTitle">A member's programs</h1>
|
||||
<p class="muted prose" id="mLede">Every program here opens with this member's own referral link. Join the network free and save your own IDs, so the people you bring see yours.</p>
|
||||
<p class="row"><a class="btn primary" id="mJoin" href="https://instantadpay.com/">Join the network free</a><a class="btn" href="/">See the whole Seed Bed</a></p>
|
||||
<div class="bed" id="mList"><p class="empty">Loading...</p></div>
|
||||
<section id="spots" hidden><div class="bedhead"><div class="t"><h2>In the Spotlight</h2></div></div><div class="bed spotrow"></div></section>
|
||||
</div>''', ['member.js'])
|
||||
|
||||
# ---------------------------------------------------------------- my packets
|
||||
page('my.html', 'My packets', 'Plant a program, manage your packet, your saved IDs and your Spotlights.', '/my', '/my', '''
|
||||
<div class="page">
|
||||
<h1>My packets</h1>
|
||||
<section id="signin" class="panel" hidden>
|
||||
<h2>Sign in</h2>
|
||||
<p class="muted">Use your network account (one account across the network), or sign with your wallet: a free signature that cannot move funds.</p>
|
||||
<div class="row" style="margin-top:14px"><a class="btn ink" href="/sso/start?mode=go&to=/my">Sign in with my network account</a><button class="btn" id="walletBtn" type="button">Sign in with my wallet</button></div>
|
||||
<p class="muted" style="font-size:14px;margin:12px 0 0">Wallet: SafePal or any other crypto wallet on Polygon. Not a member yet? <a id="joinLink" href="https://instantadpay.com/?return=yourprogrambuilder&to=%2Fmy">Join free</a>.</p>
|
||||
</section>
|
||||
<div id="dash" hidden>
|
||||
<p class="muted" id="who"></p>
|
||||
<div class="stats" id="myStats"></div>
|
||||
<div class="tabs" role="tablist" aria-label="My packets">
|
||||
<button class="chip" type="button" role="tab" data-tab="packets" aria-pressed="true">My packet</button><button class="chip" type="button" role="tab" data-tab="plant" aria-pressed="false">Plant a program</button><button class="chip" type="button" role="tab" data-tab="saved" aria-pressed="false">My saved IDs</button><button class="chip" type="button" role="tab" data-tab="spot" aria-pressed="false">Spotlights and earnings</button>
|
||||
</div>
|
||||
<section class="panel" data-pane="packets">
|
||||
<h2>My packet</h2>
|
||||
<div id="dormant" hidden class="note warn"></div>
|
||||
<div id="myPackets"><p class="muted">Nothing planted yet. <a href="/my?tab=plant">Plant a program</a>.</p></div>
|
||||
<div id="pageBox" hidden style="margin-top:14px"><p style="margin:0 0 6px;font-weight:700">Your member page (your links first)</p><div class="sharebox"><span id="pageUrl"></span><button class="btn sm" type="button" id="copyPage">Copy</button></div></div>
|
||||
</section>
|
||||
<section class="panel" data-pane="plant" hidden>
|
||||
<h2 id="plantTitle">Plant a program</h2>
|
||||
<p class="muted" style="font-size:15px">Free for network members: <span data-cfg="quota">1</span> packet at a time. Programs already in the Crypto Team Build Network builder are not planted again (save your ID for those on DownlineHydra).</p>
|
||||
<form class="stack" id="plantForm" autocomplete="off" style="margin-top:10px">
|
||||
<input type="hidden" id="editId"><input type="hidden" id="dormantId">
|
||||
<label class="f">Your referral link, with {id} where your ID goes <small>for example https://program.example/?ref={id}</small><input type="url" id="url" placeholder="https://" required></label>
|
||||
<label class="f">Your own referral ID <small>it fills {id} in your link, so your packet works from the first visit</small><input type="text" id="myId" maxlength="64" required></label>
|
||||
<div id="aiBox" hidden class="note"><div class="row" style="justify-content:space-between"><span>No words yet? Let the writer read the program's page</span><button type="button" class="btn sm" id="aiWrite">Write it from my link</button></div><div id="aiList"></div></div>
|
||||
<label class="f">Program name <small>2 to 40 characters</small><input type="text" id="name" maxlength="40" required></label>
|
||||
<label class="f">What it is <small>one or two sentences, 10 to 200 characters, no links</small><textarea id="desc" maxlength="200" required></textarea></label>
|
||||
<fieldset class="f" style="border:0;padding:0;margin:0"><legend style="font-weight:700">Cost to join</legend><div class="radios"><label><input type="radio" name="cost" value="free" checked> Free to join</label><label><input type="radio" name="cost" value="paid"> Costs money to join</label></div></fieldset>
|
||||
<label class="f" id="costRow" hidden>What it costs <small>for example "$10 one-time" or "from 25 POL"</small><input type="text" id="costText" maxlength="40"></label>
|
||||
<label class="f">Contract address <small>optional, only if the program runs on a blockchain contract</small><input type="text" id="contract" maxlength="42" placeholder="0x..."></label>
|
||||
<label class="f">Category<select id="cat"></select></label>
|
||||
<p class="muted" style="font-size:14px;margin:0">Every link is checked before it shows and again every day. Green shows straight away; yellow waits for a person to look; red is refused. Do not promise income in your description.</p>
|
||||
<div class="row"><button class="btn primary" type="submit" id="plantBtn">Plant it</button><button class="btn sm" type="button" id="cancelEdit" hidden>Cancel the edit</button></div>
|
||||
</form>
|
||||
<p id="status" class="note" hidden></p>
|
||||
</section>
|
||||
<section class="panel" data-pane="saved" hidden>
|
||||
<h2>My saved IDs</h2>
|
||||
<div class="tbl"><table><thead><tr><th>Program</th><th>My ID</th><th>Saves</th><th>Clicks to my link</th><th>Stage</th></tr></thead><tbody id="savedRows"><tr><td colspan="5" class="muted">Open any packet in the <a href="/#bed">Seed Bed</a> and tap Save my ID.</td></tr></tbody></table></div>
|
||||
</section>
|
||||
<section class="panel" data-pane="spot" hidden>
|
||||
<h2>Spotlights and earnings</h2>
|
||||
<p class="muted" style="font-size:15px">When someone in your downline buys a Spotlight, the contract pays your level in the same transaction. You never need to buy one to be paid: a network sign-in and a linked wallet are enough.</p>
|
||||
<div class="stats" id="earnStats"></div>
|
||||
<div class="tbl"><table><thead><tr><th>When</th><th>Spotlight</th><th>Views</th><th>Status</th></tr></thead><tbody id="spotRows"><tr><td colspan="4" class="muted">No Spotlights bought yet.</td></tr></tbody></table></div>
|
||||
<div class="tbl"><table><thead><tr><th>When</th><th>Level</th><th>Amount</th><th>From</th></tr></thead><tbody id="earnRows"><tr><td colspan="4" class="muted">Nothing yet.</td></tr></tbody></table></div>
|
||||
</section>
|
||||
<div class="row" style="margin-top:22px"><button class="btn sm" id="logout" type="button">Sign out</button><button class="btn sm" id="logoutAll" type="button">Sign out everywhere</button></div>
|
||||
</div>
|
||||
</div>''', ['wallet.js', 'my.js'], noindex=True)
|
||||
|
||||
# ---------------------------------------------------------------- Spotlight
|
||||
page('spotlight.html', 'Spotlight a packet', 'A one-time Spotlight: guaranteed verified views for one packet at the top of the Seed Bed, paid in POL and split on chain.', '/spotlight', '/spotlight', '''
|
||||
<div class="page">
|
||||
<div class="grid2">
|
||||
<div class="prose">
|
||||
<div class="kicker">One-time, paid in POL</div>
|
||||
<h1>Spotlight a packet</h1>
|
||||
<p><span data-cfg="spotUsd">$10</span> buys <span data-cfg="spotViews">1,000</span> guaranteed verified views for one packet: the top row of the Seed Bed and the Spotlight strip on packet and member pages, until every view is delivered. A program owner can spotlight their own packet, and any member can spotlight a packet they want to grow. It is never a subscription.</p>
|
||||
<h2>Where the money goes</h2>
|
||||
<p>The YPBShop contract on Polygon splits each Spotlight in the same transaction: <span data-cfg="sponsor">20%</span> to the buyer's sponsor, <span data-cfg="lvlEach">5%</span> each to levels 2 to 5 of the buyer's sponsor line, and <span data-cfg="company">60%</span> to the company. Only network members with a linked wallet are paid; anyone without one is skipped and the share passes up. A level with nobody in it goes to the company. The split is fixed in the contract and can never change, and the contract has no owner withdraw.</p>
|
||||
<h2>What counts as a view</h2>
|
||||
<p>A view counts when the Spotlight place was on screen for 6 seconds or more in a real browser, once per visitor per packet per 24 hours, never the planter's own. Views not delivered on the site within <span data-cfg="deliverDays">30</span> days are finished in the network.</p>
|
||||
<p class="muted">Paid in POL with SafePal or any other crypto wallet. Blockchain payments are final. A Spotlight buys views, not income.</p>
|
||||
</div>
|
||||
<section class="panel" id="buyBox">
|
||||
<h2>Buy a Spotlight</h2>
|
||||
<p id="notYet" class="note warn" hidden>Spotlights are not on sale yet: the contract is not deployed. Plant and save IDs for free in the meantime.</p>
|
||||
<form class="stack" id="buyForm" autocomplete="off">
|
||||
<label class="f">Packet <small>any packet in the Seed Bed</small><select id="pkPick"></select></label>
|
||||
<label class="f">How many <small>each adds <span data-cfg="spotViews">1,000</span> views</small><input type="number" id="qty" min="1" max="10" value="1"></label>
|
||||
<p id="quote" class="muted"></p>
|
||||
<button class="btn primary" type="submit" id="buyBtn" disabled>Buy the Spotlight</button>
|
||||
</form>
|
||||
<p id="status" class="note" hidden></p>
|
||||
</section>
|
||||
</div>
|
||||
</div>''', ['wallet.js', 'buy.js', 'spotlight.js'])
|
||||
|
||||
# ---------------------------------------------------------------- transplanted
|
||||
page('transplanted.html', 'Transplanted', 'Programs that grew in the Seed Bed and were approved for the Crypto Team Build Network builder, with every saved ID carried over.', '/transplanted', '/transplanted', '''
|
||||
<div class="page">
|
||||
<div class="kicker">Grown in the Seed Bed</div>
|
||||
<h1>Transplanted</h1>
|
||||
<p class="muted prose">These programs reached <span data-cfg="need">25</span> saved IDs, went to review, and were approved for the Crypto Team Build Network builder. In the builder they also show on DownlineHydra's wild heads, with every saved ID carried over. <span id="inReview"></span></p>
|
||||
<div class="bed" id="tList"><p class="empty">Loading...</p></div>
|
||||
</div>''', ['pages.js'])
|
||||
|
||||
# ---------------------------------------------------------------- ledger + contract
|
||||
page('ledger.html', 'Live ledger', 'Every Spotlight paid to the YPBShop contract, with its split and its delivery, read from the chain.', '/ledger', '', '''
|
||||
<div class="page">
|
||||
<div class="kicker">Proof</div>
|
||||
<h1>Live ledger</h1>
|
||||
<p class="muted prose">Every Spotlight, read from the Polygon chain: who was paid at each level, what went to the company, and how many of its views were delivered. Nothing here is typed in by hand.</p>
|
||||
<div class="stats" id="ledgerStats"></div>
|
||||
<section id="ledgerBox"><div class="tbl"><table><thead><tr><th>When</th><th>Buyer</th><th>Packet</th><th>Paid</th><th>Split</th><th>Delivery</th></tr></thead><tbody id="rows"><tr><td colspan="6" class="muted">Loading...</td></tr></tbody></table></div></section>
|
||||
</div>''', ['pages.js'])
|
||||
|
||||
page('contract.html', 'The contract', 'YPBShop on Polygon: what it can and cannot do, the split, the owner powers and the 48-hour price timelock.', '/contract', '', '''
|
||||
<div class="page prose">
|
||||
<div class="kicker">Proof</div>
|
||||
<h1>The contract</h1>
|
||||
<div id="cBox" class="panel"><p>Loading the contract facts...</p></div>
|
||||
<h2>What the contract can do</h2>
|
||||
<ul>
|
||||
<li>Take a one-time Spotlight payment in POL at the live Chainlink POL/USD price, and refund any overpayment in the same transaction.</li>
|
||||
<li>Pay levels 1 to 5 of the buyer's sponsor line (<span data-cfg="sponsor">20%</span>, then <span data-cfg="levels">5% / 5% / 5% / 5%</span>) and the company the rest, in the same transaction.</li>
|
||||
<li>Keep a payment that could not be delivered for its owner to claim. Only that wallet can claim it.</li>
|
||||
</ul>
|
||||
<h2>What it cannot do</h2>
|
||||
<ul>
|
||||
<li>No owner withdraw, no sweep, no upgrade, no proxy. The split is fixed when the contract is deployed and has no setter.</li>
|
||||
<li>A SKU price change is proposed on chain and waits 48 hours before anyone can apply it. Only switching a SKU off is immediate.</li>
|
||||
<li>Pausing stops new Spotlights only; claims stay open.</li>
|
||||
</ul>
|
||||
<p class="muted">Every order is signed by the site's keeper key, which names the buyer's sponsor line from the network hub. The keeper cannot move money: it can only sign orders that the buyer pays.</p>
|
||||
</div>''', ['pages.js'])
|
||||
|
||||
# ---------------------------------------------------------------- promote
|
||||
page('promote.html', 'Promote YourProgramBuilder', 'Banners, swipe copy and your own tracked link to bring people to the Seed Bed.', '/promote', '', '''
|
||||
<div class="page">
|
||||
<div class="kicker">Promo kit</div>
|
||||
<h1>Promote the Seed Bed</h1>
|
||||
<p class="muted prose">Your link opens your member page, where every program shows your own referral link first. Sign in to fill your username into every banner and line below.</p>
|
||||
<div class="sharebox" style="margin:14px 0"><span id="myLink">https://yourprogrambuilder.com/</span><button class="btn sm" type="button" id="copyLink">Copy</button></div>
|
||||
<section class="panel"><h2>Swipe lines</h2><div id="lines"></div></section>
|
||||
<section class="panel"><h2>Email</h2><div id="email"></div></section>
|
||||
<section class="panel"><h2>Banners</h2><div id="creatives" class="stack"></div></section>
|
||||
<p class="muted" id="kitNote"></p>
|
||||
</div>''', ['pages.js'])
|
||||
|
||||
# ---------------------------------------------------------------- admin
|
||||
page('admin.html', 'Admin', 'YourProgramBuilder admin.', '/admin', '', '''
|
||||
<div class="page">
|
||||
<h1>Admin</h1>
|
||||
<section class="panel"><div class="row"><input type="text" id="tok" placeholder="Admin token" style="max-width:340px"><button class="btn sm ink" id="go" type="button">Open</button><button class="btn sm" id="recheck" type="button">Recheck links now</button><a class="btn sm" id="exportBtn" href="#">Export approved (JSON)</a></div><p id="status" class="note" hidden></p></section>
|
||||
<section class="panel"><h2>Status</h2><div class="stats" id="aStats"></div><pre id="aRaw" style="white-space:pre-wrap;font-size:12px;max-height:240px;overflow:auto"></pre></section>
|
||||
<section class="panel"><h2>Ready for review</h2><p class="muted">Packets that reached the threshold. Approve to transplant (exported for the CTB builder and DownlineHydra with every saved ID), or reject (stays in the Seed Bed).</p><div id="qReview" class="stack"></div></section>
|
||||
<section class="panel"><h2>Held: link check and reports</h2><div id="qHeld" class="stack"></div></section>
|
||||
<section class="panel"><h2>Transplanted</h2><div id="qApproved" class="stack"></div></section>
|
||||
<section class="panel" id="testBox" hidden><h2>Staging: test members</h2><div class="row"><input type="text" id="tAddr" placeholder="0x wallet" style="max-width:420px"><input type="text" id="tName" placeholder="username" style="max-width:200px"><button class="btn sm" id="tGo" type="button">Mark as a test network member</button></div></section>
|
||||
</div>''', ['admin.js'], noindex=True, attrs=' data-no-zones="1"')
|
||||
|
||||
# ---------------------------------------------------------------- legal (TrustClickz, no street address)
|
||||
DATE = 'November 17, 2026'
|
||||
prose('terms.html', 'Terms', 'The terms for using YourProgramBuilder.', '/terms', f'''
|
||||
<h1>Terms</h1><p class="muted">Last updated {DATE}.</p>
|
||||
<p>YourProgramBuilder (yourprogrambuilder.com) is run by TrustClickz. By using the site you agree to these terms.</p>
|
||||
<h2>What the site is</h2>
|
||||
<p>A directory where network members plant outside programs and save their own referral IDs in them. YourProgramBuilder does not run, own or check the business of the programs in the Seed Bed. A packet is its planter's description, not a recommendation, and not financial advice. Read each program's own terms before you join it.</p>
|
||||
<h2>Accounts</h2>
|
||||
<p>You sign in with your network account (InstantAdPay or LinkSpin, through the network sign-in) or with your wallet. You are responsible for your account and your wallet. One person, one network account.</p>
|
||||
<h2>Planting and saving IDs</h2>
|
||||
<ul>
|
||||
<li>Plant only programs you have joined, with your own referral link. No adult content, gambling, illegal products, malware, misleading claims or promises of income.</li>
|
||||
<li>Every link is checked before it shows and again every day. We may hold, hide or remove any packet or saved ID at any time, for example after a failed check or member reports.</li>
|
||||
<li>Reaching the review threshold sends a packet to review; it does not guarantee that it is added to the Crypto Team Build Network builder.</li>
|
||||
<li>When a packet is approved, its name, link, description and the saved IDs of network members are copied to the Crypto Team Build Network builder and DownlineHydra.</li>
|
||||
</ul>
|
||||
<h2>Spotlights</h2>
|
||||
<p>A Spotlight is a one-time purchase of guaranteed verified views for one packet, paid in POL on Polygon to the YPBShop contract. It is never a subscription. The contract splits each payment in the same transaction as described on the <a href="/contract">contract page</a>. Blockchain payments are final and cannot be reversed. If a packet is removed for breaking these terms, views not yet delivered are not delivered or refunded. A Spotlight buys views, not income.</p>
|
||||
<h2>No promises</h2>
|
||||
<p>Nothing on the site promises income or any result. See the <a href="/disclaimer">earnings disclaimer</a>.</p>
|
||||
<h2>Liability</h2>
|
||||
<p>The site is provided as it is. To the extent the law allows, TrustClickz is not liable for losses from programs listed in the Seed Bed, from wallet or network problems, or from the site being unavailable.</p>
|
||||
<h2>Contact</h2>
|
||||
<p>Network support: <a href="https://instantadpay.com/support?from=yourprogrambuilder">instantadpay.com/support</a>.</p>''')
|
||||
|
||||
prose('disclaimer.html', 'Earnings disclaimer', 'YourProgramBuilder is a directory of programs, not an income opportunity.', '/disclaimer', f'''
|
||||
<h1>Earnings disclaimer</h1><p class="muted">Last updated {DATE}.</p>
|
||||
<p>YourProgramBuilder is a directory of programs, not an income opportunity. Nothing on this site promises income, earnings or any result.</p>
|
||||
<p>The programs in the Seed Bed are outside programs planted by members. Whatever they say about earnings is their claim, not ours. Most people who join any program earn little or nothing. Do your own research and never spend money you cannot afford to lose.</p>
|
||||
<p>When someone in your downline buys a Spotlight, the YPBShop contract pays a share to the sponsor line in the same transaction. How much depends entirely on whether anyone in your downline buys, which nobody can predict. A Spotlight buys views, not income.</p>
|
||||
<p>Any figures on this site are examples or live records of what already happened on chain (the <a href="/ledger">ledger</a>), never a forecast.</p>''')
|
||||
|
||||
prose('privacy.html', 'Privacy', 'What YourProgramBuilder stores and why.', '/privacy', f'''
|
||||
<h1>Privacy</h1><p class="muted">Last updated {DATE}.</p>
|
||||
<p>YourProgramBuilder is run by TrustClickz.</p>
|
||||
<h2>What we store</h2>
|
||||
<ul>
|
||||
<li>Your wallet address and network username (from the network hub, the one record of your account across the network). This site never stores your email.</li>
|
||||
<li>The packets you plant and the referral IDs you save.</li>
|
||||
<li>Verified visit records: a one-way hash of your connection and browser, kept 15 days, to count views and clicks fairly. Spotlight view records are kept 120 days as the delivery record.</li>
|
||||
<li>Spotlight purchases, which are public on the Polygon blockchain.</li>
|
||||
</ul>
|
||||
<h2>Who sees it</h2>
|
||||
<p>Your username, your packets and the programs you saved an ID in are public on your member page. Your saved IDs are used to build the referral links visitors see. When a packet is approved, its saved IDs are shared with the Crypto Team Build Network builder and DownlineHydra. We do not sell your data.</p>
|
||||
<h2>Cookies</h2>
|
||||
<p>A sign-in cookie, and a cookie that remembers which member sent you (for 30 days), so their link comes first.</p>
|
||||
<h2>Your choices</h2>
|
||||
<p>Remove a saved ID or your packet any time on <a href="/my">My packets</a>. To erase your network account, open <a href="https://instantadpay.com/support?from=yourprogrambuilder">network support</a>.</p>''')
|
||||
|
||||
# ---------------------------------------------------------------- Guides (Marty approved 2026-11-17: 3 to 5 evergreen pages + FAQ)
|
||||
GUIDES = [('/guides/how-it-works', 'How the Seed Bed works'), ('/guides/is-it-legit', 'Is YourProgramBuilder legit?'), ('/guides/free-account', 'Getting the most from your free account'), ('/guides/planting', 'Planting a program that grows'), ('/guides/faq', 'FAQ')]
|
||||
links = ''.join(f'<li><a href="{u}">{t}</a></li>' for u, t in GUIDES)
|
||||
prose('guides.html', 'Guides', 'Guides to the YourProgramBuilder Seed Bed: how it works, is it legit, your free account, planting and the FAQ.', '/guides', f'''
|
||||
<div class="kicker">Guides</div><h1>YourProgramBuilder guides</h1>
|
||||
<p>Short guides to the Seed Bed, checked against how the site really works.</p><ul>{links}</ul>''', '/guides')
|
||||
|
||||
prose('guide-how.html', 'How the Seed Bed works', 'Plant a program, save referral IDs, and how a program moves into the Crypto Team Build Network builder.', '/guides/how-it-works', '''
|
||||
<div class="kicker"><a href="/guides">Guides</a></div><h1>How the Seed Bed works</h1>
|
||||
<p>YourProgramBuilder is where new programs enter the network. Members plant them, the network saves referral IDs in them, and the ones that grow are reviewed for the Crypto Team Build Network builder.</p>
|
||||
<h2>1. Plant</h2>
|
||||
<p>A network member plants a program: its name, their referral link with {id} where the ID goes, their own ID, a sentence on what it is, whether it is free or paid to join, and the contract address if it is a crypto program. Planting is free, one packet per member at a time. The link is checked before the packet shows and again every day: green shows straight away, yellow waits for a person to look, red is refused.</p>
|
||||
<h2>2. Sprout</h2>
|
||||
<p>Any member can save their referral ID in any packet. A visitor who comes through a member (their page at yourprogrambuilder.com/their-username) sees that member's link first. A signed-in member sees the link of the nearest person above them in their network sponsor line who saved an ID, and the planter's link when nobody did.</p>
|
||||
<h2>3. Transplant</h2>
|
||||
<p>Each packet has a sprout meter: saved IDs from distinct confirmed network members, out of <span data-cfg="need">25</span>. At <span data-cfg="need">25</span> it goes to Marty's review queue and keeps sprouting while it waits. Approved, it is added to the Crypto Team Build Network builder, and so to DownlineHydra's wild heads, with every saved ID carried over. Reaching the number does not guarantee approval.</p>
|
||||
<h2>Spotlights</h2>
|
||||
<p>A one-time Spotlight (<span data-cfg="spotUsd">$10</span> for <span data-cfg="spotViews">1,000</span> guaranteed views) puts a packet at the top of the Seed Bed until its views are delivered. It is optional: planting and saving IDs are free. <a href="/spotlight">More about Spotlights</a>.</p>''', '/guides')
|
||||
|
||||
prose('guide-legit.html', 'Is YourProgramBuilder legit?', 'The contract, the ledger and the split, and what the Seed Bed does and does not check.', '/guides/is-it-legit', '''
|
||||
<div class="kicker"><a href="/guides">Guides</a></div><h1>Is YourProgramBuilder legit?</h1>
|
||||
<p>Two separate questions: can you trust the site, and can you trust the programs in it.</p>
|
||||
<h2>The programs in the Seed Bed</h2>
|
||||
<p>They are outside programs planted by members. The site checks that each link loads, is not a shortener or a private address, and does not promise income in its description, and it rechecks every day. It does not check the business behind a program. A packet is its planter's description, not a recommendation: read each program's terms, and if a program has a contract address, look it up before you send anything.</p>
|
||||
<h2>The Spotlight money</h2>
|
||||
<ul>
|
||||
<li>Every Spotlight is paid to the YPBShop contract on Polygon. Its address and source are on the <a href="/contract">contract page</a> once it is deployed.</li>
|
||||
<li>The contract splits each payment in the same transaction: <span data-cfg="sponsor">20%</span> to the buyer's sponsor, <span data-cfg="lvlEach">5%</span> each to levels 2 to 5, <span data-cfg="company">60%</span> to the company. The split is fixed and has no setter.</li>
|
||||
<li>No owner withdraw, no sweep, no upgrade. Price changes wait 48 hours on chain.</li>
|
||||
<li>No earlier buyer is ever paid from a later buyer: the shares go to the buyer's own sponsor line on a product that is delivered (views).</li>
|
||||
<li>Every payment shows on the <a href="/ledger">live ledger</a> with its transaction.</li>
|
||||
</ul>
|
||||
<p>Nothing is promised. See the <a href="/disclaimer">earnings disclaimer</a>.</p>''', '/guides')
|
||||
|
||||
prose('guide-free.html', 'Getting the most from your free account', 'Save your IDs, share your member page and plant one program, all free.', '/guides/free-account', '''
|
||||
<div class="kicker"><a href="/guides">Guides</a></div><h1>Getting the most from your free account</h1>
|
||||
<ol>
|
||||
<li><b>Sign in with your network account.</b> One account works across every network site, with the same username and sponsor.</li>
|
||||
<li><b>Save your ID in the programs you have joined.</b> Open a packet, tap Save my ID, type your ID or paste your referral link. Your saved IDs also count toward the packet's review.</li>
|
||||
<li><b>Share your member page.</b> yourprogrambuilder.com/your-username lists the programs you saved, each opening with your link. The <a href="/promote">promo kit</a> has banners and lines with your link filled in.</li>
|
||||
<li><b>Plant one program.</b> If a program you use is not in the Seed Bed or the CTB builder yet, plant it.</li>
|
||||
<li><b>Link a wallet on InstantAdPay.</b> Sponsor shares from Spotlights go to members with a linked wallet; without one, your share passes up.</li>
|
||||
</ol>
|
||||
<p class="muted">Nothing here needs a purchase. Nothing is promised.</p>''', '/guides')
|
||||
|
||||
prose('guide-planting.html', 'Planting a program that grows', 'How to write a packet that passes the link check and gets saved IDs.', '/guides/planting', '''
|
||||
<div class="kicker"><a href="/guides">Guides</a></div><h1>Planting a program that grows</h1>
|
||||
<h2>Get the link right</h2>
|
||||
<p>Copy your referral link from the program, then replace your ID in it with {id}. For example, if your link is https://program.example/?ref=jane, plant https://program.example/?ref={id} and type jane as your own ID. Use the program's real address, never a shortener, and https where the program has it.</p>
|
||||
<h2>Say what it is, plainly</h2>
|
||||
<p>One or two sentences: what the program does and what a member gets. No income claims, no "guaranteed", no links in the description. Packets with flagged words wait for a person to look.</p>
|
||||
<h2>Be honest about the cost</h2>
|
||||
<p>Pick free or paid, and for paid say what it costs to join. If it runs on a contract, add the address so members can look it up.</p>
|
||||
<h2>Help it sprout</h2>
|
||||
<p>Tell the people you work with to save their IDs in it. Every visitor who comes through them sees their link first, so saving an ID is worth it for them too. A Spotlight is optional.</p>''', '/guides')
|
||||
|
||||
FAQ = [
|
||||
('Is YourProgramBuilder free?', 'Yes. Signing in, planting one program and saving IDs are free. A Spotlight is an optional one-time purchase.'),
|
||||
('How many programs can I plant?', 'One packet per member at a time. Remove yours to plant a different one. Saving IDs in other packets has no limit.'),
|
||||
('Why is my packet not showing?', 'Its link check is yellow (waiting for a person) or red (the link did not load). Check it on My packets. Edits are checked again.'),
|
||||
('What happens at 25 saves?', 'The packet goes to Marty\'s review for the Crypto Team Build Network builder. Approved, it is added there and to DownlineHydra\'s wild heads with every saved ID. Reaching the number does not guarantee approval.'),
|
||||
('Whose link does a visitor see?', 'A visitor through a member sees that member\'s link first. A signed-in member sees the nearest saved ID up their sponsor line, then the planter\'s.'),
|
||||
('Can I plant a program that is already in the builder?', 'No. Save your ID for it on DownlineHydra\'s wild heads instead.'),
|
||||
('Do I need a Spotlight to earn?', 'No. Spotlight shares go to the buyer\'s sponsor line, and anyone in it with a network sign-in and a linked wallet is paid. Nothing is promised.'),
|
||||
('Which wallet do I use?', 'SafePal or any other crypto wallet on Polygon.'),
|
||||
('I was a member of the old YourProgramBuilder. What happened to my account?', 'Old members were matched to the network by email and keep their sponsor. Old links open your new member page. Programs you added come back as dormant packets you confirm on My packets. Old balances were not carried over.'),
|
||||
('How do I get help?', 'Network support at instantadpay.com/support handles every network site.')]
|
||||
import json
|
||||
ld = json.dumps({'@context': 'https://schema.org', '@type': 'FAQPage', 'mainEntity': [{'@type': 'Question', 'name': q, 'acceptedAnswer': {'@type': 'Answer', 'text': a}} for q, a in FAQ]})
|
||||
prose('guide-faq.html', 'FAQ', 'Answers to the common questions about the YourProgramBuilder Seed Bed.', '/guides/faq', '<div class="kicker"><a href="/guides">Guides</a></div><h1>FAQ</h1>' + ''.join(f'<h2>{q}</h2><p>{a}</p>' for q, a in FAQ), '/guides')
|
||||
# FAQPage schema (head)
|
||||
p = os.path.join(PUB, 'guide-faq.html'); s = open(p, encoding='utf8').read().replace('</head>', '<script type="application/ld+json">' + ld + '</script>\n</head>'); open(p, 'w', encoding='utf8', newline='\n').write(s)
|
||||
print('pages written')
|
||||
Reference in New Issue
Block a user