Skip to content

y-hatano-github/cubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubectl demo: a rotating 3D cube in the terminal

🧊 cubectl

Release Go Version License

Once you mistype kubectl as cubectl, you’ll end up controlling a cube instead of Kubernetes clusters.
This tool makes your typos fun.

⚙️ Features

  • 🧊 Renders a 3D cube instead of controlling Kubernetes clusters.
  • 🔄 Rotate the cube with arrow keys or wasd.
  • 🔍 Zoom in/out with z and x.
  • 🚫 Absolutely no Kubernetes functionality included.

💾 Download

Pre-built binaries are available for Windows, macOS, and Linux.

👉 Get the latest release here: https://github.com/y-hatano-github/cubectl/releases/latest

🚀 Quick start

🐧 Linux

wget https://github.com/y-hatano-github/cubectl/releases/latest/download/cubectl_linux_amd64.tar.gz
tar -xzvf cubectl_linux_amd64.tar.gz
sudo mv cubectl /usr/local/bin/
cubectl

🍎 macOS

curl -LO https://github.com/y-hatano-github/cubectl/releases/latest/download/cubectl_darwin_amd64.tar.gz
tar -xzvf cubectl_darwin_amd64.tar.gz
sudo mv cubectl /usr/local/bin/
cubectl

🪟 Windows

Invoke-WebRequest -OutFile cubectl_windows_amd64.tar.gz https://github.com/y-hatano-github/cubectl/releases/latest/download/cubectl_windows_amd64.tar.gz
tar -xzvf cubectl_windows_amd64.tar.gz
.\cubectl.exe

📘 Usage

Usage: cubectl [Flags]

Control a cube in your terminal instead of controlling Kubernetes.

Controls:
  Arrow keys or wasd: Rotate the cube
  z: Zoom in
  x: Zoom out
  Ctrl+C or Esc: Exit

Flags:
  -h, --help    help for cubectl

📚 References

Inspiration for the idea

I was reading the following articles, and somehow ended up creating this joke command.

For 3D rendering