MCPcopy Index your code
hub / github.com/tariqbuilds/linux-dash

github.com/tariqbuilds/linux-dash @2.0 sqlite

repository ↗ · DeepWiki ↗ · release 2.0 ↗
272 symbols 1,054 edges 28 files 2 documented · 1%
README

v2.0

A simple & low-overhead web dashboard for linux systems

Demo  |  Docs

linux-dash Gitter chat

Features

  • Small ----- Under 400KB on disk (with .git removed)!
  • Simple ---- A minimalist, beautiful dashboard
  • Easy ------ Drop-in installation
  • Versatile -- Choose your stack from Node.js, Go, Python, PHP

Installation

Step 1

## 1. clone the repo
git clone --depth 1 https://github.com/afaqurk/linux-dash.git

## 2. go to the cloned directory
cd linux-dash/app/server

OR, if you prefer to download manually:

## 1. Download the .zip
curl -LOk https://github.com/afaqurk/linux-dash/archive/master.zip && unzip master.zip

## 2. navigate to downloaded & unzipped dir
cd linux-dash-master/app/server

Step 2

See instructions for preferred server linux-dash server (all included):

If Using Node.js

## install dependencies
npm install --production

## start linux-dash (on port 80 by default; may require sudo)
## You may change this with the `LINUX_DASH_SERVER_PORT` environment variable (eg. `LINUX_DASH_SERVER_PORT=8080 node server`)
## or provide a --port flag to the command below
node index.js

If Using Go

## start the server (on port 80 by default; may require sudo)
go run index.go

To build a binary, run go build && ./server -h. See @tehbilly's notes here for binary usage options

If Using Python

# Start the server (on port 80 by default; may require sudo).
python index.py

If Using PHP

  1. Make sure you have the exec, shell_exec, and escapeshellarg functions enabled
  2. Point your web server to app/ directory under linux-dash
  3. Restart your web server (Apache, nginx, etc.)
  4. For PHP + Apache setup follow the Digital Ocean tutorial.
  5. For help with nginx setup, see this gist by @sergeifilippov.

Support

For general help, please use the Gitter chat room.

Security

It is strongly recommended that all linux-dash installations be protected via a security measure of your choice.

Linux Dash does not provide any security or authentication features.

Core symbols most depended-on inside this repo

getKBMultiplierFn
called by 7
src/js/plugins/disk-space/disk-space.directive.js
getHiddenPlugins
called by 3
src/js/core/rootscope-event-handlers/hide-plugin.run.js
humanizeRam
called by 3
src/js/plugins/ram-chart.directive.js
updateHiddenPlugins
called by 2
src/js/core/rootscope-event-handlers/hide-plugin.run.js
setPluginVisibility
called by 2
src/js/core/features/plugin/plugin.directive.js
initializeChart
called by 2
src/js/core/features/line-chart/line-chart-plugin.directive.js
initializeChart
called by 2
src/js/core/features/multi-line-chart/multi-line-chart-plugin.directive.js
getPluginData
called by 2
app/server/index.js

Shape

Function 269
Class 2
Method 1

Languages

TypeScript98%
Python1%
Go1%

Modules by API surface

app/linuxDash.min.js249 symbols
src/js/core/routes.js3 symbols
src/js/core/features/line-chart/line-chart-plugin.directive.js3 symbols
app/server/index.py3 symbols
app/server/index.js3 symbols
src/js/core/rootscope-event-handlers/hide-plugin.run.js2 symbols
src/js/core/features/multi-line-chart/multi-line-chart-plugin.directive.js2 symbols
app/server/index.go2 symbols
src/js/plugins/ram-chart.directive.js1 symbols
src/js/plugins/disk-space/disk-space.directive.js1 symbols
src/js/core/server.service.js1 symbols
src/js/core/features/plugin/plugin.directive.js1 symbols

Dependencies from manifests, versioned

angular1.3.4 · 1×
angular-route1.3.4 · 1×
del2.2.0 · 1×
express4.11.1 · 1×
gulp3.9.1 · 1×
gulp-angular-templatecache1.8.0 · 1×
gulp-concat2.6.0 · 1×
gulp-cssmin0.1.7 · 1×
gulp-ng-annotate2.0.0 · 1×
gulp-uglify1.5.3 · 1×
gulp-util3.0.7 · 1×
smoothie1.27.0 · 1×

For agents

$ claude mcp add linux-dash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact