Skip to content

Simple implementation of the top command using the GoTTH Stack for fun.

Notifications You must be signed in to change notification settings

rangzen/gotth-top

Repository files navigation

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

About

Simple implementation of the top command using the GoTTH Stack for fun.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published