Share to the forge from a phone's share sheet (#15684)
Phone. With the forge installed as an app, share text or a link to it. The sheet POSTs
title, text and url to /tell/share, so the words are never in a logged URL.
- A share never files by itself: the words are held on the server for 15 minutes behind an
HttpOnly cookie and
/tell/shareshows them in a form; nothing is filed until you tap Send. Signed out, you sign in first and come back to that form. Send files the tell as typed and lands on its receipt (/tell/share/:id), which only you can open. - Nothing shared, a link that is not http(s), or more than 4,000 characters is refused with a sentence; nothing is cut or held. A signed-out address may hold 10 shares a minute.
Terminal. ssh in, open the palette (:) and pick "Shared from my phone": your own
share-filed tells, newest first (50 at most; / filters, Enter shows one's words whole, esc
back). Nothing to list says so.
Code: src/web/studio/share_receive.ts (routes, held words, the per-address limit),
shareReceiptsCommand in src/tui/screens/share_tell.ts (terminal). Pinned by
test/share-target.test.ts and test/share-tell-tui.test.ts.