又一个云探针

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)
With Holoviews, your data visualizes itself.

HoloViews Stop plotting your data - annotate your data and let it visualize itself. HoloViews is an open-source Python library designed to make data a

HoloViz 2.3k Jan 04, 2023
The Spectral Diagram (SD) is a new tool for the comparison of time series in the frequency domain

The Spectral Diagram (SD) is a new tool for the comparison of time series in the frequency domain. The SD provides a novel way to display the coherence function, power, amplitude, phase, and skill sc

Mabel 3 Oct 10, 2022
Generate the report for OCULTest.

Sample report generated in this function Usage example from utils.gen_report import generate_report if __name__ == '__main__': # def generate_rep

Philip Guo 1 Mar 10, 2022
Missing data visualization module for Python.

missingno Messy datasets? Missing values? missingno provides a small toolset of flexible and easy-to-use missing data visualizations and utilities tha

Aleksey Bilogur 3.4k Dec 29, 2022
Draw interactive NetworkX graphs with Altair

nx_altair Draw NetworkX graphs with Altair nx_altair offers a similar draw API to NetworkX but returns Altair Charts instead. If you'd like to contrib

Zachary Sailer 206 Dec 12, 2022
Dipto Chakrabarty 7 Sep 06, 2022
An automatic prover for tautologies in Metamath

completeness An automatic prover for tautologies in Metamath This program implements the constructive proof of the Completeness Theorem for propositio

Scott Fenton 2 Dec 15, 2021
Data science project for exploratory analysis on the kcse grades dataset (Kamilimu Data Science Track)

Kcse-Data-Analysis Data science project for exploratory analysis on the kcse grades dataset (Kamilimu Data Science Track) Findings The performance of

MUGO BRIAN 1 Feb 23, 2022
Visualise Ansible execution time across playbooks, tasks, and hosts.

ansible-trace Visualise where time is spent in your Ansible playbooks: what tasks, and what hosts, so you can find where to optimise and decrease play

Mark Hansen 81 Dec 15, 2022
Create SVG drawings from vector geodata files (SHP, geojson, etc).

SVGIS Create SVG drawings from vector geodata files (SHP, geojson, etc). SVGIS is great for: creating small multiples, combining lots of datasets in a

Neil Freeman 78 Dec 09, 2022
Automatization of BoxPlot graph usin Python MatPlotLib and Excel

BoxPlotGraphAutomation Automatization of BoxPlot graph usin Python / Excel. This file is an automation of BoxPlot-Graph using python graph library mat

EricAugustin 1 Feb 07, 2022
Bokeh Plotting Backend for Pandas and GeoPandas

Pandas-Bokeh provides a Bokeh plotting backend for Pandas, GeoPandas and Pyspark DataFrames, similar to the already existing Visualization feature of

Patrik Hlobil 822 Jan 07, 2023
ecoglib: visualization and statistics for high density microecog signals

ecoglib: visualization and statistics for high density microecog signals This library contains high-level analysis tools for "topos" and "chronos" asp

1 Nov 17, 2021
Visualization of hidden layer activations of small multilayer perceptrons (MLPs)

MLP Hidden Layer Activation Visualization To gain some intuition about the internal representation of simple multi-layer perceptrons (MLPs) I trained

Andreas Köpf 7 Dec 30, 2022
High performance, editable, stylable datagrids in jupyter and jupyterlab

An ipywidgets wrapper of regular-table for Jupyter. Examples Two Billion Rows Notebook Click Events Notebook Edit Events Notebook Styling Notebook Pan

J.P. Morgan Chase 75 Dec 15, 2022
Main repository for Vispy

VisPy: interactive scientific visualization in Python Main website: http://vispy.org VisPy is a high-performance interactive 2D/3D data visualization

vispy 3k Jan 03, 2023
Python script to generate a visualization of various sorting algorithms, image or video.

sorting_algo_visualizer Python script to generate a visualization of various sorting algorithms, image or video.

146 Nov 12, 2022
Generate visualizations of GitHub user and repository statistics using GitHub Actions.

GitHub Stats Visualization Generate visualizations of GitHub user and repository statistics using GitHub Actions. This project is currently a work-in-

JoelImgu 3 Dec 14, 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
Streamlit-template - A streamlit app template based on streamlit-option-menu

streamlit-template A streamlit app template for geospatial applications based on

Qiusheng Wu 41 Dec 10, 2022