<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinosv3.git/tools/link-preview-test.js, branch fdroid-v1.15</title>
<subtitle>coinos v3 — bitcoin, Ark, Lightning and nostr wallet (web + Android)</subtitle>
<id>https://git.coinos.io/coinosv3.git/atom?h=fdroid-v1.15</id>
<link rel='self' href='https://git.coinos.io/coinosv3.git/atom?h=fdroid-v1.15'/>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/'/>
<updated>2026-11-18T05:14:26Z</updated>
<entry>
<title>PAFF songs and albums play in a bar that stays while you go about the app. "Can you work with PAFF again to make songs embed nicely in nostr posts?" … "From the start please" (Adam, 2026-11-17).</title>
<updated>2026-11-18T05:14:26Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-18T05:14:26Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=80f1b6c729ebfec2bbfcedb17adab18f9dce6e1f'/>
<id>urn:sha1:80f1b6c729ebfec2bbfcedb17adab18f9dce6e1f</id>
<content type='text'>
A paff.club song or album link in a post (/song/&lt;id&gt;, /album/&lt;id&gt;, also under /play/) is a slim card: cover art, "Song · Artist" and its line from the page's preview, a ▶ and a ↗ out to PAFF.

The tap doesn't play it in the post. PAFF's 64 px bar player (/embed/song|album/&lt;id&gt;?bar=1, the link's query kept) loads into a music bar pinned above the bottom nav, or under the feed column on desktop. The bar lives in the document body outside render(), so the feed's windowing never drops it: the music carries on through scrolling, threads and other tabs. The bar is never moved, because a moved iframe reloads. Another song changes its src, and × removes it. The card shows "Playing below" with an equaliser while its song is in the bar. The Post button, the new-posts pill and the page's bottom padding move up while the bar is open.

link-preview-test (stand-in paff.club): the song card has its cover and title with no frame; a tap opens the bar above the nav at /embed/song/abc123?bar=1; the bar is still there on the Wallet page; × closes it. Checked against the real paff.club: the bar player for Daft Punk's Harder, Better, Faster, Stronger played in a frame and answered a pause command. features-smoke and feed-when pass.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
</content>
</entry>
<entry>
<title>A PAFF film pauses when its post scrolls off screen and carries on when it comes back. "can you ask paff to do the pause command?" (Adam, 2026-11-17). PAFF's embed now takes {source:'paff', command:'pause'|'play'|…} and reports {source:'paff', event:'playing'|'pause'|'ended'}. Each loaded film box is watched: once it's fully off screen while playing, it's told to pause. When it's back at least half in view, it's told to play, but only if we paused it; a viewer's own pause stays paused. link-preview-test runs a stand-in paff.club (self-signed TLS, host-resolver-rules) whose player speaks the protocol. In it the film pauses when scrolled away and plays when scrolled back (commands logged: pause, play). features-smoke passes.</title>
<updated>2026-11-18T02:23:33Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-18T02:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=fb04a947e681e5182775875d0477eb69c9201e84'/>
<id>urn:sha1:fb04a947e681e5182775875d0477eb69c9201e84</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
</content>
</entry>
<entry>
<title>A PAFF film link plays inside the post. "What would it take to embed a PAFF video in a Nostr feed, or to have it play in line like other videos and YouTube videos do?" … "Yes please" (Adam, 2026-11-17). PAFF now serves a bare player at paff.club/embed/movie/&lt;slug&gt; (and /embed/show/&lt;slug&gt;/sNeM), and its query string carries over from the share link (q quality, c copy, t start). A paff.club movie or episode link, with or without /play, shows as a 16:9 box: its backdrop and title from the page's own preview, a play button and a ↗ out to PAFF. The tap swaps in PAFF's player with autoplay, fullscreen and picture-in-picture allowed, and no repaint touches the box after that. It loads only on a tap, never on scroll, because a film starts a torrent swarm in the viewer's browser. link-preview-test (a film link is a player with backdrop and title, no frame until the tap, and the tap loads /embed/movie/1382-hackers-1995?q=1080p&amp;t=4910), compose-preview and features-smoke pass.</title>
<updated>2026-11-18T02:18:40Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-18T02:18:40Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=fd172aa8bf6f1bfd0c09f7a819bf2aeda65a5fbd'/>
<id>urn:sha1:fd172aa8bf6f1bfd0c09f7a819bf2aeda65a5fbd</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
</content>
</entry>
<entry>
<title>A draft's Preview shows a link as its card. "i added metadata to paff pages, was hoping links to movies would render with a nicely formatted thumbnail" (Adam, 2026-11-17). The registrar already reads paff.club's movie pages (title "Hackers (1995) · from 1:21:50", description, backdrop), and a posted note warms its links' cards before it shows; the composer's Preview ran the same renderer but never asked for the page, so a link not already cached stayed a bare URL. It now asks once the typing settles (half a second), then repaints into the card. link-preview-test (a draft's preview shows the movie card, asked once) and compose-preview-test pass.</title>
<updated>2026-11-17T20:14:04Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-17T20:14:04Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=a91155b1904384a8b2f151a9c50df06ad068a397'/>
<id>urn:sha1:a91155b1904384a8b2f151a9c50df06ad068a397</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
</content>
</entry>
<entry>
<title>A flick through the feed no longer drags background work through the middle of it. "When I flick to scroll, it's not getting up to speed very quickly, and clicking around in the app feels a bit sluggish at times" (Adam, 2026-11-07). Measured on his Pixel 9 in the installed PWA: idle is quiet (0.16 s of script in 10 s), but three real flicks through Following spent 1.7 s of 9 on the main thread, frames up to 200 ms, and the work was the avatar thumbnailer finishing faces as they scrolled in: a synchronous canvas.toDataURL WebP encode per face (229 ms), the profile cache JSON.stringified twice per half-second flush (once just to measure it, up to ~2 MB with thumbnails), and a whole-page repaint per finished face that changes nothing on screen (feed rows keep the face they were admitted with). Now: the crop, resize and encode happen off the main thread (createImageBitmap with resizeWidth/Height, OffscreenCanvas.convertToBlob, FileReader), with the old canvas path as the fallback; a finished face is recorded once the page settles; scheduleRepaint holds while a finger is down or the page scrolled in the last 200 ms (at most 1.5 s), and the profile flush likewise (at most 5 s, forced on an account switch) and sizes the blob by summing rows instead of stringifying it. Tests: the create flow's heads-up / passphrase / check steps from earlier today broke every test that made a wallet by waiting for the words and clicking "Skip verification"; tools/puppeteer.js exports seedWords() and skipSeedCheck() and the 96 tests use them. room-faces and avatar-profile fail the same way on 8858591 (row.hover, scrollIntoView), before today's changes</title>
<updated>2026-11-07T16:47:20Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-07T16:47:20Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=e905e5be5b2a0385e89de5ab3c0d95a917307314'/>
<id>urn:sha1:e905e5be5b2a0385e89de5ab3c0d95a917307314</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6Ts5Tktega8VbLg31q
</content>
</entry>
<entry>
<title>Browser tests: public relays answered in the page, never reached</title>
<updated>2026-10-07T19:02:51Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-07T19:02:51Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=86d9818abfc160dac031bb292abe28d6f28fc624'/>
<id>urn:sha1:86d9818abfc160dac031bb292abe28d6f28fc624</id>
<content type='text'>
A suite run let ~90 throwaway test wallets subscribe and publish on public
relays from one home address, and nos.lol and relay.damus.io banned it.
tools/puppeteer.js wraps puppeteer-core: every socket to a non-local host
gets an in-page stand-in relay (EVENT -&gt; OK, REQ -&gt; EOSE). Tests that read
real content launch with { relays: 'read' } (real reads, publishes answered
in place); feed-live, chat-layout and cordn-ui launch with { relays: 'live' }.
LIVE_RELAYS=read|1|host,... overrides per run.

profile-key-qr: measure the QR again if a repaint swapped it out.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Feed, composer and zap tests follow today's app</title>
<updated>2026-10-07T15:27:40Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-07T15:27:40Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=dfb017c1b10cb52c24f4f0bcf745c6abea11b98f'/>
<id>urn:sha1:dfb017c1b10cb52c24f4f0bcf745c6abea11b98f</id>
<content type='text'>
- feed tests reach the Feed from the bottom nav (the chat-home row is
  gone) and seed this wallet's last feed as Following (new wallets open on
  Popular, c89050e) plus the author's profile (readiness gate)
- post-actions: its picture is made locally (it read another session's
  scratchpad), the post's own ⋯ (not the feed header's), a real tap on the
  DM picture (a tap beside a fitted picture is a tap on the post)
- composer-media / video-compress: intercept every public media host
  (ditto is first now; the tests were uploading for real)
- compose-preview: Preview is one toggle button (aria-pressed)
- thread-reply: harness has a wallet (else visitor: Reply asks to sign in),
  registers &lt;coinos-text&gt;, holds the root's id-only query; atomic send tap
- video-unmute: stubs what videoNode reaches outside its slice; preload
  none means the in-view clip is told to load
- zap-deep-profile: zap button scrolled to mid-screen (the bottom nav
  covered it)

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Rebuildable caches move from localStorage to IndexedDB (cache-store.js)</title>
<updated>2026-10-07T14:24:33Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-07T14:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=78cf670939133fc4f656f0f42b21a59431a53842'/>
<id>urn:sha1:78cf670939133fc4f656f0f42b21a59431a53842</id>
<content type='text'>
localStorage is ~5M characters per site whatever the device, and a phone
had filled it. Profiles, faceless list, reports, follow packs, profile
pages, relay lists, the moderation baseline, community directory, link
previews, video sizes/probes and search profiles (~3M on that phone) now
live in IndexedDB, which shares the site's disk allowance (GBs).

cacheStorage keeps localStorage's string API: reads from memory,
coalesced write-behind, flushed on hide. Copies migrate on open and are
removed once written. Boot waits for it (max 3s) beside the Ark store;
caches read at construction re-merge on ready; an early write can't
replace the stored copy. A copy an older build writes to localStorage
later moves in on first ask. Wallet wipes reach it; private mode stays on
localStorage. Read markers, drafts, follows, note threads and sync
outboxes stay in localStorage on purpose (cross-tab consistency, early
server-rendered seeding). Also asks navigator.storage.persist().

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Everything on the coinos relay is a feed of its own, and every feed can read from relays of your choosing.</title>
<updated>2026-09-28T03:20:14Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-09-28T03:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=78f49d1b44952e9c7dba95013ab47af542fea929'/>
<id>urn:sha1:78f49d1b44952e9c7dba95013ab47af542fea929</id>
<content type='text'>
Plain /feed is the firehose: every post relay.coinos.io carries, no filter.
It sits beside Following as a built-in chip for wallets and opens as a
session feed for a visitor.

A feed's relay list is independent of what it asks for. The Relays button
in the header opens a panel to add to or take from the list; empty means
the usual choice (each author's outbox, the wide relays for a topic, the
coinos relay for the firehose). The list rides in the URL as ?r=…, on every
kind of feed, so a shared link reads where you read.

A feed state dropped while its fetch was still out used to swallow the
answers meant for its replacement; a relay change showed nothing.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
</content>
</entry>
<entry>
<title>Links in posts show as the cards their pages describe.</title>
<updated>2026-09-28T02:10:05Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-09-28T02:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=55cb118f25ddd69ffe9cc4bd44a36b1e689ee19e'/>
<id>urn:sha1:55cb118f25ddd69ffe9cc4bd44a36b1e689ee19e</id>
<content type='text'>
A plain link becomes an Open Graph card: picture, title, a line, the site.
The registrar fetches the page on the reader's behalf (names/preview.js,
GET /preview?url=): only public hosts, at most half a megabyte of HTML,
cached a day. The client warms the card with the rest of the post so the row
arrives whole, keeps a few hundred cards across sessions, and leaves a page
with nothing to say as a bare link. Pictures and YouTube keep their boxes.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
</content>
</entry>
</feed>
