Compile from source
1git clone github.com/librespeed/speedtest-go
2cd speedtest-go
3go build -ldflags "-w -s" -trimpath -o speedtest main.go
Setting
将settings.toml
文件中的assets_path
设置为web/assets
目录(也可以将assets
目录和可执行文件移动到其他位置)
Modify
- 生成图片的水印定义在
results/telemetry.go
中的watermark
变量 - 主页标题在
web/assets/index.html
文件中。
除另有声明外,本博客文章均采用 知识共享 (Creative Commons) 署名 4.0 国际许可协议 进行许可。转载请注明原作者与文章出处。