Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linsir/speedtest_lite
自建 speedtest_lite, powered by OpenResty
https://github.com/linsir/speedtest_lite
lua ngx-lua openresty speedtest
Last synced: about 2 months ago
JSON representation
自建 speedtest_lite, powered by OpenResty
- Host: GitHub
- URL: https://github.com/linsir/speedtest_lite
- Owner: linsir
- License: apache-2.0
- Created: 2023-11-02T07:13:15.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-02T07:25:40.000Z (about 1 year ago)
- Last Synced: 2023-11-02T08:34:24.485Z (about 1 year ago)
- Topics: lua, ngx-lua, openresty, speedtest
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![LibreSpeed Logo](https://github.com/librespeed/speedtest/blob/master/.logo/logo3.png?raw=true)
# LibreSpeed
- 前端: [LibreSpeed](https://github.com/librespeed/speedtest)
- 后端: [OpenResty](https://github.com/openresty/openresty)## 截图
![Screenshot](https://speedtest.fdossena.com/mpot_v6.gif)
## 使用
### OpenResty
```bash
cd speedtest_lite
mkdir -p {logs,runtime}
openresty -p `pwd`/ -c conf/nginx.conf -s stop
openresty -p `pwd`/ -c conf/nginx.conf
# 访问 http://127.0.0.1/ 或者 http://127.0.0.1/v1/
```### docker
```bash
docker run --name speedtest_lite -p 8000:80 -d linsir/speedtest_lite:latest# 访问 http://127.0.0.1:8000/ 或者 http://127.0.0.1:8000/v1/
```