Aiursoft.StatHub.Client
8.0.25
See the version list below for details.
dotnet tool install --global Aiursoft.StatHub.Client --version 8.0.25
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Aiursoft.StatHub.Client --version 8.0.25
#tool dotnet:?package=Aiursoft.StatHub.Client&version=8.0.25
nuke :add-package Aiursoft.StatHub.Client --version 8.0.25
StatHub
StatHub is a simple server stat statistics system. It can collect server stats and display them in a simple way.
Run in Ubuntu
The following script will install\update this app on your Ubuntu server. Supports Ubuntu 22.04.
On your Ubuntu server, run the following command:
curl -sL https://gitlab.aiursoft.cn/aiursoft/stathub/-/raw/master/install.sh | sudo bash
Of course it is suggested that append a custom port number to the command:
curl -sL https://gitlab.aiursoft.cn/aiursoft/stathub/-/raw/master/install.sh | sudo bash -s 8080
It will install the app as a systemd service, and start it automatically. Binary files will be located at /opt/apps
. Service files will be located at /etc/systemd/system
.
Run manually
Requirements about how to run
- Install .NET 8 SDK and Node.js.
- Execute
npm install
atwwwroot
folder to install the dependencies. - Execute
dotnet run
to run the app. - Use your browser to view http://localhost:5000.
Run in Microsoft Visual Studio
- Open the
.sln
file in the project path. - Press
F5
to run the app.
Run in Docker
First, install Docker here.
Then run the following commands in a Linux shell:
image=hub.aiursoft.cn/aiursoft/stathub
appName=stathub
sudo docker pull $image
sudo docker run -d --name $appName --restart unless-stopped -p 5000:5000 -v /var/www/$appName:/data $image
That will start a web server at http://localhost:5000
and you can test the app.
The docker image has the following context:
Properties | Value |
---|---|
Image | hub.aiursoft.cn/aiursoft/stathub |
Ports | 5000 |
Binary path | /app |
Data path | /data |
Config path | /data/appsettings.json |
Run client in Docker
First, install Docker here.
Then run the following commands in a Linux shell:
sudo touch /etc/motd
sudo docker run -d \
--restart always \
--name stathub-client \
--pid host \
--net host \
-v /etc/lsb-release:/etc/lsb-release:ro \
-v /etc/os-release:/etc/os-release:ro \
-v /etc/motd:/etc/motd:ro \
-v /etc/hostname:/etc/hostname:ro \
--privileged \
-e SERVER_ENDPOINT="https://stathub.aiursoft.cn" \
hub.aiursoft.cn/aiursoft/stathub-client
Where https://stathub.aiursoft.cn
is the endpoint of your StatHub server.
How to contribute
There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.
Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.
We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
8.0.28 | 78 | 12/12/2024 |
8.0.27 | 82 | 12/7/2024 |
8.0.26 | 91 | 12/5/2024 |
8.0.25 | 92 | 12/1/2024 |
8.0.24 | 83 | 11/20/2024 |
8.0.23 | 81 | 11/13/2024 |
8.0.22 | 85 | 11/13/2024 |
8.0.21 | 80 | 11/13/2024 |
8.0.20 | 83 | 10/29/2024 |
8.0.19 | 115 | 10/11/2024 |
8.0.18 | 103 | 10/7/2024 |
8.0.17 | 91 | 10/7/2024 |
8.0.16 | 99 | 9/25/2024 |
8.0.15 | 158 | 7/10/2024 |
8.0.14 | 116 | 7/8/2024 |
8.0.13 | 118 | 6/30/2024 |
8.0.12 | 128 | 6/29/2024 |
8.0.11 | 120 | 6/27/2024 |
8.0.10 | 118 | 6/14/2024 |
8.0.9 | 101 | 6/9/2024 |
8.0.8 | 109 | 6/6/2024 |
8.0.7 | 120 | 6/5/2024 |
8.0.6 | 224 | 3/17/2024 |
8.0.5 | 206 | 3/13/2024 |
8.0.4 | 390 | 2/26/2024 |
8.0.3 | 143 | 2/25/2024 |
8.0.2 | 250 | 2/21/2024 |
8.0.1 | 173 | 2/19/2024 |
8.0.0 | 180 | 2/19/2024 |
1.0.30 | 214 | 2/17/2024 |
1.0.29 | 188 | 2/15/2024 |
1.0.28 | 361 | 2/4/2024 |
1.0.27 | 223 | 2/3/2024 |
1.0.26 | 170 | 2/2/2024 |
1.0.25 | 184 | 2/2/2024 |
1.0.24 | 197 | 1/30/2024 |
1.0.23 | 270 | 1/21/2024 |
1.0.22 | 210 | 1/18/2024 |
1.0.21 | 281 | 1/10/2024 |
1.0.20 | 232 | 1/10/2024 |
1.0.19 | 194 | 1/10/2024 |
1.0.18 | 297 | 1/5/2024 |
1.0.17 | 171 | 1/5/2024 |
1.0.16 | 189 | 1/5/2024 |
1.0.15 | 174 | 1/5/2024 |
1.0.14 | 151 | 1/5/2024 |
1.0.13 | 165 | 1/5/2024 |
1.0.12 | 204 | 1/5/2024 |
1.0.11 | 223 | 1/4/2024 |
1.0.10 | 187 | 1/4/2024 |
1.0.9 | 185 | 1/4/2024 |
1.0.8 | 251 | 1/4/2024 |
1.0.7 | 223 | 1/4/2024 |
1.0.6 | 217 | 1/4/2024 |
1.0.5 | 209 | 1/1/2024 |
1.0.4 | 190 | 1/1/2024 |
1.0.3 | 205 | 1/1/2024 |
1.0.2 | 230 | 1/1/2024 |
1.0.0 | 207 | 12/30/2023 |