Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Colorful TUI frontend to run Vagrant commands

License

NotificationsYou must be signed in to change notification settings

braheezy/violet

Repository files navigation

GiveVagrant a splash of color 🎨

Violet is a colorful TUI frontend to manage Vagrant virtual machines. Quickly view the state of all VMs and issue commands against them!

Violet Gif

Getting Started

Violet is delivered as a single binary for various platforms. See theReleases page for the latest builds.

Prerequisites

Violet does absolutely nothing without Vagrant installed. See theVagrant docs to install it for your platform.

Vagrant itself does absolutely nothing unless you have a Hypervisor installed and configured. Here's a few popular ones:

For best results, it helps to have existing Vagrant VMs.

Usage

Open a terminal and run the program:

violet

See the following table for how to interact with Violet:

ActionKeyDescription
Switch Environment TabTab/Shift+TabCycle through found Vagrant environments
Select CommandLeft/RightCycle through the supported Vagrant commands
Run commandEnterRun the highlighted command on the selected entity
Toggle Environments/VM controlSpace barOperate on the environment as a whole or individual machines

Note that Violet does not aim to support all Vagrant commands and will provide a poor interface for troubleshooting issues with Vagrant, VMs, hypervisors, etc.

Development

TheMakefile contains the most common developer actions to perform. Seemake help for everything, or build and run for your machine:

make run

Using theVagrantfile, a Libvirt VM can be created and inside that, scripts fromtest/ can create quick dummy Vagrant projects. This can be a safe sandbox environment to experiment with builds ofviolet.

# Bring VM up and SSH invagrant up&& vagrant ssh# Get into the working directorycd /vagrant# Setup test environmentsbash test/multi_env.sh# Make edits, then runmake run
Test ScriptPurpose
single_env.shCreate one env with one machine
multi_env.shCreate one env with multiple machines
many_env.shCreate multiple envs, each with one machine

Acknowledgements

Contributing

Please do! Issues and PRs are very welcome.

Inspiration

My interest in TUI applications was growing and I wanted to build something complicated and useful (more than agame).


[8]ページ先頭

©2009-2025 Movatter.jp