file service
Upload any file from your terminal, get back a shareable link. Media embeds in Discord; everything else downloads.
Install
macOS / Linux
curl -fsSL https://x.dop.sh/install.sh | bash
Windows · PowerShell
irm https://x.dop.sh/install.ps1 | iex
Windows · Command Prompt
curl -fsSL https://x.dop.sh/install.bat -o install.bat && install.bat
The installer prompts for an upload token. Contact me if you need one.
Usage
Open a new terminal after installing, then:
dopup ~/Pictures/screenshot.png
dopup ~/Downloads/report.pdf
dopup "C:\path\to\video.mp4"
The URL is printed and copied to your clipboard.
How URLs work
| Path | For | Behavior |
|---|---|---|
| /u/<name>.<ext> | Images, video, audio | Embeds inline in Discord, browsers, etc. |
| /f/<name>.<ext> | Everything else | Forces download with the original filename |
The slug is derived from your filename (lowercased, spaces → dashes). Duplicates get -2, -3, etc.
Limits
| Per file | 2 GB |
| ≤ 50 MB | Stored in Supabase |
| > 50 MB | Stored on the dop.sh server |
Uninstall
# macOS / Linux
rm ~/.dopsh.sh
# Then remove the `[ -f "$HOME/.dopsh.sh" ] ...` line from ~/.zshrc
# Windows
del "$PROFILE\..\dopsh.ps1"
# Then remove the `. '...dopsh.ps1'` line from $PROFILE