Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.98 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.98 KB

GoTTH top

This is a simple implementation of the top command, which provides a dynamic real-time view of a running system. It is built using the GoTTH Stack for fun.

The GoTTH Stack

  • Go: The backend language used for server-side logic and handling requests.
  • Templ: A templating language for generating HTML templates in Go format.
  • Tailwind CSS: A utility-first CSS framework for styling the application.
  • HTMX: A library for adding interactivity and dynamic updates to web pages without relying heavily on JavaScript.

Suplementary tools

  • gopsutil: A Go port of psutil (process and system utilities). GoTTH top relies heavily on this.
  • Echo: A high-performance, extensible web framework for Go.
  • daisyUI: A plugin for Tailwind CSS that adds a set of beautiful components and utilities.
  • Alpine.js: A minimal JavaScript framework for building interactive web interfaces.

Installation

Binary Installation with Go installed

go install github.com/rangzen/gotth-top/cmd/gotth-top@latest

Requirements for dev

go install github.com/a-h/templ/cmd/templ@latest # CLI tool to watch templates
go mod tidy                                      # Update dependencies
npm install -g onchange                          # Files Watcher

References