Skip to Content
screw bugs docs

Report sharing

How a local report becomes a link, how long it lasts, and where it is served from.

Click Share in a local screw-bugs report, sign in with GitHub on screwbugs.dev, and confirm. You get a link on reports.screwbugs.dev that anyone can open, no sign-in needed.

The flow

Click Share

Open the report over its http:// URL (a report opened from disk has no Share button). The browser goes to screwbugs.dev.

Sign in and confirm

Sign in with GitHub if needed. The page shows what will be uploaded; click Upload and get link.

Your computer uploads the report, its screenshots and its videos. You land on the share's page: the link, a Copy button, when it expires, and Delete link.

A shared report on the reports host: the run's video on the left; its title, counts and the first issue on the right.

Only a person can share: the flow needs a click in the report and a confirmation on screwbugs.dev. There is no agent or CLI path.

WhoLink
Free (anyone signed in)Expires 7 days after you shared it
On the Cloud plan (not open yet)Never expires, while you stay on the plan
Admins (the screw-bugs team)Never expires, while you stay an admin
  • An expired link shows an "expired" page (410). Its files are removed for good 30 days later.
  • Subscribing (or being made an admin) within those 30 days brings an expired link back.
  • When the plan ends, your links older than 7 days expire at once.

Sharing from another device

When you opened the report from another device (over Tailscale, say), screwbugs.dev can't send the browser back to your computer. A code links the two instead.

  1. Click Share. The report shows a code like ABCD-EFGH and a link to screwbugs.dev.
  2. Open the link, sign in, type the code, and click Upload and get link.
  3. Your computer uploads; the link appears in the report's tab.
  • The code is valid for 10 minutes. Five wrong codes cancel the request.
  • screwbugs.dev never shows the code: only your own report does. So a link someone else sends you can't put their upload in your account.

My shares

My shares (/shares on screwbugs.dev) lists every link you made, live or expired. Copy a link, or delete it: the report stops at once and its files stop loading within 5 minutes.

My shares on screwbugs.dev: three shared reports, each with its link, site, share date, days left and size, and copy, open and delete buttons.
LimitPer person
Live shares50
Storage1 GB
New shares per day10
One share200 MB
One file95 MB

How it works

Three hosts

HostServesCookies
screwbugs.devSign-in, the share flow, My shares, the upload APISession cookie
reports.screwbugs.devShared reports, rendered by a screw-bugs rendererNone
media.screwbugs.devScreenshots and videos, straight from R2None

Uploaded content never runs on screwbugs.dev, the login domain. A report holds text, links and files that someone else wrote; if any of it ever ran as script on the login domain, it could act as whoever opened it.

  • Reports render on a host with no session, so there is nothing there to steal or use.
  • Only screenshots and videos (png, jpg, webp, webm, mp4) are accepted as files, never HTML or JSON, and they come only from the media host.

Renderer versions

A report is drawn by the renderer of the screw-bugs release line that made it (0.1.x reports by the 0.1 renderers).

URLRenderer
reports.screwbugs.dev/<slug>/reportThe newest of the report's line
reports.screwbugs.dev/latest/<slug>/reportThe same
reports.screwbugs.dev/v0-1-2/<slug>/reportThat release's, for a report it made, while Cloud has it
  • /<slug>/walkthrough works the same way, when the run had one.
  • A prerelease's report (a next build) is only at /<slug>/report.

The upload protocol

  1. Share makes a random state and opens screwbugs.dev/share/new?callback=<loopback URL>&state=….
  2. After sign-in and confirmation, screwbugs.dev redirects to the loopback callback with a one-share ticket (valid 30 minutes). From another device, the local server claims the ticket with its pairing secret instead.
  3. The local server sends POST /api/shares with the version, the scrubbed report bundle and the list of files.
  4. Cloud checks the bundle against that version's schema and the limits, and answers with a slug and upload URLs.
  5. The local server sends each file with PUT /api/shares/<slug>/files/<path>.
  6. POST /api/shares/<slug>/complete checks every file arrived and makes the link live.

Before anything is sent, the local side hides secrets in the report's text (typed passwords, tokens in URLs). Screenshots and videos are uploaded as captured: anything visible on screen is in the share. Full details: Cloud's docs/upload-protocol.md.

NextCloud runs

On this page