Aiursoft.StatHub.SDK 8.0.5

dotnet add package Aiursoft.StatHub.SDK --version 8.0.5
NuGet\Install-Package Aiursoft.StatHub.SDK -Version 8.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aiursoft.StatHub.SDK" Version="8.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aiursoft.StatHub.SDK --version 8.0.5
#r "nuget: Aiursoft.StatHub.SDK, 8.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aiursoft.StatHub.SDK as a Cake Addin
#addin nuget:?package=Aiursoft.StatHub.SDK&version=8.0.5

// Install Aiursoft.StatHub.SDK as a Cake Tool
#tool nuget:?package=Aiursoft.StatHub.SDK&version=8.0.5

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.5 98 3/17/2024
8.0.4 87 2/26/2024
8.0.3 97 2/25/2024
8.0.2 95 2/21/2024
8.0.1 78 2/19/2024
8.0.0 84 2/19/2024
1.0.30 93 2/17/2024
1.0.29 98 2/15/2024
1.0.28 94 2/4/2024
1.0.27 76 2/3/2024
1.0.26 77 2/2/2024
1.0.25 70 2/2/2024
1.0.24 84 1/30/2024
1.0.23 99 1/21/2024
1.0.22 83 1/18/2024
1.0.21 96 1/10/2024
1.0.20 92 1/10/2024
1.0.19 87 1/10/2024
1.0.18 103 1/5/2024
1.0.16 98 1/5/2024
1.0.15 101 1/5/2024
1.0.14 83 1/5/2024
1.0.13 98 1/5/2024
1.0.12 102 1/5/2024
1.0.11 106 1/4/2024
1.0.10 100 1/4/2024
1.0.9 91 1/4/2024
1.0.8 79 1/4/2024
1.0.7 103 1/4/2024
1.0.6 91 1/4/2024
1.0.5 108 1/1/2024
1.0.4 66 1/1/2024
1.0.3 87 1/1/2024
1.0.2 76 1/1/2024
1.0.1 97 12/30/2023