Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d1ef12c
Create main.yml
sirpdboy Apr 10, 2024
73546d7
up netspeedtest2.3.0 add roadband OpenSpeedtest
sirpdboy Jan 3, 2025
474818c
Update homebox 0.0.0-dev.2024101306
sirpdboy Feb 16, 2025
d03825a
Update Makefile
ntbowen Feb 28, 2025
d77165c
Update Makefile
ntbowen Feb 28, 2025
90c7733
Update Makefile
ntbowen Feb 28, 2025
7c3b814
Merge pull request #53 from ntbowen/patch-1
sirpdboy Feb 28, 2025
c5b3dcd
Update v0.0.0.20241013
sirpdboy Feb 28, 2025
f751b54
fix netspeedtest www and isSet error .
sirpdboy Mar 1, 2025
ddfdd2c
up speedtest 2.1.4b2 FIX www and isSet error .
sirpdboy Mar 1, 2025
c3fc875
Update 20250302
sirpdboy Mar 1, 2025
d71b2aa
Update 2024101306
sirpdboy Mar 8, 2025
c4e0cc2
Update main.yml
sirpdboy Mar 21, 2025
6abcf58
Delete luci-app-netspeedtest directory
sirpdboy May 13, 2025
0bd5eca
up luci-app-netspeedtest v5.0.1 add speedtest-cli
sirpdboy May 13, 2025
0223e8c
up ### 2025.5.12 网速测试V5.0.1: - JS版适配最新官方的OPENWRT。 - 新增外网Ookla …
sirpdboy May 13, 2025
ae6462e
u
sirpdboy May 13, 2025
1d3c210
add iperf-3.1.3-win64
sirpdboy May 13, 2025
d5b3957
Update main.yml
sirpdboy May 13, 2025
746578f
up luci-app-netspeedtest v5.0.2
sirpdboy May 13, 2025
1206461
Add files via upload
sirpdboy May 14, 2025
1826c4a
add 演示
sirpdboy May 14, 2025
896d11b
Update README.md2025.5.13 网速测试V5.0.2: - 统一日志,Iperf3,Homebox和speed…
sirpdboy May 14, 2025
1e93452
up luci-app-netspeedtest v5.0.3
sirpdboy May 15, 2025
38e9d52
fix menu name
sirpdboy May 16, 2025
b5c9eb7
Update README.md
sirpdboy May 16, 2025
8eb4bca
fix acl
sirpdboy May 20, 2025
06f7c23
d
sirpdboy Jun 11, 2025
ff2cc7b
up netspeedtest fix acl
sirpdboy Jun 11, 2025
f346f90
up luci-app-netspeedtest5.0.5
sirpdboy Jun 12, 2025
f626368
add LICENSE
sirpdboy Jun 12, 2025
4fa209f
Update README.md
sirpdboy Jun 12, 2025
afeef6d
Update netspeedtest coreutils-nohup
sirpdboy Jun 14, 2025
1567f2c
up luci-app-netspeedtest v5.0.6 fix ico
sirpdboy Jul 11, 2025
b13e8c8
#删除原来老版本
sirpdboy Jul 19, 2025
35158d6
Update README.md
sirpdboy Aug 10, 2025
183c838
Rename README.md to README_CN.md
sirpdboy Aug 10, 2025
7c0cc84
Create README.md
sirpdboy Aug 10, 2025
80e8e30
up luci-app-netspeedtest v5.1.0 fix homebox https
sirpdboy Nov 7, 2025
e23c83f
up netspeedtest v 5.1.1 add online speedtest
sirpdboy Jan 21, 2026
cfd14be
Update 99_netspeedtest.defaults
sirpdboy Feb 25, 2026
f077f1a
Delete luci-app-netspeedtest/htdocs/luci-static/resources/view/netspe…
sirpdboy Feb 26, 2026
3ec5e0c
Update README.md
sirpdboy Feb 26, 2026
df2ae9c
Delete netspeedtest/files directory
sirpdboy Feb 26, 2026
5945370
clear file and update info
sirpdboy Feb 26, 2026
fb4b3b6
Update luci-app-netspeedtest.json
sirpdboy Feb 26, 2026
f699cd1
Update main.yml
sirpdboy Mar 1, 2026
3bebab7
Update main.yml
sirpdboy Mar 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Build

on:
push:
tags:
- v*

jobs:
build:
name: Build ${{ matrix.arch }}-${{ matrix.sdk }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch:
- aarch64_cortex-a53
- aarch64_cortex-a72
- aarch64_generic
- arm_arm1176jzf-s_vfp
- arm_arm926ej-s
- arm_cortex-a15_neon-vfpv4
- arm_cortex-a5_vfpv4
- arm_cortex-a7
- arm_cortex-a7_neon-vfpv4
- arm_cortex-a8_vfpv3
- arm_cortex-a9
- arm_cortex-a9_neon
- arm_cortex-a9_vfpv3-d16
- arm_fa526
- arm_mpcore
- arm_xscale
- i386_pentium-mmx
- i386_pentium4
- mips64_octeonplus
- mips_24kc
- mips_4kec
- mips_mips32
- mipsel_24kc
- mipsel_24kc_24kf
- mipsel_74kc
- mipsel_mips32
- x86_64

steps:
- uses: actions/checkout@main
with:
fetch-depth: 0
- name: Building packages
uses: sbwml/openwrt-gh-action-sdk@go1.25
env:
ARCH: ${{ matrix.arch }}-openwrt-24.10
FEEDNAME: packages_ci
PACKAGES: luci-app-netspeedtest
NO_REFRESH_CHECK: true

- name: add iperf
run: |
cp iperf-3.1.3-win64.zip bin/packages/${{ matrix.arch }}/packages_ci

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.arch }}
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
- name: Create compress files
run: |
tar -zcvf openwrt-24.10-${{ matrix.arch }}.tar.gz -C bin/packages/${{ matrix.arch }}/ packages_ci


- name: Upload packages
uses: ncipollo/release-action@v1
with:
name: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
replacesArtifacts: true
artifacts: "${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz"
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 sirpdboy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
212 changes: 80 additions & 132 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,167 +1,115 @@
## luci-app-netspeedtest
![hello](https://views.whatilearened.today/views/github/sirpdboy/deplives.svg) [![](https://img.shields.io/badge/TG群-点击加入-FFFFFF.svg)](https://t.me/joinchat/AAAAAEpRF88NfOK5vBXGBQ)

### 访问数:[![](https://visitor-badge.glitch.me/badge?page_id=sirpdboy-visitor-badge)] [![](https://img.shields.io/badge/TG群-点击加入-FFFFFF.svg)](https://t.me/joinchat/AAAAAEpRF88NfOK5vBXGBQ)
<h1 align="center">
<br>Net Speed Test<br>
</h1>

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明1.jpg)

luci-app-netspeedtest 网络速度诊断测试(包括:内网网页版测速、内网iperf3吞吐测速、外网speedtest.net网速测试、特定服务器的端口延迟测速)

[luci-app-netspeedtest 网络速度诊断测试](https://github.com/sirpdboy/netspeedtest)

请 **认真阅读完毕** 本页面,本页面包含注意事项和如何使用。

## 写在前面

- 一直在找OPENWRT上测试速度的插件,苦寻不到,于是有了它! 此插件可进行内外和外网网络速度测试。
- TG群友说插件2年没更新了,花了几天时间结合时下需要,将网络测试功能升级到2.0版本。

<!-- TOC -->

## [菜单向导](#luci-app-netspeedtest)
- [功能说明](#功能说明)
- [注意事项](#iperf3吞吐测试注意事项)
- [版本说明](#版本说明)
- [使用方法](#使用方法)
- [源码说明](#源码说明)
- [界面](#界面)
- [其它](#其它)
- [感谢](#感谢)
- [捐助](#捐助)

<!-- /TOC -->

## 功能说明
- 内网网页版测速插件 :基于speedtest-web网页版,启用后再点start进行测速。网页版启动后程序会驻留内存不测速建议不启用服务。
- 内网iperf3吞吐测试 ,服务端路由器如果没有安装请先安装此iperf3插件。
- 外网测速使用speedtest.net测速内核,基于speedtest-cli,需要有python3才能执行。
- 特定服务器的端口延迟测速,是测试指定服务器的端口的延迟情况。

## iperf3吞吐测试注意事项
- 测速的终端使用机器必须和测速服务器在同一个局域网络中!
- 客户端使用步骤:启动测速服务器端-->下载测试客户端-->运行测速客户端-->输入服务端IP地址-->查看结果。
- 客户端运行,国内端下载中有“iperf3测速客户端”,运行它输入服务器IP即可。
国外原版,需要手动进入 CMD命令模式,再输入命令:iperf3.exe -c 服务器IP
- 网络测速iperf3客户端下载地址:https://sipdboy.lanzoui.com/b01c3esih 密码:cpd6
- 需要依赖: python3 iperf3 speedtest-web

## 版本说明


### 2023.3.2 网速测试V2.1.3:
- 修复测速Speedtest看不到测试报名问题。
- 重新调试IPERF3测试页面代码,解决某些主题显示不优雅的问题。
- 修复取消服务自动启用的问题

### 2023.1.15 网速测试V2.1:
- 内网测试速度WEB页采用homebox。
- 修复WEB页内网测试自动启用问题。
- 外网测速加入Netperf测试。
- 外网测速Speedtest某些节点会禁止测速。要测速建议关了留国的插件。

### 2022.10.18 网速测试V2.0.3:
- 代码基本重写和优化。
- Iperf3可实时体现服务状态。
- 增加内网测试网页版。
- 外网测速,加入更详细测试报告。

### 2021.3.2 网速测试V1.6:
- 升级宽带测试带2.13内核。
- 解决1.806以上版本不能编译问题。

## 使用方法

将NetSpeedTest 主题添加至 LEDE/OpenWRT 源码的方法。

### 下载源码:

# 下载源码

git clone https://github.com/sirpdboy/netspeedtest.git package/netspeedtest
make menuconfig

```
### 配置菜单

```Brach
make menuconfig
# 找到 LuCI -> Applications, 选择 luci-app-netspeedtest, 保存后退出。
```

### 编译

```Brach
# 编译固件
make package/netspeedtest/luci-app-netspeedtest/compile V=s
```


## 源码说明

- 源码来源和依赖:
- luci-app-netspeedtest:https://github.com/sirpdboy/netspeedtest
- speedtest-web:https://github.com/ZeaKyX/speedtest-web
- speedtest-cl:https://github.com/sivel/speedtest-cli
<p align="center">

- 你可以随意使用其中的源码,但请注明出处。
<a target="_blank" href="https://github.com/sirpdboy/luci-app-netspeedtest/releases">
<img src="https://img.shields.io/github/release/sirpdboy/luci-app-netspeedtest.svg?style=flat-square&label=NetSpeedTest&colorB=green">
</a>
</p>

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明2.jpg)
[中文](README_CN.md) | English

## 界面
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明1.jpg)

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest1.jpg)
Luci app netspeedtest network speed diagnostic test (including: intranet web version speed test, intranet iperf3 throughput speed test, intranet speedtest.net network speed test, specific server port latency speed test)

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest2.jpg)
Please read this page carefully, which includes precautions and instructions on how to use it.

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest3.jpg)
##Write it in front

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest4.jpg)
- I have been looking for a plugin to test speed on OPENWRT, but I couldn't find it, so I came up with it! This plugin can perform internal and external network speed testing.
- TG group members said that the plugin hasn't been updated for 2 years, and it took a few days to upgrade the network testing function to version 2.0 based on current needs.


## Function Description
- Internal network web version speed measurement plugin: Based on the HomeBox web version, enable it and then click start to perform speed measurement. After the web version is launched, the program will reside in memory. It is not recommended to enable the service due to slow speed.
- Internal iperf3 throughput test, if the server router is not installed, please install this iperf3 plugin first.
- The external network speed measurement uses the speedtest.net speed measurement kernel, based on speedtest cli, and cancels the old Python 3.
- The port delay speed measurement of a specific server is to test the delay situation of the specified server's port.

## 使用与授权相关说明

- 本人开源的所有源码,任何引用需注明本处出处,如需修改二次发布必告之本人,未经许可不得做于任何商用用途。
## Precautions for iperf3 throughput testing
- The terminal for speed measurement must be on the same local area network as the speed measurement server!
- Client usage steps: Start the speed measurement server -->Download the test client -->Run the speed measurement client -->Enter the server IP address -->View the results.
- The client is running, and there is a "iperf3 speed measurement client" available for download on the domestic end. Simply enter the server IP to run it.
The original version from abroad requires manually entering CMD command mode and then entering the command: iperf3.exe - c server IP
- Download link for iperf3 client for network speed measurement: https://sipdboy.lanzoui.com/b01c3esih Password: cpd6
-Need to rely on: speedtest cli


# My other project

- 网络速度测试 :https://github.com/sirpdboy/NetSpeedTest
### downloading source:

- 定时设置插件 : https://github.com/sirpdboy/luci-app-autotimeset
```Brach
# downloading
git clone https://github.com/sirpdboy/luci-app-netspeedtest package/netspeedtest
make menuconfig

```
### Configuration Menu

- 关机功能插件 : https://github.com/sirpdboy/luci-app-poweroffdevice
```Brach
make menuconfig
# find LuCI -> Applications, select luci-app-netspeedtest, save and exit
```
### compile
```Brach
# compile
make package/netspeedtest/luci-app-netspeedtest/compile V=s
```

- opentopd主题 : https://github.com/sirpdboy/luci-theme-opentopd

- kucat 主题: https://github.com/sirpdboy/luci-theme-kucat
## describe
- luci-app-netspeedtest:https://github.com/sirpdboy/luci-app-netspeedtest
- homebox:https://github.com/hay-kot/homebox
- speedtest-cli: https://github.com/sbwml/openwrt_pkgs
- speedtest-js: https://github.com/muink/luci-app-netspeedtest

- 家长控制: https://github.com/sirpdboy/luci-theme-parentcontrol
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明2.jpg)

- 系统高级设置 : https://github.com/sirpdboy/luci-app-advanced

- ddns-go动态域名: https://github.com/sirpdboy/luci-app-ddns-go
## interface

- 进阶设置(系统高级设置+主题设置kucat/agron/opentopd): https://github.com/sirpdboy/luci-app-advancedplus
![screenshots](./演示.gif)

- 设置向导: https://github.com/sirpdboy/luci-app-wizard
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest1.png)

- 分区扩容: https://github.com/sirpdboy/luci-app-partexp
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest2.png)

- lukcy大吉: https://github.com/sirpdboy/luci-app-lukcy
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest3.png)

## 捐助
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/netspeedtest4.png)

![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明3.jpg)
# My other project

| <img src="https://img.shields.io/badge/-支付宝-F5F5F5.svg" href="#赞助支持本项目-" height="25" alt="图飞了😂"/> | <img src="https://img.shields.io/badge/-微信-F5F5F5.svg" height="25" alt="图飞了😂" href="#赞助支持本项目-"/> |
- Watch Dog : https://github.com/sirpdboy/luci-app-watchdog
- Net Speedtest : https://github.com/sirpdboy/luci-app-netspeedtest
- Task Plan : https://github.com/sirpdboy/luci-app-taskplan
- Power Off Device : https://github.com/sirpdboy/luci-app-poweroffdevice
- OpentoPD Theme : https://github.com/sirpdboy/luci-theme-opentopd
- Ku Cat Theme : https://github.com/sirpdboy/luci-theme-kucat
- Ku Cat Theme Config : https://github.com/sirpdboy/luci-app-kucat-config
- NFT Time Control : https://github.com/sirpdboy/luci-app-timecontrol
- Parent Control: https://github.com/sirpdboy/luci-theme-parentcontrol
- Eqos Plus: https://github.com/sirpdboy/luci-app-eqosplus
- Advanced : https://github.com/sirpdboy/luci-app-advanced
- ddns-go : https://github.com/sirpdboy/luci-app-ddns-go
- Advanced Plus): https://github.com/sirpdboy/luci-app-advancedplus
- Net Wizard: https://github.com/sirpdboy/luci-app-netwizard
- Part Exp: https://github.com/sirpdboy/luci-app-partexp
- Lukcy: https://github.com/sirpdboy/luci-app-lukcy

## HELP

| <img src="https://img.shields.io/badge/-Alipay-F5F5F5.svg" href="#赞助支持本项目-" height="25" alt="图飞了"/> | <img src="https://img.shields.io/badge/-WeChat-F5F5F5.svg" height="25" alt="图飞了" href="#赞助支持本项目-"/> |
| :-----------------: | :-------------: |
|![xm1](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/支付宝.png) | ![xm1](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/微信.png) |

<a href="#readme">
<img src="https://img.shields.io/badge/-返回顶部-orange.svg" alt="图飞了😂" title="返回顶部" align="right"/>
<img src="https://img.shields.io/badge/-TOP-orange.svg" alt="no" title="Return TOP" align="right"/>
</a>


## 感谢

感谢sivel、superspeed、user1121114685、ZeaKyX、佐须之男、lean等。因为有你们珠玉在前!
![hello](https://visitor-badge-deno.deno.dev/sirpdboy.sirpdboy.svg) [![](https://img.shields.io/badge/TGGroup-ClickJoin-FFFFFF.svg)](https://t.me/joinchat/AAAAAEpRF88NfOK5vBXGBQ)
Loading