Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0990/httptool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

httptool

web tool,such as create qrcode,file server,etc

install

Docker compose

version: '3'
 
services:
 httptool:
 image: 0990/httptool:latest
 environment:
 - Advertised_Addr=http://127.0.0.1
 ports:
 - "80:80"
 volumes:
 - xxx:/httptool/file_dir
 - xxx:/httptool/qrcode_dir

web html tool

/tool.html

qrcode

create qrcode

/qrcode/create POST
Content-Type: application/json

Body:

{
 "content":"https://www.google.com"
}

Response:

{"code":0,"message":"","picUrl":"http://127.0.0.1/qrcode/qrcode20230906143105.png"}

picUrl is the qrcode url,"http://127.0.0.1" can configure by env Advertised_Addr generated png file dir can configure by volumes /httptool/qrcode_dir

file server

/file

generated png file dir can configure by volumes /httptool/file_dir

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /