Skip to content

An interactive TUI that powers your endeavour in ETCD ๐Ÿ’ช๐Ÿผ

License

Notifications You must be signed in to change notification settings

MayukhSobo/Spectacle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Spectacle ๐Ÿ‘“

An interactive TUI that powers your endeavour in ETCD

Build Status Lint Status Go Report Card GoDoc License Go Version Release

Spectacle Logo

โœจ Features

  • ๐Ÿš€ Fast and lightweight TUI built with Bubble Tea
  • ๐Ÿ” Intuitive navigation and data exploration
  • ๐Ÿ’พ Secure connection management
  • ๐ŸŽจ Beautiful terminal interface styled with Lipgloss
  • ๐Ÿ” Support for TLS and authentication
  • ๐ŸŒ Works with single node and cluster setups
  • โšก Real-time updates and monitoring
  • ๐Ÿ”„ Session persistence

๐Ÿš€ Installation

Using Go

go install github.com/MayukhSobo/Spectacle@latest

From Source

git clone https://github.com/MayukhSobo/Spectacle.git
cd Spectacle
make build

๐Ÿ“– Usage

Simply run:

spectacle

๐ŸŽฎ Navigation

  • โ†‘ โ†“ Arrow keys to navigate
  • Enter to select/expand
  • ESC to go back
  • q to quit
  • / to search
  • More keybindings available in-app

๐Ÿ›  Development

Prerequisites

  • Go 1.21+
  • Docker (for local development)
  • Pre-commit hooks
  • golangci-lint
  • make

Project Structure

Spectacle/
โ”œโ”€โ”€ cmd/          # CLI commands
โ”œโ”€โ”€ internal/     # Internal packages
โ”‚   โ””โ”€โ”€ app/     # TUI components
โ”‚       โ”œโ”€โ”€ home/       # Home screen
โ”‚       โ”œโ”€โ”€ savedconns/ # Saved connections
โ”‚       โ””โ”€โ”€ common/     # Shared components
โ”œโ”€โ”€ logger/       # Logging utilities
โ””โ”€โ”€ dev/         # Development utilities

Local Setup

  1. Clone the repository

    git clone https://github.com/MayukhSobo/Spectacle.git
    cd Spectacle
  2. Install dependencies

    go mod download
  3. Install development tools

    make setup-dev
  4. Start local ETCD

    docker-compose -f dev/docker-compose.yaml up -d
  5. Run tests

    make test

Code Quality

  • Pre-commit hooks ensure code quality
  • golangci-lint for static code analysis
  • Unit tests for core functionality
  • Integration tests with ETCD

๐Ÿค Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

About

An interactive TUI that powers your endeavour in ETCD ๐Ÿ’ช๐Ÿผ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published