Simple file storage on Repl.it!
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
ModuleNotFoundError: No module named 'json_store_client'
@RahulChoubey1 sadly jsonstore.io is dead so this doesn't work
[RuntimeError]
The Poetry configuration is invalid:
exit status 1