insomnia

A frontend for the hii IRC client

git clone https://git.8pit.net/insomnia.git

 1# insomnia contrib
 2
 3This directory contains scripts which are not officially supported or
 4subject to any robustness or stability criteria. This document contains
 5a section for each script contained in this directory further explaining
 6how it is intended to be used.
 7
 8## irc-menu
 9
10This script spawns an insomnia instance on a remote machine using
11[mosh][mosh web], it allows selecting the channel for which the instance
12should be spawned interactively using [fzf][fzf github].
13
14## termux-client
15
16This script allows using insomnia from Android phones running
17[Termux][termux website]. It is intended to be installed as a
18[Termux Widget][termux widget].
19
20It requires the following Termux apps to be installed:
21
22* [com.termux][fdroid com.termux]
23* [com.termux.widget][fdroid com.termux.widget]
24* [com.termux.api][fdroid com.termux.api]
25
26Additionally, the following command must be run inside a Termux session
27to install all required package dependencies:
28
29	pkg install termux-api mosh jq
30
31Additionally, `termux-client` itself must be configured by editing it
32and setting the `HOST` and `IDIR` variables to appropriate values.
33Afterwards, the script can be installed by creating the directory
34`$HOME/.shortcuts` in Termux, copying `termux-client` to it, and marking
35it executable. If successful, `termux-client` can be added to your home
36screen as 1x1 widget.
37
38[mosh web]: https://mosh.org
39[fzf github]: https://github.com/junegunn/fzf
40[termux website]: https://termux.com/
41[termux widget]: https://wiki.termux.com/wiki/Termux:Widget
42[fdroid com.termux]: https://f-droid.org/packages/com.termux/
43[fdroid com.termux.widget]: https://f-droid.org/packages/com.termux.widget/
44[fdroid com.termux.api]: https://f-droid.org/packages/com.termux.api/