又一个云探针

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)
Matplotlib colormaps from the yt project !

cmyt Matplotlib colormaps from the yt project ! Colormaps overview The following colormaps, as well as their respective reversed (*_r) versions are av

The yt project 5 Sep 16, 2022
Blender addon that creates a temporary window of any type from the 3D View.

CreateTempWindow2.8 Blender addon that creates a temporary window of any type from the 3D View. Features Can the following window types: 3D View Graph

3 Nov 27, 2022
Designed a greedy algorithm based on Markov sequential decision-making process in MATLAB/Python to optimize using Gurobi solver

Designed a greedy algorithm based on Markov sequential decision-making process in MATLAB/Python to optimize using Gurobi solver, the wheel size, gear shifting sequence by modeling drivetrain constrai

Sabbella Prasanna 1 Jan 11, 2022
Functions for easily making publication-quality figures with matplotlib.

Data-viz utils 📈 Functions for data visualization in matplotlib 📚 API Can be installed using pip install dvu and then imported with import dvu. You

Chandan Singh 16 Sep 15, 2022
Show Data: Show your dataset in web browser!

Show Data is to generate html tables for large scale image dataset, especially for the dataset in remote server. It provides some useful commond line tools and fully customizeble API reference to gen

Dechao Meng 83 Nov 26, 2022
Open-source demos hosted on Dash Gallery

Dash Sample Apps This repository hosts the code for over 100 open-source Dash apps written in Python or R. They can serve as a starting point for your

Plotly 2.7k Jan 07, 2023
EPViz is a tool to aid researchers in developing, validating, and reporting their predictive modeling outputs.

EPViz (EEG Prediction Visualizer) EPViz is a tool to aid researchers in developing, validating, and reporting their predictive modeling outputs. A lig

Jeff 2 Oct 19, 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
Drug design and development team HackBio internship is a virtual bioinformatics program that introduces students and professional to advanced practical bioinformatics and its applications globally.

-Nyokong. Drug design and development team HackBio internship is a virtual bioinformatics program that introduces students and professional to advance

4 Aug 04, 2022
Resources for teaching & learning practical data visualization with python.

Practical Data Visualization with Python Overview All views expressed on this site are my own and do not represent the opinions of any entity with whi

Paul Jeffries 98 Sep 24, 2022
Collection of data visualizing projects through Tableau, Data Wrapper, and Power BI

Data-Visualization-Projects Collection of data visualizing projects through Tableau, Data Wrapper, and Power BI Indigenous-Brands-Social-Movements Pyt

Jinwoo(Roy) Yoon 1 Feb 05, 2022
Generate graphs with NetworkX, natively visualize with D3.js and pywebview

webview_d3 This is some PoC code to render graphs created with NetworkX natively using D3.js and pywebview. The main benifit of this approac

byt3bl33d3r 68 Aug 18, 2022
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
Lightweight, extensible data validation library for Python

Cerberus Cerberus is a lightweight and extensible data validation library for Python. v = Validator({'name': {'type': 'string'}}) v.validate({

eve 2.9k Dec 27, 2022
Python+Numpy+OpenGL: fast, scalable and beautiful scientific visualization

Python+Numpy+OpenGL: fast, scalable and beautiful scientific visualization

Glumpy 1.1k Jan 05, 2023
Declarative statistical visualization library for Python

Altair http://altair-viz.github.io Altair is a declarative statistical visualization library for Python. With Altair, you can spend more time understa

Altair 8k Jan 05, 2023
Getting started with Python, Dash and Plot.ly for the Data Dashboards team

data_dashboards Getting started with Python, Dash and Plot.ly for the Data Dashboards team Getting started MacOS users: # Install the pyenv version ma

Department for Levelling Up, Housing and Communities 1 Nov 08, 2021
LinkedIn connections analyzer

LinkedIn Connections Analyzer 🔗 https://linkedin-analzyer.herokuapp.com Hey hey 👋 , welcome to my LinkedIn connections analyzer. I recently found ou

Okkar Min 5 Sep 13, 2022
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
A python script to visualise explain plans as a graph using graphviz

README Needs to be improved Prerequisites Need to have graphiz installed on the machine. Refer to https://graphviz.readthedocs.io/en/stable/manual.htm

Edward Mallia 1 Sep 28, 2021