Skip to content
/ vetrina Public

Modern web-based front-end for command line tools

Notifications You must be signed in to change notification settings

xprova/vetrina

Repository files navigation

Vetrina

Overview

Vetrina is a modern web-based front-end for interactive command line tools, consisting of a diagram editor and a command window. It connects to server-side tools (backend engines) via WebSockets and allows users to interact with them through web browsers.

Vetrina makes it very easy to convert basic command line tools in any language into full-fledged visual experiences and expose them to users on the Internet.

Live Demo

Vetrina consists of two parts: a web application and a back-end adapter.

The web application is an Angular-based interactive diagram editor with built-in command window that converts user interactions into JSON objects and sends them through a WebSocket connection to the back-end adapter. The latter maintains the server-side end of the WebSocket connection, relaying received JSON objects to a back-end engine and sending engine replies back to the web application. Communication between the adapter and engine are done purely using input/output streams, making it very simple to develop engines in any language (including Bash, see this example).

Documentation