Skip to content

A web dashboard for Commune AI users that need module data from multiple machines, in a single point of failure Web GUI.

Notifications You must be signed in to change notification settings

monkeyscanjump/comtelemetry

Repository files navigation

Comtelemetry Project

Introduction

A web dashboard for Commune AI users that need module data from multiple machines, in a single point of failure Web GUI. It gathers and displays data based on web API data from Comstats and Communex endpoints.

Roadmap (time is relative)

  • Create project, backend and frontend.
  • (backend) Create in-memory database for Communex key path.
  • (frontend) Create GUI for data.
  • Debounce BK API requests, display delay in FT.
  • Create subnet endpoint BK, display data FT.
  • Create secure connection between apps, prepare for multiple BK to single FT (heartbeat).
  • Create Polkadot wallet login, update UI with new permission-based logic.
  • Add 'privacyMode' global state, update component logic hide any data on UI.
  • Create BETA version, prepare for production build, create development branch.
  • Add timeline (databse) logic for FT, create graphs, automate process through UI interaction.
  • Automate connection security and optional Wireguard.
  • Find a way to save timeline data on Commune storage, based on logged-in wallet.
  • Refactor accessibility, include localizaton.
  • Prepare cominer.ai
  • More to come!

Prerequisites

Installing Node Version Manager (NVM)

NVM (Node Version Manager) is a tool that allows you to manage multiple versions of Node.js on the same machine. To install NVM, follow these steps:

  1. Download and Install NVM: More info: NVM Github.

    On macOS and Linux:

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

    On Windows, you can download the NVM installer from the nvm-windows repository.

  2. Load NVM:

    After installation, add the following lines to your ~/.bashrc, ~/.zshrc, or ~/.profile file:

    export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

    Then, reload your shell:

    source ~/.bashrc
  3. Install and Use the Latest LTS Version of Node.js:

    nvm install --lts
    nvm use --lts

Installing Python and Pip

Python and Pip are required for certain dependencies and tools used in this project. To install Python and Pip, follow these steps:

  1. Download and Install Python:

    Download the latest version of Python from the official website. The installer includes Pip by default.

  2. Verify Installation:

    python --version
    pip --version
  3. Install Communex Package:

    pip install communex
  4. Make sure you have at least one commune key imported/created

Project Setup

Clone the Repository

git clone https://github.com/monkeyscanjump/comtelemetry.git
cd comtelemetry

Install Dependencies

Ensure you are using the latest LTS version of Node.js:

nvm use --lts

Install the project dependencies:

npm install

Running the Project

Development Mode

Currently, the project can only be run in development mode. The build process is not fully functional and may fail.

To start the project in development mode:

npm run dev

Building the Project

Note: The build process is currently not functional and may fail.

To attempt building the project:

npm run build

Contributing

We welcome contributions to improve the project. Please fork the repository and submit pull requests with your changes.

License

This project is licensed under the MIT License.

About

A web dashboard for Commune AI users that need module data from multiple machines, in a single point of failure Web GUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published