Skip to main content

A Graphical Terminal Interface

Project description

NOTE: This version is OBSOLETE. Download the latest version from http://pypi.python.org/pypi/graphterm

GraphTerm is a browser-based graphical terminal interface, that aims to seamlessly blend the command line and graphical user interfaces. TYou can use it just like a regular terminal, backwards-compatible with xterm, and access the additional graphical features as needed. These features can help impove your terminal workflow by integrating clickable folder navigation with command line operations and letting you view image/HTML output without a separate window. You can use the GraphTerm API to build “mashups” of web applications that work seamlessly within the terminal. Sample mashups include:

  • greveal: Inline version of reveal.js to display Markdown files as slideshows

  • gtutor: Inline version of pythontutor.com for visual tracing of python programs

  • yweather: Using Yahoo weather API to display weather

  • ystock: Using Yahoo finance API to display stock price history

GraphTerm builds upon two earlier projects, XMLTerm which implemented a terminal using the Mozilla framework and AjaxTerm which is an AJAX/Python terminal implementation. (Other recent projects along these lines include TermKit and Terminology.)

A GraphTerm terminal window is just a web page served from the GraphTerm web server program. Multiple users can connect simultaneously to the web server to share terminal sessions. Multiple hosts can also connect to the server (on a different port), allowing a single user to access all of them via the browser. The GraphTerm server acts as a router, sending input from browser windows for different users to the appropriate terminal (“pseudo-tty”) sessions running on different hosts, and transmitting the terminal output back to the browser windows.

This flexible, networked implementation allows for several possible applications for GraphTerm, such as:

  • an enhanced terminal that combines the command line with basic GUI operations like navigating folders, file drag-and-drop, displaying images etc.

  • an inline data visualization tool to view output from plotting libraries like matplotlib.

  • a notebook interface for data analysis and documentation (like the Mathematica or IPython notebook interface, but at the shell level).

  • a virtual computer lab for teaching and demonstrations. The GraphTerm server can be set up in the cloud and accessed by multiple users using their laptop/mobile browsers. You can then share presentations using landslide or reveal.js, trace code execution, interact with other users, etc.

  • a collaborative terminal that can be remotely accessed by multiple users simultaneously, to run programs, edit files etc. It can also be used as a detachable terminal multiplexer, sort of like GNU screen or tmux.

The interface is designed to be touch-friendly for use with tablets, relying upon command re-use to minimize the need for a keyboard. It preserves history for all commands, whether entered by typing, clicking, or tapping. It is also themable using CSS.

You can find more information on using GraphTerm in its project page and browse the source code on github. Images of GraphTerm in action can be found in screenshots and in this YouTube Video.

Here is a sample screenshot showing the output of the metro.sh command, which embeds six smaller terminals within the main terminal, running six different commands from the GraphTerm toolchain: (i) live twitter stream output using gtweet, (ii) weather info using yweather, (ii) slideshow from markdown file using greveal and reveal.js, (iv) word cloud using d3cloud and d3.js, (v) inline graphics using gmatplot.py, and (vi) notebook mode using the standard python interpreter.

https://github.com/mitotic/graphterm/raw/master/doc-images/gt-metro.jpg

NOTE: This version is OBSOLETE. Download the latest version from http://pypi.python.org/pypi/graphterm

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphterm-0.40.1.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

graphterm-0.40.1-py2.7.egg (2.2 MB view details)

Uploaded Egg

File details

Details for the file graphterm-0.40.1.tar.gz.

File metadata

  • Download URL: graphterm-0.40.1.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for graphterm-0.40.1.tar.gz
Algorithm Hash digest
SHA256 deb5282fb6320cb29b492b6d9a8756e8efc83bf16989fa9b05ae96eb5b1f62b2
MD5 ee697b130e6813cd5d403595b16ff733
BLAKE2b-256 1625ad7da08a76cd606ca98ac74b234d51441dd5f5e20bce7d5fc648494c27b8

See more details on using hashes here.

File details

Details for the file graphterm-0.40.1-py2.7.egg.

File metadata

File hashes

Hashes for graphterm-0.40.1-py2.7.egg
Algorithm Hash digest
SHA256 32f17d134862f4dd331f1a6af4758bac82c0af56ff8c567fe227a78c87a86b7c
MD5 8dfc40be4bce1b01a48a30f68a3e9d5a
BLAKE2b-256 48df45d7fea92b5fd02e5ddfaba8e69e23423d72fd5f842daf6de811ba9d8ca4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page