Aiursoft.StatHub.Client
8.0.9
See the version list below for details.
dotnet tool install --global Aiursoft.StatHub.Client --version 8.0.9
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Aiursoft.StatHub.Client --version 8.0.9
#tool dotnet:?package=Aiursoft.StatHub.Client&version=8.0.9
nuke :add-package Aiursoft.StatHub.Client --version 8.0.9
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
docker pull $image
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.20 | 65 | 10/29/2024 |
8.0.19 | 97 | 10/11/2024 |
8.0.18 | 88 | 10/7/2024 |
8.0.17 | 75 | 10/7/2024 |
8.0.16 | 86 | 9/25/2024 |
8.0.15 | 150 | 7/10/2024 |
8.0.14 | 107 | 7/8/2024 |
8.0.13 | 107 | 6/30/2024 |
8.0.12 | 117 | 6/29/2024 |
8.0.11 | 111 | 6/27/2024 |
8.0.10 | 109 | 6/14/2024 |
8.0.9 | 92 | 6/9/2024 |
8.0.8 | 100 | 6/6/2024 |
8.0.7 | 112 | 6/5/2024 |
8.0.6 | 215 | 3/17/2024 |
8.0.5 | 200 | 3/13/2024 |
8.0.4 | 383 | 2/26/2024 |
8.0.3 | 136 | 2/25/2024 |
8.0.2 | 243 | 2/21/2024 |
8.0.1 | 166 | 2/19/2024 |
8.0.0 | 169 | 2/19/2024 |
1.0.30 | 207 | 2/17/2024 |
1.0.29 | 181 | 2/15/2024 |
1.0.28 | 352 | 2/4/2024 |
1.0.27 | 216 | 2/3/2024 |
1.0.26 | 163 | 2/2/2024 |
1.0.25 | 177 | 2/2/2024 |
1.0.24 | 188 | 1/30/2024 |
1.0.23 | 264 | 1/21/2024 |
1.0.22 | 203 | 1/18/2024 |
1.0.21 | 272 | 1/10/2024 |
1.0.20 | 225 | 1/10/2024 |
1.0.19 | 187 | 1/10/2024 |
1.0.18 | 291 | 1/5/2024 |
1.0.17 | 164 | 1/5/2024 |
1.0.16 | 183 | 1/5/2024 |
1.0.15 | 168 | 1/5/2024 |
1.0.14 | 145 | 1/5/2024 |
1.0.13 | 157 | 1/5/2024 |
1.0.12 | 198 | 1/5/2024 |
1.0.11 | 217 | 1/4/2024 |
1.0.10 | 181 | 1/4/2024 |
1.0.9 | 179 | 1/4/2024 |
1.0.8 | 244 | 1/4/2024 |
1.0.7 | 216 | 1/4/2024 |
1.0.6 | 211 | 1/4/2024 |
1.0.5 | 202 | 1/1/2024 |
1.0.4 | 181 | 1/1/2024 |
1.0.3 | 198 | 1/1/2024 |
1.0.2 | 223 | 1/1/2024 |
1.0.0 | 201 | 12/30/2023 |