All Projects → BSoDium → Slashboard-pulsar

BSoDium / Slashboard-pulsar

Licence: MIT license
A simple dashboard to keep track of all your active devices/servers

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Slashboard-pulsar

pi-hosted
Raspberry Pi Self Hosted Server Based on Docker / Portainer.io
Stars: ✭ 467 (+1930.43%)
Mutual labels:  homelab
homelab
Monorepo for my personal homelab
Stars: ✭ 133 (+478.26%)
Mutual labels:  homelab
home-lab
Documentation and configurations for my home lab
Stars: ✭ 41 (+78.26%)
Mutual labels:  homelab
workfromhome-with-docker
HTML5 based remote desktop gateway using Apache Guacamole and Traefik Reverse Proxy including AD authentication and 2-FA
Stars: ✭ 42 (+82.61%)
Mutual labels:  homelab
Proxmox
Proxmox Helper Scripts
Stars: ✭ 3,882 (+16778.26%)
Mutual labels:  homelab
packer-kali linux
This is a repository that will be used to help create a process of a new kali vagrant box for hashicorp each week.
Stars: ✭ 36 (+56.52%)
Mutual labels:  homelab
firework8s
Firework8s is a collection of kubernetes objects (yaml files) for deploying workloads in a home lab.
Stars: ✭ 35 (+52.17%)
Mutual labels:  homelab
humble
Just a humble project
Stars: ✭ 53 (+130.43%)
Mutual labels:  homelab
hive
My home infrastructure
Stars: ✭ 31 (+34.78%)
Mutual labels:  homelab
traefik-docker-ansible
🐳 🐹  This is an Ansible playbook to install multiple Web applications on a single Ubuntu server with Docker and Traefik.
Stars: ✭ 75 (+226.09%)
Mutual labels:  homelab
homelab
My self-hosting infrastructure, fully automated from empty disk to operating services
Stars: ✭ 4,451 (+19252.17%)
Mutual labels:  homelab
vs-code-container-with-ssl
Launch your own Code Server container with preloaded SDKs for React, Python, C#, Cloud CLIs, secured by SSL Reverse Proxy.
Stars: ✭ 54 (+134.78%)
Mutual labels:  homelab
kubernetes-config
Kubernetes manifests for home lab
Stars: ✭ 24 (+4.35%)
Mutual labels:  homelab
k8s home
Kubernetes
Stars: ✭ 45 (+95.65%)
Mutual labels:  homelab
personal-dashboard
Personal Dashboard for my services
Stars: ✭ 98 (+326.09%)
Mutual labels:  homelab
THome
a simple static dashboard
Stars: ✭ 20 (-13.04%)
Mutual labels:  homelab
DSAC
DockSTARTer App Config helps you configure some of your Docker apps!
Stars: ✭ 20 (-13.04%)
Mutual labels:  homelab
astro
An open, extensible, dashboard for all of your homelab services.
Stars: ✭ 25 (+8.7%)
Mutual labels:  homelab
Home-Lab
This is the network diagrams, configuration guides, and hardware used for my home lab.
Stars: ✭ 62 (+169.57%)
Mutual labels:  homelab
dashy
🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Stars: ✭ 7,103 (+30782.61%)
Mutual labels:  homelab

Slashboard Pulsar

Logo

A lightweight node js app designed to work with the Slashboard desktop client

Built using Node.js


Installation

  • Clone this repository somewhere safe on your server (/var/www is often a good choice)

    cd /var/www  # replace /var/www with the path you prefer if necessary
    git clone https://github.com/BSoDium/Slashboard-pulsar.git
  • Install all the necessary dependencies

    cd Slashboard-pulsar
    npm install

Automated installation (Linux only)

  • Run the installation script for your OS (only available for linux at the moment)

    ./scripts/install.sh

    This script will :

    • setup nodejs if necessary
    • install pm2 (used to daemonize the app)
    • generate a pairing key for your server, which will be later required by the desktop client
    • at the end, it will ask you if you want to run Pulsar on system startup (recommended), if you answer yes, the script will give you a command, which you should paste and run in the terminal manually (I am working on automating this, but until now, this is mandatory)

Manual installation (Linux)

  • Setup nodejs and npm

  • Setup pm2 :

    npm install pm2 -g
  • Choose an authentification key and a server-specific secret :

    nano config/default.json

    By default, the generated keys are 64 characters long, but you can choose shorter ones. When you'll open the file for the first time, The fields will contain the word "default". Erase it and write your key.

    The field serverKey is the local server secret, and sharedSecret is the key used by the client to connect to your server. It will be later required when registering the server in the desktop app.

    Warning : no special characters allowed, only alphanumeric characters. Example : CRml6VcWMGlH8UQ1XjintL1Tu71IA5ktbA5I8g0HzwrhF4E0hNE50O1ep7W2eNOu

  • Allow traffic through port 6033 :

    sudo ufw allow 6033
  • Start the app :

    pm2 start ecosystem.config.js --env production
  • Tell pm2 to run it on system startup :

    pm2 startup # execute the command pm2 gives you
  • Save the app list to be restored on reboot :

    pm2 save

Manual installation (Windows server)

  • Download nodejs and npm

  • Install pm2

    npm install pm2 -g
  • Install pm2-windows-startup

    npm install pm2-windows-startup -g
    pm2-startup install
  • Open config/default.json with your favorite editor, delete the default keys and write your own (see linux manual installation for more details).

    Warning : no special characters allowed, only alphanumeric characters. Example : CRml6VcWMGlH8UQ1XjintL1Tu71IA5ktbA5I8g0HzwrhF4E0hNE50O1ep7W2eNOu

  • Start the app:

    pm2 start ecosystem.config.js --env production
  • Setup pm2 to relaunch the app on system startup :

    pm2 save

Docker installation

Note : This image is still in early access, some features might not fully work as expected.

  • Broken on any OS :
    • Mounted disks view - the ones displayed don't match the host machine's state
  • Broken on Windows :
    • Hostname (host network mode doesn't exist on Windows)
    • CPU/RAM usage isn't impressively accurate
    • Network interface list

  • Pull the image from the repository, either from github or dockerhub

  • On Linux :

    docker run \
    --network host \ 
    --env SHAREDSECRET="64charSharedSecret"
    BSoDium/slashboard-pulsar:latest

    SHAREDSECRET is optional. If not provided, it will be randomly generated on container creation.

  • On Windows :

    docker run `
    -p 6033:6033 `
    --env SHAREDSECRET="64charSharedSecret" `
    BSoDium/slashboard-pulsar:latest

    Again, SHAREDSECRET isn't required.

Accessing your server from anywhere on the internet

If you want to access your server's dashboard from outside its local network, you will probably need to forward a port in your router's configuration. Here's a quick guide to port forwarding, although I suggest that you look for something more specific, because router configuration really depends on your internet provider.

As for the port you need to forward, Pulsar runs on port 6033 by default (cannot be easily changed for now)

Uninstalling Pulsar

Simply run :

./scripts/uninstall.sh

or :

pm2 delete Pulsar
npm uninstall pm2 -g
sudo ufw delete allow 6033 # linux only
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].