Achilterm

Achilterm is a lightweight UTF-8 web based terminal.

Download as .zip Download as .tar.gz View on GitLab

Achilterm

Achilterm is a lightweight UTF-8 web based terminal.

Achilterm

Achilterm is written in Python (and some AJAX javascript for client side).

Achilterm is very simple to install on Linux, MacOS X, FreeBSD, Solaris, cygwin and any Unix that runs Python.

Achilterm is initially forked from Ajaxterm which was inspired by Anyterm.

Achilterm is developed by Florent Gallaire f@gallai.re

Website: https://f.gallai.re/achilterm

Download and Install

To install the last stable version from PyPI:

$ sudo pip install achilterm

To install the development version from GitLab:

$ git clone https://gitlab.com/fgallaire/achilterm
$ cd achilterm
$ sudo python setup.py install

To run Achilterm after installation:

$ achilterm

To run Achilterm from the source without installation:

$ ./achilterm/achilterm.py

Then point your browser to this URL: http://localhost:8022/

Documentation and Caveats

Achiltermlite

Achiltermlite is a stripped-down client-side version of Achilterm.

Achiltermlite

Commandline usage

usage: achilterm [options]

options:
  --version                  show program's version number and exit
  -h, --help                 show this help message and exit
  -p PORT, --port=PORT       set the TCP port (default: 8022)
  -c CMD, --command=CMD      set the command (default: /bin/login or ssh localhost)
  -l, --log                  log requests to stderr (default: quiet mode)
  -d, --daemon               run as daemon in the background
  -P PIDFILE, --pidfile=PIDFILE
                             set the pidfile (default: /var/run/achilterm.pid)
  -i INDEX_FILE, --index=INDEX_FILE
                             default index file (default: achilterm.html)
  -u UID, --uid=UID          set the daemon's user id
  -L, --lite                 use Achiltermlite
  -w WIDTH, --width=WIDTH    set the width (default: 80)
  -H HEIGHT, --height=HEIGHT set the height (default: 25)

Configuration example

    Listen 443
    NameVirtualHost *:443

    <VirtualHost *:443>
       ServerName localhost
       SSLEngine On
       SSLCertificateKeyFile ssl/apache.pem
       SSLCertificateFile ssl/apache.pem

       ProxyRequests Off
       <Proxy *>
               Order deny,allow
               Allow from all
       </Proxy>
       ProxyPass /achilterm/ http://localhost:8022/
       ProxyPassReverse /achilterm/ http://localhost:8022/
    </VirtualHost>

Old versions

Older Achilterm versions only support latin1, if you use Ubuntu or any LANG==en_US.UTF-8 distribution don’t forget to $ unset LANG:

Compared to anyterm

License

Achilterm files are released under the GNU AGPLv3 or above license.

Achilterm codebase from Ajaxterm by Antony Lesuisse (email: al AT udev.org), License Public Domain.