Share your repls and programming experiences

← Back to all posts
Simple file storage on Repl.it!
h
MarcusWeinberger (590)

Pros:
+ Easy to use in python (probably other languages too)
+ Easier to use from linux command-line (using curl)
+ NO FILE SIZE LIMIT
+ Files stay up forever
Cons:
- Relies on jsonstore.io
- Larger files take longer to upload

How is there no file limit?
Using a special client I made myself, I can bypass jsonstore.io's file upload limit. You can use it too, just copy the storage.py file in the project directory.

curl example:

cat /path/to/file | curl -F [email protected] https://bin.marcusweinberger.repl.co/

python example:

import requests
fd = open('/path/to/file','rb').read()
requests.post('https://bin.marcusweinberger.repl.co/', data={'data':fd})

It will return a URL (eg: https://bin.marcusweinberger.repl.co/aaaa) where your file will be available to download!

New! Custom links!

When uploading a file, send it to a URL similar to https://bin.marcusweinberger.repl.co/~example, where "example" is the custom link (make sure there's a ~ before it). Your file will be available at https://bin.marcusweinberger.repl.co/example.

Try it in your browser

Simply go to https://bin.marcusweinberger.repl.co/?data=helloworld

Commentshotnewtop
Mickeymouse2 (0)

[RuntimeError]
The Poetry configuration is invalid:

  • 'description' is a required property

exit status 1