Aiursoft.StatHub.Client 8.0.6

dotnet tool install --global Aiursoft.StatHub.Client --version 8.0.6
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Aiursoft.StatHub.Client --version 8.0.6
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Aiursoft.StatHub.Client&version=8.0.6
nuke :add-package Aiursoft.StatHub.Client --version 8.0.6

StatHub

MIT licensed Pipeline stat Test Coverage NuGet version (Aiursoft.StatHub.Client) ManHours Docker

StatHub is a simple server stat statistics system. It can collect server stats and display them in a simple way.

overview

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

  1. Install .NET 8 SDK and Node.js.
  2. Execute npm install at wwwroot folder to install the dependencies.
  3. Execute dotnet run to run the app.
  4. Use your browser to view http://localhost:5000.

Run in Microsoft Visual Studio

  1. Open the .sln file in the project path.
  2. 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

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
8.0.6 159 3/17/2024
8.0.5 148 3/13/2024
8.0.4 334 2/26/2024
8.0.3 89 2/25/2024
8.0.2 199 2/21/2024
8.0.1 118 2/19/2024
8.0.0 126 2/19/2024
1.0.30 158 2/17/2024
1.0.29 139 2/15/2024
1.0.28 306 2/4/2024
1.0.27 170 2/3/2024
1.0.26 117 2/2/2024
1.0.25 129 2/2/2024
1.0.24 145 1/30/2024
1.0.23 220 1/21/2024
1.0.22 153 1/18/2024
1.0.21 227 1/10/2024
1.0.20 178 1/10/2024
1.0.19 145 1/10/2024
1.0.18 246 1/5/2024
1.0.17 117 1/5/2024
1.0.16 151 1/5/2024
1.0.15 123 1/5/2024
1.0.14 112 1/5/2024
1.0.13 111 1/5/2024
1.0.12 151 1/5/2024
1.0.11 169 1/4/2024
1.0.10 134 1/4/2024
1.0.9 131 1/4/2024
1.0.8 197 1/4/2024
1.0.7 168 1/4/2024
1.0.6 166 1/4/2024
1.0.5 157 1/1/2024
1.0.4 133 1/1/2024
1.0.3 153 1/1/2024
1.0.2 177 1/1/2024
1.0.0 156 12/30/2023