Skip to main content
The viewer is the normal browser page for reading a saved paste. You can open it through either route; both load the same page:
  • /view/{slug}
  • /api/v1/paste/{slug}
Paste viewer

What you see

The viewer shows:
  • A header with a home link and the paste slug
  • The pasted content in a read-only, syntax-highlighted editor
  • A right-side tool panel
The tool panel includes a “Paste Info” card with:
  • Language
  • Visibility
  • Creation time
  • Burn-after-read badge when enabled
  • Live expiration countdown when the paste has an expiration time

Viewer actions

The tool panel includes New Paste, Copy URL and Advanced Options. The buttons inside Advanced Options depend on the paste:
  • Normal pastes: QR Code, Open Raw, Copy Raw URL, Embed, Download, Preview
  • Password-protected pastes: QR Code, Preview only. Raw, embed, and download are deliberately hidden.
If you are logged in, the viewer also shows Dashboard.
Viewer advanced options

Special viewer states

  • You see a password card instead of the content
  • Entering the correct password unlocks the paste
  • Entering the wrong password shows an inline error
  • You first see a warning page telling you the paste will be destroyed after opening
  • Clicking View & Destroy This Paste reveals the content and deletes it immediately afterward
  • Once the burn completes, a banner tells you the paste has already been destroyed
  • The viewer shows an expired message
  • The raw and API endpoints return 410 Gone
  • The viewer shows a “Private Paste” message with Log in to view and Create a new paste
  • Only the paste owner or an admin can open a private paste
If the slug does not exist, the viewer shows a “Paste Not Found” page.

Large pastes

Large non-burn pastes are streamed from the raw endpoint, which avoids loading everything through the normal initial render path. Large burn-after-read pastes are loaded server-side first, then burned, so the content still displays correctly on the last view.