Skip to content
/ qrc Public

在终端上传文件并打印二维码,通过扫描二维码可以快速获取文件的下载链接。

License

Notifications You must be signed in to change notification settings

ttgml/qrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOW TO USE IT

Upload File

curl -F 'file=@/path/to/file' http://server

Get File Info

curl http://server/{fuid}/info

Download File

curl http://server/{fuid}/down

Delete File

curl http://server/{fuid}/delete

Deploy

Docker

  1. edit setting.cfg setting redis server and base url

  2. build docker images docker build -t qrc:v1 .

  3. docker run docker run -d -v /tmp/upload:/tmp/upload -p 8080:80 qrc:v1

Uvicorn

uvicorn main:app

About

在终端上传文件并打印二维码,通过扫描二维码可以快速获取文件的下载链接。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages