FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
wolf

wolf

FileDumpThing

Share files with a paste!
Public
Like
10
FileDumpThing
Home
Code
7
backend
2
cli
2
frontend
3
shared
2
.vtignore
README.md
deno.json
Branches
1
Pull requests
Remixes
5
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
cli
/
README.md
Code
/
cli
/
README.md
Search
4/20/2025
Viewing readonly version of main branch: v49
View latest version
README.md

File Dumper CLI

A simple CLI tool for uploading files to the File Dumper service.

Usage

# Upload a file cat path/to/file.jpg | deno run --allow-net https://esm.town/v/wolf/FileDumpThing/cli/upload.ts file.jpg # Upload text echo "Hello World" | deno run --allow-net https://esm.town/v/wolf/FileDumpThing/cli/upload.ts note.txt

The filename argument is optional but helps identify the file in the URL.

Examples

# Upload and open in browser cat image.png | deno run --allow-net https://esm.town/v/wolf/FileDumpThing/cli/upload.ts image.png | xargs open # Upload and copy URL to clipboard (macOS) cat document.pdf | deno run --allow-net https://esm.town/v/wolf/FileDumpThing/cli/upload.ts document.pdf | pbcopy

Shell Alias

For convenience, add this to your shell configuration:

alias filedump='deno run --allow-net https://esm.town/v/wolf/FileDumpThing/cli/upload.ts'

Then use:

cat image.png | filedump image.png
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.