Skip to content

Commit 1d75d92

Browse files
committed
feat: Rename the project lfxNet to NetSpeed.
Also renamed liblfxMonitorNet.so to libNetPlugins.so; fixed some other bugs, removed some functions, modified a bit more, and forgot some
1 parent ec71405 commit 1d75d92

28 files changed

Lines changed: 97 additions & 2921 deletions

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.13)
2-
set(PROJECT_NAME lfxNet)
2+
set(PROJECT_NAME NetSpeed)
33
set(PROJECT_VERSION_MAJOR 1)
44
set(PROJECT_VERSION_MINOR 0)
55
project(${PROJECT_NAME})
@@ -49,9 +49,9 @@ add_executable(${PROJECT_NAME} ${DIR} ${QM_FILES})
4949
#find_package(Qt${QT_VERSION} COMPONENTS ${REQUIRED_LIBS} REQUIRED)
5050

5151
if (EXISTS "/usr/lib/dde-dock/plugins")
52-
target_link_libraries(${PROJECT_NAME} MonitorInfo MonitorNet)
52+
target_link_libraries(${PROJECT_NAME} MonitorInfo NetPlugins)
5353
else()
5454
target_link_libraries(${PROJECT_NAME} MonitorInfo)
5555
endif()
5656

57-
install(FILES "lfxNet.json" DESTINATION "/usr/share/lfxNet")
57+
install(FILES "NetSpeed.json" DESTINATION "/usr/share/NetSpeed")
File renamed without changes.

README.en_US.md

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1 @@
1-
# lfxNet
21

3-
<p align="right"><br><a href="README.en_US.md">English</a> | <a href="README.md">简体中文</a> | <a href="README.zh_TW.md">繁體中文</a></p>
4-
5-
![](https://img.shields.io/badge/language-c++-orange.svg) ![](https://img.shields.io/badge/language-Qt-orange.svg) ![](https://img.shields.io/github/license/xmuli/lfxNet) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/xmuli/lfxNet)
6-
7-
![GitHub All Releases](https://img.shields.io/github/downloads/xmuli/lfxNet/total) ![GitHub stars](https://img.shields.io/github/stars/xmuli/lfxNet?style=social) ![GitHub forks](https://img.shields.io/github/forks/xmuli/lfxNet?style=social)
8-
9-
<br>
10-
11-
> `lfxNet` is a lightweight, fast application that displays system resource information in real time.
12-
13-
<img src="docs/lfxMonitorNetHor.gif" alt="lfxMonitorNetHor" width="65%"> <img src="docs/lfxMonitorNetVer.gif" alt=" lfxMonitorNetVer" width="30%">
14-
15-
<br>
16-
17-
## directory
18-
19-
- [Background](#Background)
20-
- [Compile](#Compile)
21-
- [Download](#Download)
22-
- [Author](#Author)
23-
- [Acknowledgements](#Acknowledgements)
24-
- [License](#License)
25-
26-
<br>
27-
28-
### Background
29-
30-
​ I love `DDE`, I am a `Deepin` lover and one of the developers. The project was born because I was used to a taskbar speed plugin on other systems, but there was nothing similar on `Deepin/UOS`.
31-
32-
<br>
33-
34-
​ Provide a desktop fixed transparent window on `Linux`, `Windows`, `MacOS`, so that this window coordinates with the system desktop and can display the active status of internet speed, CPU, memory, disk, etc. in real time. Also available separately for `Win10` and `DDE (for lfxMonitorNet)` is the Taskbar Realtime Internet Speed plugin.
35-
36-
<br>
37-
38-
**lfxNet:** Create a `CPU` usage-rate transparent window fixed to the desktop (not open by default)
39-
40-
<img src="docs/RunWindow.gif" alt="RunWindow" width="40%">
41-
42-
<br>
43-
44-
**lfxMonitorNet:**
45-
46-
> **For detailed demonstration and running results, see 💘 [README](https://github.com/xmuli/lfxNet/tree/master/dde-dock-plugin)**
47-
48-
​ is a refactored version of [lfxspeed](https://github.com/xmuli/lfxspeed), at first, it was only for self-use to check the real-time network speed, then it was open-sourced in the community and people liked it, so I was very happy; then I decided to refactor and extend it to [lfxNet](https://github.com/xmuli/lfxsNet), the goal is to first write it for general purpose `Linux`, and then extend it to `Win` and `Mac` platforms at leisure, to display network speed, CPU, MEM and other information.
49-
50-
<img src="docs/DockSetting.png" alt="DockSetting" width="80%">
51-
52-
<br>
53-
54-
### Compile
55-
56-
After picking into the source directory, execute.
57-
58-
```bash
59-
sudo apt install g++ cmake libqt5*-dev libdtk{core,widget,gui}-dev dde-dock-dev # dependencies
60-
61-
mkdir build && cd build # compile
62-
cmake ...
63-
make -j16
64-
65-
sudo make install # Install
66-
```
67-
68-
**Note:** If it doesn't work, run `killall dde-dock` to restart the taskbar and it will take effect
69-
70-
<br>
71-
72-
If it helped you, <font color=#FE7207 size=4 face="幼圆"> can click on the project’s <img src="https://raw.githubusercontent.com/touwoyimuli/FigureBed/master/project_log/20190709023321.png" height="18" width="18"/> **Star** and <img src="https://raw.githubusercontent.com/touwoyimuli/FigureBed/master/project_log/20190709023317.png" height ="18" width="18"/> **Fork**’s two icons are convenient for raising your hands. It’s quite a thumbs-up.</font> There is a fragrance in your hand.
73-
74-
<br>
75-
76-
### Download
77-
78-
You can compile and install by executing the command yourself, or download the corresponding platform installer to install: [address](https://github.com/xmuli/lfxNet/releases/tag/v0.9.2)
79-
80-
<br>
81-
82-
### Author
83-
84-
[偕臧](https://github.com/xmuli)
85-
86-
<br>
87-
88-
### Acknowledgements
89-
90-
[流年匆忙](https://github.com/justforlxz)[zccrs](https://github.com/zccrs)
91-
92-
<br>
93-
94-
### License
95-
96-
<img src="docs/MIT.png" alt="MIT" width="15%">
97-
98-
This project is distributed and used based on the `MIT` protocol. For more information, see [LICENSE ](/LICENSE).

README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# lfxNet
1+
# NetSpeed
22

33
<p align="right"><br><a href="README.en_US.md">English</a> | <a href="README.md">简体中文</a> | <a href="README.zh_TW.md">繁體中文</a></p>
44

5-
![](https://img.shields.io/badge/language-c++-orange.svg) ![](https://img.shields.io/badge/language-Qt-orange.svg) ![](https://img.shields.io/github/license/xmuli/lfxNet) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/xmuli/lfxNet)
5+
![](https://img.shields.io/badge/language-c++-orange.svg) ![](https://img.shields.io/badge/language-Qt-orange.svg) ![](https://img.shields.io/github/license/xmuli/NetSpeed) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/xmuli/NetSpeed)
66

7-
![GitHub All Releases](https://img.shields.io/github/downloads/xmuli/lfxNet/total) ![GitHub stars](https://img.shields.io/github/stars/xmuli/lfxNet?style=social) ![GitHub forks](https://img.shields.io/github/forks/xmuli/lfxNet?style=social)
7+
![GitHub All Releases](https://img.shields.io/github/downloads/xmuli/NetSpeed/total) ![GitHub stars](https://img.shields.io/github/stars/xmuli/NetSpeed?style=social) ![GitHub forks](https://img.shields.io/github/forks/xmuli/NetSpeed?style=social)
88

99
<br>
1010

11-
> `lfxNet` 是一款轻量、快速的实时显示系统资源信息的应用程序
11+
> NetSpeed 是一款轻量的实时网速悬浮窗口
1212
13-
<img src="docs/lfxMonitorNetHor.gif" alt="lfxMonitorNetHor" width="65%"> <img src="docs/lfxMonitorNetVer.gif" alt="lfxMonitorNetVer" width="30%">
13+
<img src="https://cdn.jsdelivr.net/gh/xmuli/xmuliPic@pic/2021/20210316-162021.png" width="100%"/>
1414

1515
<br>
1616

@@ -31,23 +31,19 @@
3131

3232
<br>
3333

34-
​ 在 `Linux``Windows``MacOS` 上提供一个桌面固定透明窗口,让此窗口协调于系统桌面,可实时显示网速、CPU 、内存、磁盘等活跃状态。同时单独提供 `Win10``DDE (为 lfxMonitorNet)` 的任务栏实时网速插件。
34+
### NetSpeed
3535

36-
<br>
37-
38-
**lfxNet:** 制作一个固定在桌面的 `CPU` 使用率透明窗口(默认不打开)
36+
`Linux` 上提供一个悬浮网速窗口,可实时显示网速、CPU 、内存信息(通用)。
3937

40-
<img src="docs/RunWindow.gif" alt="RunWindow" width="40%">
38+
<img src="https://cdn.jsdelivr.net/gh/xmuli/xmuliPic@pic/2021/20210316-162022.png" width="100%"/>
4139

4240
<br>
4341

44-
**lfxMonitorNet:**
45-
46-
> **详细展示和运行效果,参见 💘 [README](https://github.com/xmuli/lfxNet/tree/master/dde-dock-plugin)**
42+
### NetPlugin
4743

48-
[lfxspeed](https://github.com/xmuli/lfxspeed) 的重构版本,起初,仅自用查看实时网速,后开源在社区被大家喜欢,甚是开心;后决定重构加扩展其为 [lfxsNet](https://github.com/xmuli/lfxsNet),目标先写成通用的 `Linux` 、后空闲扩展到 `Win``Mac` 平台,可显示网速、CPU、MEM 等信息。
44+
一款轻便、快速的任务栏网速插件(仅 DDE)。姑且是 [lfxspeed](https://github.com/xmuli/lfxspeed) 的重构版本
4945

50-
<img src="docs/DockSetting.png" alt="DockSetting" width="80%">
46+
<img src="https://cdn.jsdelivr.net/gh/xmuli/xmuliPic@pic/2021/20210316-162023.gif" width="60%"/> <img src="https://cdn.jsdelivr.net/gh/xmuli/xmuliPic@pic/2021/20210316-162024.gif" width="35%"/>
5147

5248
<br>
5349

@@ -87,7 +83,7 @@ sudo make install # 安装
8783

8884
### 鸣谢
8985

90-
[流年匆忙](https://github.com/justforlxz)[zccrs](https://github.com/zccrs)
86+
[流年匆忙](https://github.com/justforlxz)[zccrs](https://github.com/zccrs) ,期待更多人帮助改善,如果你喜欢且恰好有时间
9187

9288
<br>
9389

README.zh_TW.md

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1 @@
1-
# lfxNet
21

3-
<p align="right"><br><a href="README.en_US.md">English</a> | <a href="README.md">简体中文</a> | <a href="README.zh_TW.md">繁體中文</a></p>
4-
5-
![](https://img.shields.io/badge/language-c++-orange.svg) ![](https://img.shields.io/badge/language-Qt-orange.svg) ![](https://img.shields.io/github/license/xmuli/lfxNet) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/xmuli/lfxNet)
6-
7-
![GitHub All Releases](https://img.shields.io/github/downloads/xmuli/lfxNet/total) ![GitHub stars](https://img.shields.io/github/stars/xmuli/lfxNet?style=social) ![GitHub forks](https://img.shields.io/github/forks/xmuli/lfxNet?style=social)
8-
9-
<br>
10-
11-
> `lfxNet` 是一款輕量、快速的實時顯示系統資源信息的應用程式。
12-
13-
 <img src="docs/lfxMonitorNetHor.gif" alt="lfxMonitorNetHor" width="65%"> <img src="docs/lfxMonitorNetVer.gif" alt="lfxMonitorNetVer" width="30%">
14-
15-
<br>
16-
17-
## 目錄
18-
19-
- [背景](#背景)
20-
- [編譯](#編譯)
21-
- [下載](#下載)
22-
- [作者](#作者)
23-
- [鳴謝](#鳴謝)
24-
- [協議](#協議)
25-
26-
<br>
27-
28-
### 背景
29-
30-
​ 喜愛 `DDE` ,為 `Deepin` 愛好者、也是開發者之一。因習慣其它系統上有一個任務欄網速外掛程式,但在 `Deepin/UOS`上沒有相似的,故項目誕生。
31-
32-
<br>
33-
34-
​ 在 `Linux``Windows``MacOS` 上提供一個桌面固定透明視窗,讓此視窗協調于系統桌面,可實時顯示網速、CPU 、記憶體、磁碟等活躍狀態。同時單獨提供 `Win10``DDE (為 lfxMonitorNet)` 的任務欄實時網速外掛程式。
35-
36-
<br>
37-
38-
**lfxNet:** 制作一个固定在桌面的 `CPU` 使用率透明窗口(默认不打开)
39-
40-
<img src="docs/RunWindow.gif" alt="RunWindow" width="40%">
41-
42-
<br>
43-
44-
**lfxMonitorNet:**
45-
46-
> **詳細展示和運行效果,參見 💘  [README](https://github.com/xmuli/lfxNet/tree/master/dde-dock-plugin)**
47-
48-
​ 是 [lfxspeed](https://github.com/xmuli/lfxspeed) 的重構版本,起初,僅自用查看實時網速,後開源在社區被大家喜歡,甚是開心;後決定重構加擴展其為 [lfxsNet](https://github.com/xmuli/lfxsNet),目標先寫成通用的 `Linux` 、後空閑擴展到 `Win``Mac` 平臺,可顯示網速、CPU、MEM 等信息。
49-
50-
<img src="docs/DockSetting.png" alt="DockSetting" width="80%">
51-
52-
<br>
53-
54-
### 編譯
55-
56-
採進入源碼目錄後,執行:
57-
58-
```bash
59-
sudo apt install g++ cmake libqt5*-dev libdtk{core,widget,gui}-dev dde-dock-dev # 依賴
60-
61-
mkdir build && cd build # 編譯
62-
cmake ..
63-
make -j16
64-
65-
sudo make install # 安裝
66-
```
67-
68-
**注意:** 若未生效,執行 `killall dde-dock` 重啟任務欄後生效
69-
70-
<br>
71-
72-
若是幫助到了你,<font color=#FE7207 size=4 face="幼圆"> 可以點擊該項目的的 <img src="https://raw.githubusercontent.com/xmuli/xmuliPic/pic/2021/20210128152407.png" height="18" width="18"/>  **Star** 和 <img src="https://raw.githubusercontent.com/xmuli/xmuliPic/pic/2021/20210128152444.png" height="18" width="18"/> **Fork** 的兩個圖標,方便抬手之間,相當點個贊,</font> 手有餘香。
73-
74-
<br>
75-
76-
### 下載
77-
78-
可自行執行命令編譯安裝,也可下載對應平臺安裝包安裝:[地址](https://github.com/xmuli/lfxNet/releases/tag/v0.9.2)
79-
80-
<br>
81-
82-
### 作者
83-
84-
[偕臧](https://github.com/xmuli)
85-
86-
### 鳴謝
87-
88-
[流年匆忙](https://github.com/justforlxz)[zccrs](https://github.com/zccrs)
89-
90-
<br>
91-
92-
### 協議
93-
94-
<img src="docs/MIT.png" alt="MIT" width="15%">
95-
96-
該項目基于 `MIT` 協議進行分發和使用。 有關更多信息,請參閱 [協議文件](/LICENSE)

0 commit comments

Comments
 (0)