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 910This script spawns an insomnia instance on a remote machine using11[mosh][mosh web], it allows selecting the channel for which the instance12should be spawned interactively using [fzf][fzf github].1314## termux-client1516This script allows using insomnia from Android phones running17[Termux][termux website]. It is intended to be installed as a18[Termux Widget][termux widget].1920It requires the following Termux apps to be installed:2122* [com.termux][fdroid com.termux]23* [com.termux.widget][fdroid com.termux.widget]24* [com.termux.api][fdroid com.termux.api]2526Additionally, the following command must be run inside a Termux session27to install all required package dependencies:2829 pkg install termux-api mosh jq3031Additionally, `termux-client` itself must be configured by editing it32and setting the `HOST` and `IDIR` variables to appropriate values.33Afterwards, the script can be installed by creating the directory34`$HOME/.shortcuts` in Termux, copying `termux-client` to it, and marking35it executable. If successful, `termux-client` can be added to your home36screen as 1x1 widget.3738[mosh web]: https://mosh.org39[fzf github]: https://github.com/junegunn/fzf40[termux website]: https://termux.com/41[termux widget]: https://wiki.termux.com/wiki/Termux:Widget42[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/