diff --git a/public/admin.html b/public/admin.html index fd74be3..3b45517 100644 --- a/public/admin.html +++ b/public/admin.html @@ -494,7 +494,7 @@ - + diff --git a/public/assets/common.js b/public/assets/common.js index 22cd955..fea8c0c 100644 --- a/public/assets/common.js +++ b/public/assets/common.js @@ -34,6 +34,7 @@ window.IAP = (function () { + 'Live ledger' + 'Leaderboard' + 'The contract' + + 'Blog' + 'Members' + '…'; document.body.prepend(nav); diff --git a/public/banners/blog-bridge-pages.jpg b/public/banners/blog-bridge-pages.jpg new file mode 100644 index 0000000..6ffeaba Binary files /dev/null and b/public/banners/blog-bridge-pages.jpg differ diff --git a/public/banners/blog-one-link.jpg b/public/banners/blog-one-link.jpg new file mode 100644 index 0000000..77b7995 Binary files /dev/null and b/public/banners/blog-one-link.jpg differ diff --git a/public/banners/blog-paid-moment.jpg b/public/banners/blog-paid-moment.jpg new file mode 100644 index 0000000..5778157 Binary files /dev/null and b/public/banners/blog-paid-moment.jpg differ diff --git a/public/banners/blog-retargeting.jpg b/public/banners/blog-retargeting.jpg new file mode 100644 index 0000000..98ff797 Binary files /dev/null and b/public/banners/blog-retargeting.jpg differ diff --git a/public/banners/blog-zones.jpg b/public/banners/blog-zones.jpg new file mode 100644 index 0000000..c4132a9 Binary files /dev/null and b/public/banners/blog-zones.jpg differ diff --git a/public/credits.html b/public/credits.html index 16e24ee..6ab3176 100644 --- a/public/credits.html +++ b/public/credits.html @@ -78,7 +78,7 @@ - + diff --git a/public/earning.html b/public/earning.html index 24e7d41..5b9306a 100644 --- a/public/earning.html +++ b/public/earning.html @@ -68,6 +68,6 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees.
- + diff --git a/public/index.html b/public/index.html index 8a8cbad..3d30982 100644 --- a/public/index.html +++ b/public/index.html @@ -28,7 +28,7 @@
LinkSpin Sign in @@ -202,6 +202,7 @@ LinkSpin The contract Live ledger + Blog Terms Privacy Disclaimer diff --git a/public/join.html b/public/join.html index 09b8b61..fbf1726 100644 --- a/public/join.html +++ b/public/join.html @@ -87,7 +87,7 @@ body.squeeze .steps,body.squeeze .checks{display:none} a Crypto Team Build Network property
- + diff --git a/public/launch.html b/public/launch.html index 6d388a2..17aa5c9 100644 --- a/public/launch.html +++ b/public/launch.html @@ -104,7 +104,7 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees.
- + diff --git a/public/ledger.html b/public/ledger.html index dbb60e6..4ad703e 100644 --- a/public/ledger.html +++ b/public/ledger.html @@ -63,7 +63,7 @@ a Crypto Team Build Network property - + diff --git a/public/my.html b/public/my.html index 86fc1be..c4a7aa6 100644 --- a/public/my.html +++ b/public/my.html @@ -1007,7 +1007,7 @@ - + diff --git a/public/partners.html b/public/partners.html index baf68d6..c0a8a7e 100644 --- a/public/partners.html +++ b/public/partners.html @@ -128,7 +128,7 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford to lose.
- + diff --git a/public/plays.html b/public/plays.html index 8f0822b..120ab96 100644 --- a/public/plays.html +++ b/public/plays.html @@ -192,7 +192,7 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never spend what you cannot afford.
- + diff --git a/public/tx.html b/public/tx.html index f70be87..3df8adc 100644 --- a/public/tx.html +++ b/public/tx.html @@ -34,7 +34,7 @@

← Back to the live ledger · Read the contract review

- + diff --git a/public/wall.html b/public/wall.html index 4c29f71..c16ad83 100644 --- a/public/wall.html +++ b/public/wall.html @@ -47,7 +47,7 @@ - + diff --git a/public/wallets.html b/public/wallets.html index f7fb98a..66f0434 100644 --- a/public/wallets.html +++ b/public/wallets.html @@ -121,7 +121,7 @@
Advertising services with a performance referral program. Not an investment product; no income guarantees. Crypto transactions are irreversible. Never share your recovery phrase.
- + diff --git a/tools/blog-covers.py b/tools/blog-covers.py new file mode 100644 index 0000000..1d0bd74 --- /dev/null +++ b/tools/blog-covers.py @@ -0,0 +1,46 @@ +# Blog covers (1200x630) from the LinkSpin kit masters: ring-of-light visual, typeset title, wordmark. Neutral file names. +# Masters + fonts: copy lskit/masters/*.png and lskit/fonts/*.ttf next to this script (they live in the session scratch dir). +from PIL import Image, ImageDraw, ImageFont, ImageFilter +import json, pathlib, sys +HERE = pathlib.Path(__file__).parent +SRC = pathlib.Path(sys.argv[1]) if len(sys.argv) > 1 else HERE # dir holding masters/ and fonts/ +OUT = HERE.parent / 'public' / 'banners' +POSTS = json.loads((HERE / 'blog-seed.json').read_text(encoding='utf-8')) +LAND = Image.open(SRC / 'masters/master-landscape.png').convert('RGB'); SQ = Image.open(SRC / 'masters/master-square.png').convert('RGB') +def FD(px): return ImageFont.truetype(str(SRC / 'fonts/Rajdhani-Bold.ttf'), px) +def FB(px, w='SemiBold'): + f = ImageFont.truetype(str(SRC / 'fonts/Manrope.ttf'), px); f.set_variation_by_name(w); return f +BLUE = (59, 157, 255); ORANGE = (255, 106, 26); FG = (236, 242, 250); MUTED = (176, 192, 216) +def crop_to(im, w, h, focus): + W, H = im.size; r = w / h + cw, ch = (int(H * r), H) if W / H > r else (W, int(W / r)) + cx, cy = int(focus[0] * W), int(focus[1] * H); x = min(max(cx - cw // 2, 0), W - cw); y = min(max(cy - ch // 2, 0), H - ch) + return im.crop((x, y, x + cw, y + ch)).resize((w, h), Image.LANCZOS) +def shade(im, box, strength, blur): + x0, y0, x1, y1 = [int(v) for v in box]; ov = Image.new('L', im.size, 0); d = ImageDraw.Draw(ov) + d.rounded_rectangle((x0, y0, x1, y1), radius=40, fill=int(255 * strength)); ov = ov.filter(ImageFilter.GaussianBlur(blur)) + im.paste(Image.new('RGB', im.size, (7, 12, 24)), (0, 0), ov); return im +def wrap(d, text, f, maxw): + words = text.split(); lines, cur = [], '' + for w in words: + t = (cur + ' ' + w).strip() + if d.textlength(t, font=f) > maxw and cur: lines.append(cur); cur = w + else: cur = t + if cur: lines.append(cur) + return lines +FOCI = [(0.36, 0.5), (0.5, 0.52), (0.36, 0.5), (0.5, 0.52), (0.36, 0.5)] +for i, p in enumerate(POSTS): + src = LAND if i % 2 == 0 else SQ; W, H = 1200, 630 + im = crop_to(src, W, H, FOCI[i]); shade(im, (0, 0, W * 0.6, H), 0.72, 40); d = ImageDraw.Draw(im) + x = 64; y = 60; f = FB(28, 'Bold'); d.text((x, y), 'Link', font=f, fill=FG); d.text((x + d.textlength('Link', font=f), y), 'Spin', font=f, fill=BLUE) + d.text((x + d.textlength('LinkSpin', font=f) + 18, y + 6), 'BLOG', font=FB(18, 'Bold'), fill=MUTED) + title = p['title'].split(':')[0] if ':' in p['title'] else p['title'] + fh = FD(74); lines = wrap(d, title.upper(), fh, 640) + while len(lines) > 3 and fh.size > 44: fh = FD(fh.size - 4); lines = wrap(d, title.upper(), fh, 640) + y = 150 + for k, line in enumerate(lines): d.text((x, y), line, font=fh, fill=ORANGE if k == len(lines) - 1 else FG); y += int(fh.size * 0.92) + sub = p['excerpt'].split('. ')[0] + '.' + fs = FB(23); y += 16 + for line in wrap(d, sub, fs, 620)[:3]: d.text((x, y), line, font=fs, fill=MUTED); y += 34 + d.text((x, H - 70), 'linkspin.app/blog', font=FB(20, 'Bold'), fill=BLUE) + out = OUT / p['cover'].split('/')[-1]; im.save(out, 'JPEG', quality=86, optimize=True, progressive=True); print(out.name) diff --git a/tools/blog-publish.js b/tools/blog-publish.js new file mode 100644 index 0000000..2ecb9ba --- /dev/null +++ b/tools/blog-publish.js @@ -0,0 +1,16 @@ +// Runs INSIDE the LinkSpin container: node /tmp/blog-publish.js [draft] +// Seeds the posts in /tmp/blog-seed.json through blog.save() (same path Admin > Blog uses). Skips slugs that exist. +// Default status is published (Marty asked for the blog built out like InstantAdPay's); pass "draft" to seed drafts. +const fs = require('fs'); +const blog = require('/app/blog.js'); +blog.init({ dataDir: process.env.DATA_DIR || '/app/data' }); +const status = process.argv[2] === 'draft' ? 'draft' : 'published'; +(async () => { + const posts = JSON.parse(fs.readFileSync('/tmp/blog-seed.json', 'utf8')); + for (const p of posts) { + if (await blog.get(p.slug)) { console.log('exists ', p.slug); continue; } + const r = await blog.save(Object.assign({}, p, { status }), null); + console.log(r.error ? 'ERROR ' + p.slug + ': ' + r.error : (status + ' ' + r.post.slug + ' (' + r.post.body.split(/\s+/).length + ' words)')); + } + const all = await blog.listAll(); console.log('total posts:', all.length, '| published:', all.filter(x => x.status === 'published').length); +})().catch(e => { console.error('ERR', e.message); process.exit(1); }); diff --git a/tools/blog-seed.json b/tools/blog-seed.json new file mode 100644 index 0000000..64a6976 --- /dev/null +++ b/tools/blog-seed.json @@ -0,0 +1,42 @@ +[ + { + "slug": "one-link-every-page-you-promote", + "title": "One Link, Every Page You Promote: What a Spin Link Actually Does", + "excerpt": "Most marketers juggle a different link for every offer. A spin link replaces all of them with one short link that rotates visitors through the pages you choose, with weights, hours and a fallback. Here is how it works and why it changes how you promote.", + "tags": "spin links, rotator, getting started, traffic", + "cover": "/banners/blog-one-link.jpg", + "body": "

If you promote more than one thing, you know the problem. A link for the offer, another for the bonus page, another for the review, and a bio that only holds one. Every time something changes you go back and edit a dozen places, and the old links keep pointing at the old pages.

One short link that stands in for all of yours

A spin link is a short link on one of LinkSpin's link domains. Behind it sits a list of destinations, the pages you promote. When someone clicks, the rotator sends them to one of those pages, in turn, by the weights you set. Seventy percent to your main offer and thirty to the review page. Fifty-fifty between two bridge pages you are testing. Whatever split you like.

The link itself never changes. Swap a destination, pause one, add a third, and every copy of your link out in the world keeps working. Your bio, your signature, your old posts, all of them now point at the new mix.

Rules that run while you sleep

Each destination can carry its own rules. Hours of the day, so a page that converts in the evening only shows in the evening. A daily cap, so a limited offer stops after the clicks you want. A fallback, so when everything else is paused or capped the visitor still lands somewhere useful instead of a dead page.

LinkSpin also checks the health of your destinations. If a page goes down, the rotator notices and routes around it, and you hear about it rather than finding out from an angry visitor.

A report that tells you where clicks came from

Every click through a spin link is recorded by source, country and device. You see which post, which site, which country sent the traffic, and which destination it went to. If you run a tracker, the rotator fills your click id into the destination URL on the way through, so your existing tracking keeps working.

Free, and no account needed to try

The rotator is one of the free tools on LinkSpin. You can try a spin on the home page without signing up. When you join, by email, you get your own links, your pages and an ad zone for your site, none of which need a package.

Start with one link. Put every page you promote behind it. Then stop editing bios.

Join free and make your first spin link.

" + }, + { + "slug": "paid-the-moment-they-buy", + "title": "Paid the Moment They Buy: How the LinkSpin Split Works", + "excerpt": "Every ad package bought on LinkSpin is split by a verified smart contract in the same Polygon transaction: 50 percent to the sponsor, 20 to level two, 10 to level three, 20 to the platform. No pending, no withdraw button. Here is the whole mechanism, plainly.", + "tags": "payouts, polygon, smart contract, the split", + "cover": "/banners/blog-paid-moment.jpg", + "body": "

Most affiliate payouts work the same way. You send a buyer, the program records a commission, and then you wait. Days, weeks, sometimes until an approval queue clears. The money sits in someone else's account the whole time.

LinkSpin does not hold anything. When a member buys an ad package, a smart contract on Polygon receives the payment and splits it in that same transaction. By the time the buyer sees the thank-you screen, the sponsor has already been paid.

The split, in numbers

Fifty percent goes to the buyer's direct sponsor. Twenty percent goes to the sponsor's sponsor, level two. Ten percent goes to level three. The remaining twenty percent goes to the platform. These numbers are constants in the contract. Nobody can change them quietly, including us.

Who qualifies for the deeper levels

Level one pays from your very first buyer. Level two opens once two people you referred have each bought a package of twenty-five dollars or more. Level three opens at five such buyers. The ten dollar door package buys ads but does not count toward qualification.

If a level above a buyer is not yet qualified, that share walks up the line to the next qualified position. Nothing disappears into a hold; it is paid to someone in the same transaction, and the ledger shows who.

Read it yourself

Every purchase and every payout is a public transaction on Polygon. The live ledger on LinkSpin lists them in order, with wallet addresses and amounts, and each one links to the block explorer. The contract source is verified, so what you read on the explorer is what runs.

What this is, and what it is not

LinkSpin sells advertising. A package mints ad credits, one cent of delivery per credit, spent across seven formats. The split is a referral commission on those sales. It is not an investment, nobody is promised an income, and the coin it pays in, POL, moves like any crypto asset.

If you have waited on a payout that never came, the ledger is the thing to look at first. Open the live ledger, then join free.

" + }, + { + "slug": "bridge-pages-in-a-minute", + "title": "Bridge Pages in a Minute: Point LinkSpin at Any Offer", + "excerpt": "Sending cold traffic straight to someone else's sales page wastes most of it. A bridge page warms the visitor up first. LinkSpin reads the offer you point it at and writes you a bridge, review or squeeze page on your own link domain, with your angle, in about a minute.", + "tags": "pages, bridge page, squeeze page, conversion", + "cover": "/banners/blog-bridge-pages.jpg", + "body": "

A link in a post gets a click. A click on a cold link lands on a sales page the visitor has no reason to trust yet. Most leave. The fix every experienced marketer uses is a bridge page, a short page of your own that frames the offer before the visitor reaches it.

Building one used to mean a page builder, a domain, hosting and an afternoon. On LinkSpin it is a scan and one line of angle.

Scan, pick a type, add your angle

Paste the address of the offer you promote. LinkSpin reads its headline, its points and its images. Pick the type of page you want: a bridge page that pre-sells, a review page with pros and cons and a verdict, or a squeeze page that collects an email before the visitor goes through. Then add one line in your own words, the thing you would say to a friend about this offer. The page is written from that.

Make it look like yours

Every page comes with a design: light or dark, editorial or bold, your colour palette, a split layout with a hero image or a centred one. Pick a niche preset and you get a matching look and a set of photographic hero images to choose from. Change the headline, the bullets or the call to action any time.

Leads are yours

Squeeze pages collect names and emails into your own list on LinkSpin. Export them as a CSV or send them to a webhook. Nobody else sees them.

Published on a clean domain

Pages publish on lookfirst.page, a domain kept separate from the app and from the spin link domains, so your pages have a stable home. Put a page behind your spin link and the rotator sends visitors to it by weight, the same as any other destination.

The page builder is free. Join by email, scan an offer you already promote, and see what it writes.

" + }, + { + "slug": "your-site-can-earn-ad-credits", + "title": "Your Site Can Earn Ad Credits: Zones in One Script Tag", + "excerpt": "Got a website? One script tag puts an ad slot on it. Member ads show first, then network ads, and every viewable impression pays you LinkSpin ad credits you can spend on your own campaigns. Here is how zones work and what counts as a viewable view.", + "tags": "zones, ad credits, website, earn", + "cover": "/banners/blog-zones.jpg", + "body": "

If you run a blog, a review site, a tools page or anything with visitors, you have ad space going unused. A LinkSpin zone turns that space into ad credits with a single script tag.

What a zone is

A zone is one ad slot on your site in a standard size, from a 728 by 90 leaderboard to a 160 by 600 skyscraper, nine sizes in all. You create it in the Control Room, tell LinkSpin the site it lives on, paste the tag where the ad should appear, and the banner is live.

What shows in it

Three tiers, in order. First, a LinkSpin member campaign, the same pool the on-site ad viewer serves. If none fits, a network ad, once the network tier is switched on. If nothing else, a LinkSpin house banner, which earns nothing but never leaves your slot empty.

What you earn, and when a view counts

You earn credits for viewable impressions only. The tag reports a view when at least half the banner has been on screen for one second. One credit per five viewable views of a member campaign, one per ten of a network ad. Bots never count, and views on any site other than the one you declared do not count either, so paid ads only ever appear where you said they would.

A new zone warms up first: it needs its first hundred on-site views with at least forty percent viewable before it starts earning. After that, the quality grade on your Zones screen tells you how it is doing.

Two things that trip people up

Ad blockers. If you test your own site with a blocker on, pause it first. And do not wrap the tag in an element whose class or id contains the words ad, banner or sponsor; blockers hide those.

Spend what you earn

Zone credits go straight into your balance. Spend them on a banner or text campaign of your own, and your site is now paying for your advertising.

Join free, add a zone, paste the tag. Your first credits arrive while you sleep.

" + }, + { + "slug": "retarget-your-own-visitors", + "title": "Retarget Your Own Visitors Without Facebook or Google", + "excerpt": "Retargeting used to mean renting an audience from Facebook or Google. LinkSpin gives every member their own: visitors to your pages and zones are remembered for 30 days, and you can show a campaign only to them, or never to them. Here is how audiences work and where the limits are.", + "tags": "audiences, retargeting, campaigns, advanced", + "cover": "/banners/blog-retargeting.jpg", + "body": "

Someone reads your bridge page, does not buy, and leaves. Everyone who has bought traffic knows that visitor is worth more than a stranger. Big ad platforms sell you the chance to reach them again. LinkSpin builds that into the network.

Audiences you own

Every member has an automatic audience called My visitors. Anyone who views one of your LinkSpin pages, or sees one of your zones on your own site, is added for thirty days. No setup. For any other site you control, you can create a named audience and paste its pixel, a one-line tag like the zone tag.

Target or exclude

When you launch a banner or text campaign, pick an audience and a rule. Show only to them, so your follow-up ad reaches people who already know you. Or never show to them, so a first-touch campaign is not wasted on people who have already seen it. The campaign runs across the network as usual; the audience rule just decides who is eligible.

How the match works, honestly

The match uses a LinkSpin cookie set when a visitor meets your pixel or your zone, with a twenty-four hour fallback for browsers that refuse cross-site cookies. On LinkSpin pages and in the on-site ad viewer the match is reliable. On other sites, Safari and Firefox visitors match less often than Chrome and Edge visitors. Nothing personal is stored: a random id, a timestamp, an optional event name.

Where to find it

Audiences live on the Zones screen, with counts for the last thirty and seven days and the pixel tag for each. The audience selector is on the Ads composer. Audience-targeted campaigns stay inside LinkSpin; they are never sent out to the wider network, because the network cannot see your audience.

Start with the automatic audience. Publish a page, let it collect visitors for a week, then run one small campaign shown only to them and watch the difference. Join free to begin.

" + } +] diff --git a/zones.js b/zones.js index 9f45df1..e6379a6 100644 --- a/zones.js +++ b/zones.js @@ -22,7 +22,7 @@ const J = { db: null, FILE: () => path.join(DATA_DIR, 'zones.json'), function init(opts) { DATA_DIR = opts.dataDir; ads = opts.ads; siteHost = opts.siteHost || siteHost; J.load(); } const norm = e => String(e || '').trim().toLowerCase(); const DAY = 86400000; -function settings() { let s = {}; try { s = JSON.parse(fs.readFileSync(path.join(DATA_DIR, 'zone-rates.json'), 'utf8')); } catch (e) {} return Object.assign({ viewsPerCredit: 5, nasViewsPerCredit: 10, capPerVisitorDay: 50, houseOn: 1, nasOn: 1 }, s); } +function settings() { let s = {}; try { s = JSON.parse(fs.readFileSync(path.join(DATA_DIR, 'zone-rates.json'), 'utf8')); } catch (e) {} return Object.assign({ viewsPerCredit: 5, nasViewsPerCredit: 10, capPerVisitorDay: 50, houseOn: 1, nasOn: 0 }, s); } // nasOn default OFF: the network tier in zones is switched on with NAS at the end of testing (Marty 2026-10-09) // the document an NAS fallback renders in: our own frame, so the NAS tag's document.write lands in a page we control function nasFrame(size) { const wh = SIZES[size]; if (!wh || !NAS_SIZES.has(size)) return null; return '' + NAS_TAG(wh[0], wh[1]) + ''; } // Earning status (Marty, 2026-09-29): a zone earns only once its first WARMUP on-site views have landed with at least