Use Raycast Hotkeys to Send Local Text or Files to tmpfile.link

If you repeatedly share local notes, logs, or screenshots, opening a browser each time is friction. The new Raycast extension in PR #24608 turns this into a keyboard-first flow: copy text or a file, press one hotkey, and get a shareable tmpfile.link URL immediately.

What PR #24608 Adds

As of February 6, 2026, raycast/extensions#24608 introduces Tflink Tmpfile with one command: Upload Clipboard to Tmpfile.Link.

Core capabilities in the PR:

  • Accepts clipboard Finder file paths and uploads file content.
  • Accepts clipboard plain text and uploads it as a .txt file.
  • Copies the final download URL back to clipboard automatically.
  • Generates a QR code in the result view for fast mobile transfer.
  • Uses anonymous uploads with 7-day retention.

How the Hotkey Workflow Works

Raycast hotkeys trigger commands. This extension reads current clipboard content and decides upload mode based on clipboard type.

1. Copy local content

Copy either a file in Finder or text from any app.

2. Trigger your Raycast shortcut

Run the extension command without typing command names manually.

3. Share the generated link

The download URL is already in clipboard and ready to paste.

Configure a Dedicated Raycast Hotkey

  1. Open Raycast and search for Upload Clipboard to Tmpfile.Link.
  2. Open command actions and choose Assign Hotkey.
  3. Select a shortcut you do not use globally, for example Cmd + Shift + U.
  4. Test once with a short text snippet to confirm URL generation and clipboard copy.

After this setup, the full flow is keyboard-only: copy, hotkey, paste URL.

Send a Local File with One Shortcut

Use this when you need to quickly share screenshots, logs, PDFs, or small binaries under 100MB.

  1. In Finder, select a file and press Cmd + C.
  2. Press your Raycast hotkey.
  3. Wait for upload completion in Raycast.
  4. Paste the auto-copied link in chat, issue trackers, or email.

The command also shows file metadata and a QR code in the result view, which is useful for desktop-to-phone transfer.

Send a Local Text Snippet with One Shortcut

This mode is useful for temporary notes, command output, JSON payloads, or debug summaries.

  1. Copy text from terminal, editor, or browser.
  2. Press your Raycast hotkey.
  3. The extension uploads the text as a generated .txt file.
  4. Paste the returned URL directly where collaboration happens.

For incident response, this often replaces manual pastebin steps.

Implementation Notes from the PR

The extension source in tflink-tmpfile/extensions shows a few practical design choices:

  • Branch on clipboard type: file path vs text content.
  • Validate file size before upload (100MB limit).
  • Prefer server-provided encoded link when available.
  • Generate QR code locally, then render in Raycast Detail view.
  • Expose retry and copy/open actions after upload.

Flow Summary

Clipboard.read()
  -> if file path: read file bytes + upload multipart/form-data
  -> if text: create txt blob + upload multipart/form-data
  -> receive downloadLink/downloadLinkEncoded
  -> Clipboard.copy(finalLink)
  -> render QR + actions in Raycast Detail

Best Practices for Daily Use

  • Use a single team-wide convention for hotkey naming and usage.
  • Treat links as public-by-URL and avoid secrets in uploaded text.
  • Use descriptive filenames before copy/upload to improve readability.
  • Remember anonymous uploads expire after 7 days.
  • Use authenticated tfLink flows when retention must be longer.

Conclusion

PR #24608 turns temporary file/text sharing into an almost invisible step in your local workflow. Once a command hotkey is assigned in Raycast, sharing becomes: copy -> hotkey -> paste link.

For teams that already live in keyboard-first tooling, this is one of the highest-leverage quality-of-life upgrades you can adopt in under five minutes.

References

← Back to Blog