blademd / thymus

A browser & editor for network configuration files.

Home Page:https://thymus.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thymus_default_screen

Thymus

Thymus — is a config browser. Thymus does not require a connection to any network device (but it can be used itself over SSH from a remote machine). You just need to save a configuration file, open it anytime, and navigate through it. Thymus mimics to CLI of a selected platform.

Thymus supports:

  • Juniper JunOS (and probably other JunOS-like systems, e.g. SR-OS with MD-CLI)
  • Cisco IOS/IOS-XE/NX-OS (and probably other IOS-like systems)
  • Arista EOS

This is the early alpha version! So some glitches can be appearing.

Screenshots

JunOS context screen

thymus_junos_example

IOS context screen

thymus_ios_example

Compare/diff between two configs (JunOS is just as an example)

thymus_junos_compare_example

Installation

Use pip to install the project right from its sources (e.g., pip install thymus/ or python -m pip install thymus/).

Modes

Thymus operates in two modes:

  • TUI-based. This mode draws the full-scale user interface in your console with mouse support. From the Textual documentation:

    On modern terminal software (installed by default on most systems), Textual apps can use 16.7 million colors with mouse support and smooth flicker-free animation. A powerful layout engine and re-usable components makes it possible to build apps that rival the desktop and web experience.

    Textual runs on Linux, macOS, Windows and probably any OS where Python also runs.

  • CLI-based. This is a hardcore mode for old men who yell at clouds. At least, it works for old terminals without mouse support.

To run the TUI-mode use the command:

python -m thymus
python -m thymus tuier

The CLI-mode is invoked by:

python -m thymus clier

Documentation

Please, refer to Wiki.

Feedback

Twitter Telegram

About

A browser & editor for network configuration files.

https://thymus.dev

License:MIT License


Languages

Language:Python 98.5%Language:CSS 1.5%