又一个云探针

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)
nptsne is a numpy compatible python binary package that offers a number of APIs for fast tSNE calculation.

nptsne nptsne is a numpy compatible python binary package that offers a number of APIs for fast tSNE calculation and HSNE modelling. For more detail s

Biomedical Visual Analytics Unit LUMC - TU Delft 29 Jul 05, 2022
Multi-class confusion matrix library in Python

Table of contents Overview Installation Usage Document Try PyCM in Your Browser Issues & Bug Reports Todo Outputs Dependencies Contribution References

Sepand Haghighi 1.3k Dec 31, 2022
Productivity Tools for Plotly + Pandas

Cufflinks This library binds the power of plotly with the flexibility of pandas for easy plotting. This library is available on https://github.com/san

Jorge Santos 2.7k Dec 30, 2022
Tools for calculating and visualizing Elo-like ratings of MLB teams using Retosheet data

Overview This project uses historical baseball games data to calculate an Elo-like rating for MLB teams based on regular season match ups. The Elo rat

Lukas Owens 0 Aug 25, 2021
:small_red_triangle: Ternary plotting library for python with matplotlib

python-ternary This is a plotting library for use with matplotlib to make ternary plots plots in the two dimensional simplex projected onto a two dime

Marc 611 Dec 29, 2022
Massively parallel self-organizing maps: accelerate training on multicore CPUs, GPUs, and clusters

Somoclu Somoclu is a massively parallel implementation of self-organizing maps. It exploits multicore CPUs, it is able to rely on MPI for distributing

Peter Wittek 239 Nov 10, 2022
This is Pygrr PolyArt, a program used for drawing custom Polygon models for your Pygrr project!

This is Pygrr PolyArt, a program used for drawing custom Polygon models for your Pygrr project!

Isaac 4 Dec 14, 2021
Generate a roam research like Network Graph view from your Notion pages.

Notion Graph View Export Notion pages to a Roam Research like graph view.

Steve Sun 214 Jan 07, 2023
Because trello only have payed options to generate a RunUp chart, this solves that!

Trello Runup Chart Generator The basic concept of the project is that Corello is pay-to-use and want to use Trello To-Do/Doing/Done automation with gi

Rômulo Schiavon 1 Dec 21, 2021
PolytopeSampler is a Matlab implementation of constrained Riemannian Hamiltonian Monte Carlo for sampling from high dimensional disributions on polytopes

PolytopeSampler PolytopeSampler is a Matlab implementation of constrained Riemannian Hamiltonian Monte Carlo for sampling from high dimensional disrib

9 Sep 26, 2022
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
Advanced hot reloading for Python

The missing element of Python - Advanced Hot Reloading Details Reloadium adds hot reloading also called "edit and continue" functionality to any Pytho

Reloadware 1.9k Jan 04, 2023
erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes

erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes. Diagrams are rendered using the venerable Graphviz library.

DrivenData 129 Jan 04, 2023
Simple function to plot multiple barplots in the same figure.

Simple function to plot multiple barplots in the same figure. Supports padding and custom color.

Matthias Jakobs 2 Feb 21, 2022
This is a Web scraping project using BeautifulSoup and Python to scrape basic information of all the Test matches played till Jan 2022.

Scraping-test-matches-data This is a Web scraping project using BeautifulSoup and Python to scrape basic information of all the Test matches played ti

Souradeep Banerjee 4 Oct 10, 2022
Sparkling Pandas

SparklingPandas SparklingPandas aims to make it easy to use the distributed computing power of PySpark to scale your data analysis with Pandas. Sparkl

366 Oct 27, 2022
📊 Extensions for Matplotlib

📊 Extensions for Matplotlib

Nico Schlömer 519 Dec 30, 2022
Generate knowledge graphs with interesting geometries, like lattices

Geometric Graphs Generate knowledge graphs with interesting geometries, like lattices. Works on Python 3.9+ because it uses cool new features. Get out

Charles Tapley Hoyt 5 Jan 03, 2022
Fast scatter density plots for Matplotlib

About Plotting millions of points can be slow. Real slow... 😴 So why not use density maps? ⚡ The mpl-scatter-density mini-package provides functional

Thomas Robitaille 473 Dec 12, 2022
Script to create an animated data visualisation for categorical timeseries data - GIF choropleth map with annotations.

choropleth_ldn Simple script to create a chloropleth map of London with categorical timeseries data. The script in main.py creates a gif of the most f

1 Oct 07, 2021