Skip to content

Cool looking dashboard. It'll monitor servers, keep track of todos and notes, have a web-based ssh terminal and be dockerised to its easily self-hostable.

License

Notifications You must be signed in to change notification settings

CyberFlameGO/cl-dash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cool looking dashboard

It'll monitor servers, keep track of todos and notes, and have a web-based ssh terminal and be dockerised to its easily self-hostable.

Deployment

There are two ways to deploy this app. You can use docker, or run it on a normal server. Both will start the app on port 80. For SSL, just stick it behind Cloudflare.

Running it with docker

Building the image yourself

  1. Install Docker.
  2. Build the image: docker build -t cl-dash .. (This can take a very long time.)
  3. Create a docker volume to store the SQLite database in: docker volume create cl-dash-db.
  4. Run the image: docker run --name cl-dash-instance -dp 80:80 --mount source=cl-dash-db,target=/usr/src/cool-looking-dashboard/server/db cl-dash.

Using a pre-built image

I'll try and remember to publish pre-built images to the dockerhub page but I'll probably forget sometimes, so I highly recommend building it yourself.

Note that these examples use 0.1.0 as the version. This won't be kept up-to-date, so make sure to use the latest version on the dockerhub page.

  1. Install Docker.
  2. Pull the image: docker image pull edaz/cl-dash:0.1.0.
  3. Create a docker volume to store the SQLite database in: docker volume create cl-dash-db.
  4. Run the image: docker run --name cl-dash-instance -dp 80:80 --mount source=cl-dash-db,target=/usr/src/cool-looking-dashboard/server/db cl-dash:0.1.0.

Running it on a normal server server

  1. Install the latest build of NodeJS 16.
  2. Install dependencies for building the PWA.
cd pwa
npm i -g pnpm
pnpm i
  1. Build the PWA.
pnpm run build
  1. Install the latest release of Python 3 and add it to your path. These examples use the py command, but you may need to use python or python3 instead.
  2. Install the dependencies for running the server.
cd ..
cd server
pip install -r requirements.txt
  1. Set up the database by running the setup_database.py script.
py setup_database.py
  1. Run the script to start the server (don't run server.py directly).
# Windows
./run_server.bat

# Linux
chmod +x run_server.sh
./run_server.sh

# Mac
  1. Done. The server will be running on port 80!

Licence

See LICENCE file.

Note to self: To build, use docker build -t edaz/cl-dash:0.1.0 ..

About

Cool looking dashboard. It'll monitor servers, keep track of todos and notes, have a web-based ssh terminal and be dockerised to its easily self-hostable.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Languages

  • Python 98.8%
  • TypeScript 1.0%
  • PowerShell 0.1%
  • Shell 0.1%
  • HTML 0.0%
  • Dockerfile 0.0%