Skip to main content

Curses based application for command history that can be wired up to a Web server (archelond) for shared shell history across multiple hosts.

Installation

pip install archelonc

Once that is setup you can try it out by running . archelon this uses your existing shell history to let you try out the client. To make this work more like the bash reverse history search via C-r I recommend adding:

bind '"\033a":". archelon\n"'

this will launch the reverse search of archelon via Alt-A.

Web Enabled History

From here you can use archelon as is, but the cool part really start when you install archelond and wire the client up to use that project for shared and indexed shell history. To configure the client side after you have setup the server, you just need to add two environment variables to the mix.

  • ARCHELON_URL - Web URL to your archelond installation

  • ARCHELON_TOKEN - The API token for your user. You can get this by going to https://your.archelond.domain/api/v1/token and logging in with the username and password you’ve created.

Add those to .bashrc, .profile, or whichever shell startup you are using and it will be hooked up to the Web server. You can verify this and populate your Web history by running the archelon_import command which will import your current computers history.

Keyboard Shortcuts

Within the client curses application, there are a few handy keyboard shortcuts.

Alt-o:

This presses the Ok button and runs whatever command is in the command field.

Alt-c:

This presses the cancel button and exits out of the application without running a command. Ctrl-C also works, but currently has a nasty exception message.

Ctrl-x:

This brings up the menu for doing things like changing the order of the search results.

Within Menus

Within the menu there are also keyboard shortcuts. And are executed emacs style, i.e. Ctrl-x Ctrl-f to set sorting order to oldest->newest. So far those are:

Ctrl-f:

Sort results from oldest to newest

Ctrl-r:

Default order. Sort results from newest to oldest.

Release files for archelonc 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archelonc 0.6.0
File Size Uploaded
archelonc-0.6.0.tar.gz 14.0 kB Details

Release files / archelonc-0.6.0.tar.gz

Download URL archelonc-0.6.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b69457c7477a3524ff923af9b29993ef34d6137c0181b8d42ae62f5ce266fb03
BLAKE2b-256 checksum
How to use checksums
560162516183d1f9289e818f7074828e978b7a3e6b6fe4c242c762e356e2b335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page