/storage

file storage

Primary LanguageGo

storage

Build Status Go Report Card

a tool use free CDN store file

how it works

many website provider api to store image on CDN without authority check, this tool store file pieces as image on CDN.

usage

# upload
storage -usn 'plugin://cmd?exec=python&args=./vim-cn.py' /path/to/file # upload file to CDN, generated pieces meta for download
# start a upload server
storage -usn 'plugin://cmd?exec=python&args=./vim-cn.py' -addr ':8080'
# download
storage /path/to/file.meta
# download url
storage http://storage.dxkite.cn/meta/mp4.meta
# download meta uri
storage storage://meta?dl=aHR0cDovL3N0b3JhZ2UuZHhraXRlLmNuL21ldGEvbXA0Lm1ldGE=

web downloader

Extra