网页记事本,用于临时记录一些内容
默认监听 10003 端口,数据以文件的形式明文储存在 webnote 文件同目录的 tmp 目录下(需要自己手动创建)
- 编译源代码
- 创建 tmp 目录
- 运行程序
./webnote
编译步骤
git clone https://github.com/nibazshab/webnote.git
cd webnote
CGO_ENABLED=0 go build -ldflags="-s -w"
测试平台:Linux amd64
POST /{uid}
参数:t
文本内容
无响应
GET /{uid}
返回该链接所对应的文本内容
- 解决 favicon.ico 被重定向的问题
https://github.com/nibazshab/webnote
Powered by https://github.com/pereorga/minimalist-web-notepad
MIT © ZShab Niba