Skip to content

NimbusAsm/ServerEntry

Server Entry Logo

Server Entry

A set of utils to help you with managing your server

Status

License GitHub Repo Size Code Size Commit Activity

Docker Pulls Docker Image Size Docker Image Version

Forks Stars Watches Discussions

Features

  • Display CPU/RAM usage
  • Manage your nginx/pingora configuration
  • Manage your websites
  • Manage your docker containers

Screenshot

Usage

Docker

## Pull docker image
sudo docker pull nimbusasm/server-entry:latest

## Run docker container
sudo docker run -d --name server-entry \
    -p 5111:5111 \
    nimbusasm/server-entry:latest

Manually

// ToDo

Development

Requirements

  • dotnet sdk 8.0

  • flutter sdk

  • cheese (recommend to use latest)

    # If you have no cheese tool, you can install it by:
    dotnet tool install cheese --global
    # To upgrade cheese
    dotnet tool update cheese --global

Fetch source codes

git clone [email protected]:NimbusAsm/ServerEntry.git

cd ServerEntry

# Use cheese to initialize reference
cheese ref --init

Components

Api Server

cd ServerEntry.ApiServer

dotnet watch

Visit localhost:5111/Api to view api docs

In fact, /Api route will redirect to /swagger/index.html

Dashboard

cd ServerEntry.Dashboard/server_entry_dashboard

flutter run # If you need to run with headless browser, append '-d web-server'

Visit the url printed to console by flutter sdk to open frontend website

Publish

# This script build both backend and frontend and make a docker image
pwsh -c ./build.ps1 -Tag <tag> # example: <tag> -> 0.0.2.1

In the docker image, root folder is /app/server-entry , front-end site will located in $root/wwwroot , api server will listen / route and return files in wwwroot, the api server will located in root folder

Contributors

Contributors

Star History

Star History Chart