又一个云探针

Overview

ServerStatus-Murasame

感谢ServerStatus-Hotaru,又一个云探针诞生了(大雾
本项目在ServerStatus-Hotaru的基础上使用fastapi重构了服务端,部分修改了客户端与前端
项目还在非常原始的阶段,可能存在严重的问题
演示站:https://status.coldthunder11.com/

与ServerStatus-Hotaru的对比

  • 纯python实现
  • 同时支持websocket与轮询两种查询方式
  • 性能更差,bug更多(
  • 好像没了

兼容性

  • 服务端配置文件 √
  • 前端网页 基本兼容,需要对在线时间的显示做修改
  • 服务端 ×
  • 客户端 ×

ToDo

  • 前端websocket自动重连 √
  • 更完善的错误处理机制
  • 为前端添加服务器管理功能
  • 一键部署脚本

安装方法

警告:本项目还在非常原始的阶段,协议随时可能发生更改,可能会有严重的问题,暂时不建议在生产环境下部署,仅在Python3.7+下测试通过

手动安装

服务端:
1.clone本项目
2.使用你喜欢的方式构建前端(Murasame_theme),并将构建生产dist文件夹置于server_fastapi内
3.进入server_fastapi目录
4.将config.json.example复制一份并且重命名为config.json,修改相关配置,也可以直接使用ServerStatus-Hotaru的配置文件
5.pip install -r requirements.txt
6.python server.py或uvicorn server:app --host 监听IP --port 端口号
服务端默认监听0.0.0.0:28094,可自行在server.py修改。建议监听本地并在公网使用反代(需要同时反代http和websocket)

1.去release里下载server.zip,解压并进入ServerStatus-Murasame目录
2.将config.json.example复制一份并且重命名为config.json,修改相关配置,也可以直接使用ServerStatus-Hotaru的配置文件
3.pip install -r requirements.txt
4.python server.py或uvicorn server:app --host 监听IP --port 端口号
服务端默认监听0.0.0.0:28094,可自行在server.py修改。建议监听本地并在公网使用反代(需要同时反代http和websocket)

客户端:
linux版:

wget https://github.com/ColdThunder11/ServerStatus-Murasame/raw/master/client_ws/status-client.py  
wget https://github.com/ColdThunder11/ServerStatus-Murasame/raw/master/client_ws/config.json
pip install websocket-client  
修改config.json  
python status-client.py 

psutil版:
1.下载https://github.com/ColdThunder11/ServerStatus-Murasame/raw/master/client_ws/status-psutil.py 以及https://github.com/ColdThunder11/ServerStatus-Murasame/raw/master/client_ws/config.json
2.pip install psutil websocket-client
3.修改config.json
4.python status-psutil.py

一键安装

客户端(当前仅支持Debian):
会在当前目录安装,请先切换好目录

wget https://github.com/ColdThunder11/ServerStatus-Murasame/raw/master/install.py
python3 install.py -c 如果本机没有安装pip,可以使用-nopip参数本地处理依赖

相关开源项目 :

You might also like...
Releases(0.0.2)
Custom ROI in Computer Vision Applications

EasyROI Helper library for drawing ROI in Computer Vision Applications Table of Contents EasyROI Table of Contents About The Project Tech Stack File S

43 Dec 09, 2022
AB-test-analyzer - Python class to perform AB test analysis

AB-test-analyzer Python class to perform AB test analysis Overview This repo con

13 Jul 16, 2022
This project is created to visualize the system statistics such as memory usage, CPU usage, memory accessible by process and much more using Kibana Dashboard with Elasticsearch.

System Stats Visualizer This project is created to visualize the system statistics such as memory usage, CPU usage, memory accessible by process and m

Vishal Teotia 5 Feb 06, 2022
The official colors of the FAU as matplotlib/seaborn colormaps

FAU - Colors The official colors of Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU) as matplotlib / seaborn colormaps. We support the old colo

Machine Learning and Data Analytics Lab FAU 9 Sep 05, 2022
Interactive chemical viewer for 2D structures of small molecules

👀 mols2grid mols2grid is an interactive chemical viewer for 2D structures of small molecules, based on RDKit. ➡️ Try the demo notebook on Google Cola

Cédric Bouysset 154 Dec 26, 2022
Flow-based visual scripting for Python

A simple visual node editor for Python Ryven combines flow-based visual scripting with Python. It gives you absolute freedom for your nodes and a simp

Leon Thomm 3.1k Jan 06, 2023
Matplotlib tutorial for beginner

matplotlib is probably the single most used Python package for 2D-graphics. It provides both a very quick way to visualize data from Python and publication-quality figures in many formats. We are goi

Nicolas P. Rougier 2.6k Dec 28, 2022
Yata is a fast, simple and easy Data Visulaization tool, running on python dash

Yata is a fast, simple and easy Data Visulaization tool, running on python dash. The main goal of Yata is to provide a easy way for persons with little programming knowledge to visualize their data e

Cybercreek 3 Jun 28, 2021
Plotting data from the landroid and a raspberry pi zero to a influx-db

landroid-pi-influx Plotting data from the landroid and a raspberry pi zero to a influx-db Dependancies Hardware: Landroid WR130E Raspberry Pi Zero Wif

2 Oct 22, 2021
Scientific Visualization: Python + Matplotlib

An open access book on scientific visualization using python and matplotlib

Nicolas P. Rougier 8.6k Dec 31, 2022
Visualize tensors in a plain Python REPL using Sparklines

Visualize tensors in a plain Python REPL using Sparklines

Shawn Presser 43 Sep 03, 2022
GD-UltraHack - A Mod Menu for Geometry Dash. Specifically a MegahackV5 clone in Python. Only for Windows

GD UltraHack: The Mod Menu that Nobody asked for. This is a mod menu for the gam

zeo 1 Jan 05, 2022
MPL Plotter is a Matplotlib based Python plotting library built with the goal of delivering publication-quality plots concisely.

MPL Plotter is a Matplotlib based Python plotting library built with the goal of delivering publication-quality plots concisely.

Antonio López Rivera 162 Nov 11, 2022
Farhad Davaripour, Ph.D. 1 Jan 05, 2022
Small project to recursively calculate and plot each successive order of the Hilbert Curve

hilbert-curve Small project to recursively calculate and plot each successive order of the Hilbert Curve. After watching 3Blue1Brown's video on Hilber

Stefan Mejlgaard 2 Nov 15, 2021
Small project demonstrating the use of Grafana and InfluxDB for monitoring the speed of an internet connection

Speedtest monitor for Grafana A small project that allows internet speed monitoring using Grafana, InfluxDB 2 and Speedtest. Demo Requirements Docker

Joshua Ghali 3 Aug 06, 2021
GitHubPoster - Make everything a GitHub svg poster

GitHubPoster Make everything a GitHub svg poster 支持 Strava 开心词场 扇贝 Nintendo Switch GPX 多邻国 Issue

yihong 1.3k Jan 02, 2023
Apache Superset is a Data Visualization and Data Exploration Platform

Superset A modern, enterprise-ready business intelligence web application. Why Superset? | Supported Databases | Installation and Configuration | Rele

The Apache Software Foundation 50k Jan 06, 2023
A python script editor for napari based on PyQode.

napari-script-editor A python script editor for napari based on PyQode. This napari plugin was generated with Cookiecutter using with @napari's cookie

Robert Haase 9 Sep 20, 2022
Visualize large time-series data in plotly

plotly_resampler enables visualizing large sequential data by adding resampling functionality to Plotly figures. In this Plotly-Resampler demo over 11

PreDiCT.IDLab 604 Dec 28, 2022