![](./pooi.png) - trivia on the command line ## What is pooi? (pooi is a fork of [oi](https://github.com/PureArtistry/oi) that is written by [PureArtistry](https://github.com/PureArtistry) David Sherriff I've forked it because it is unmaintained and replaced all the contact details to mine in all the places to ensure active development continues. ) **pooi** project is a an attempt to keep the cli user more attatched to cli environment even when there is a need to perform an arbitary web search. The goal is to make pooi feature rich enough so that the user can perform as many web search functions and get the reslts in the commandline itself instead of opening up a fully featured web browser. use ```pooi --help``` for full usage information ## Installation ### On Arch Linux Pooi is available in the [AUR](https://aur.archlinux.org/packages/pooi) you can use an AUR Helper such as paru or yay' ```shell paru -S pooi ``` or ```shell yay -S pooi ``` ### All the other Linux distros/ macOS can install **cargo** ```curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh``` (or use your distro's package manager) and then run ```shell cargo install pooi ``` this is only required for building the binary, if you have no more use for cargo you can remove it afterwards ## build instructions: clone repo cd into repo root #### Linux an install script has been provided, just run ```./install.sh``` #### macOS run ```cargo build --release``` then ```sudo cp ./target/release/pooi /usr/local/bin``` a zsh completion script is located at the following path ```./etc/completions/_oi``` but I currently have no idea where to put it (sorry!) #### Windows run ```cargo build --release``` then make a new folder in a location of your choosing ```copy .\target\release\pooi.exe [letter]:\path\to\your\folder``` following [this](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) guide you can add your new folder to you environment PATH a PowerShell completion script is located at the following path ```.\etc\completions\_pooi.ps1``` but I currently have no idea where to put it (sorry!) ### Pre-Compiled version for Linux is available in the Release section. You may download that and run it using ./pooi or move it to your $PATH ## Usage ### TODO: - [x] shell completion scripts - [x] add a proper release with binaries - [x] license? - [ ] improve docs - [ ] user customisable colours (using an environment variable) - [ ] general code improvements (and probable bug fixes) ### TO-DO List @tellmeY18 - [x] package it for cargo - [ ] package for debian - [x] add to AUR - [ ] package for Arch mebbe ?