Ki

Previous Topic Next Topic
 
Posted by Radishrain Radishrain
Options
ki.growspice.com

https://github.com/kumoshk/ki

Ki is a command-line Python program that assists you in navigating the Linux command-line quickly and efficiently. It should assist with the following tasks:

* Quickly finding and opening files, even if they're in complex directory structures, even if you don't know where they are, even if you don't know the *exact* name. The default setting is to only open one file at a time, but you can make it open all the files with that name if you really want.
* Creating files (in the directory with the most-recently accessed file) that aren't in your current working directory.
* Making a project that resembles an index or glossary wherein each file has a unique name.
* Creating hypertext fiction without a lot of navigation and file-creation overhead.
* Working with encrypted files. (You can passphrase-protect files, open them and such.) This functionality requires GNU Privacy Guard to be installed.

Ki has lots of options, which you can customize. It saves settings for many options.

You can use asterisk wildcard characters when opening files (but not question mark wildcards). So, if you have a file called `my super long and hard to type file.ki` you could just type `ki *super long*` and it should find and open it (unless there's another match that it opens instead). Asterisk wildcards match omitted characters.

One of Ki's features is base directories. Normally, Ki just searches the current working directory and all its subdirectories (recursively). However, if you're in a base directory structure, then Ki will search from the top of the base directory for files, instead of the current working directory. If you're not in a base directory, it'll search from the current working directory (or the default directory, if you have one enabled). You can make any directory a base directory as long as it's not within another base directory structure.

Ki opens most files with Nano, by default. Nano is a command-line text editor. If you're wondering, 'Why Nano?', it's because Nano is pretty nice (compared to every other option, IMO) when you're on an Android tablet using Termux, especially when you're using Ki. Nano has a learning curve, if you're used to GUI-based editors, but it doesn't take that long to learn if you have the information you need; same for multitasking in Termux.

To install Ki, you'll need to download the file called `ki`. On your first run, do `python3 ki -u` and follow the prompts to install it (use `sudo python3 ki -u` if you're not on Termux). Thereafter, you should be able to just type `ki` without manually invoking Python, and it should be in your path.

`xscheme.ki` is an xapps scheme you can optionally install with `ki --xload xsceheme.ki`. An xapps scheme is a scheme of apps used to run files of various extensions.

To learn how to use Ki, do `ki --help`.
Feedback, Links, Privacy, Rules, Support, About