app_hiai

A local terminal polygot (POSIX Shell x PowerShell) bridging LLM AI prompt interaction capabilities directly to your computer!

https://github.com/chewkeanho/app_hiai

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary

Keywords

ai-application ai-prompt-app curl powershell shell
Last synced: 6 months ago · JSON representation

Repository

A local terminal polygot (POSIX Shell x PowerShell) bridging LLM AI prompt interaction capabilities directly to your computer!

Basic Info
  • Host: GitHub
  • Owner: ChewKeanHo
  • License: apache-2.0
  • Language: Shell
  • Default Branch: main
  • Homepage:
  • Size: 37.3 MB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Topics
ai-application ai-prompt-app curl powershell shell
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Code of conduct Citation Security

README.md

Holloway's HiAI

hollowayHIAI

A local terminal polygot (POSIX Shell x PowerShell) bridging LLM AI prompt interaction capabilities directly to your computer!

Turn every computer's terminal into an interactive AI prompt.

hollowayHIAI-demo-debian

[!important]

Special thanks to Google for sponsoring its Google Gemini Advanced Ultra services allowing this app to be possibly realized.

Why It Matters

Some good business reasons why using AutomataCI:

  1. Use AI prompt straight from the terminal - No need to visit here and there just to use AI prompt.
  2. Simple and straight forward - Frankly, it's created to resolve some AI prompt's buggy UI.
  3. Steadily improvable - Will continue to improve over time.
  4. Programmable - I'm so done with copy-pasting prompt constructors.

Supported AI Vendors

  1. Google AI - Get API Token

To Install

The software is packaged based on available OSes.

Debian based OSes (linux, hurd, etc)

  1. Download the latest .deb package from the release section.
  2. perform $ dpkg -i <package>.deb.

Don't worry, the package will setup the upstream apt repository list source alongside the required GPG key for future apt update.

Red Hat based Linux OS (redhat, fedora, etc)

  1. Download the latest .rpm package from the release section.
  2. perform $ rpm -i <package>.rpm.

Don't worry, the package will setup the upstream yum repository list source alongside the required GPG key for future yum update.

Flatpak

  1. Download the latest .flatpak package from the release section.
  2. perform $ flatpak --user install <package>.flatpak.

Note that the command to use is: flatpak run com.github.chewkeanho.app_hiai ... due to how Flatpak works. For example, to get help, it is:

$ flatpak run com.github.chewkeanho.app_hiai --help

For direct installation in FlatHub, it's still work in progress.

Homebrew (MacOS)

NOTE: One time Setup - add the ChewKeanHo's Collections Tap.

$ brew tap chewkeanho/collections https://github.com/ChewKeanHo/Collections.git

Install Holloway's HiAI!

$ brew install hollowayhiai

That's it.

Chocolatey (Windows)

Coming Soon

Docker / Podman

The container distribution is hosted on GitHub Packages. Please keep in mind that the packages section is continuously updated with development so the catalog can be confusing (e.g. you may see some development images before release).

To pull an image with Docker, the command is as follows:

``` $ docker pull ghcr.io/chewkeanho/hollowayhiai:latest

OR

$ docker pull ghcr.io/chewkeanho/hollowayhiai:[VERSION]

Example for v0.0.2:

$ docker pull ghcr.io/chewkeanho/hollowayhiai:0.0.2 ```

To run with Docker, you need to mount your config file and execute using the ARGS environment variables. The --config argument MUST match with the pathing you mounted to (target=). For example:

```

note - '-it' must always be the last argument

$ docker run --env ARGS="--config /CONFIG.toml --text2text 'Who are you?'" \ --mount type=bind,source="/path/to/CONFIG.toml",target="/CONFIG.toml" \ -it ghcr.io/chewkeanho/hollowayhiai:[VERSION]

to call for help

$ docker run --env ARGS="--help" ghcr.io/chewkeanho/hollowayhiai:[VERSION] ```

Plain Script

Use the tar.gz package or zip package on Windows OS.

Note that the command to use is: hollowayhiai_[OS]-[ARCH].sh.ps1 (with file extensions) instead of the guided hollowayHIAI since you're executing directly from the script.

How-tos, Documentations & Specifications

To use Holloway's HiAI, you need to first setup 1-time CONFIG.toml file:

```

UNIX (Linux & MacOS) - POSIX Shell

$ hollowayHIAI --create-config path/to/file.toml

WINDOWS - PowerShell

$ powershell.exe -noprofile -executionpolicy bypass -Command "& .\hollowayhiai_windows-[ARCH].sh.ps1 --create-config 'path\to\file.toml'"

update the path/to/file.toml especially with the API token.

```

Once done, you may proceed to execute it:

```

UNIX (Linux & MacOS) - POSIX Shell

$ hollowayHIAI --config path/to/file.toml --text2text "...your prompt..."

WINDOWS - PowerShell

$ powershell.exe -noprofile -executionpolicy bypass -Command "& .\hollowayhiai_windows-[ARCH].sh.ps1 --config path\to\file.toml --text2text "...your prompt..."" ```

In any cases, if you need any on-screen assistances: ```

UNIX (Linux & MacOS) - POSIX Shell

$ hollowayHIAI --help

WINDOWS - PowerShell

$ powershell.exe -noprofile -executionpolicy bypass -Command "& .\hollowayhiai_windows-[ARCH].sh.ps1 --help" ```

To Contribute

Holloway's HiAI! cannot be made successfully without contributions from (Holloway) Chew, Kean Ho, his teams, and supports from external folks. If you had been using it and wish to contribute back, there are 2 ways to do so:

Financial

To financially support the project, please head over to Holloway's sponorship store here:

Sponsor

A small token purchase would helps a lot.

Craftmanship

If you wish to bring in codes contribution, bug report, and ideas, please feel free to refer the PDF Handbook and execute accordingly.

License

Holloway's HiAI! is licensed under OSI compatible Apache 2.0 License.

Owner

  • Name: (Holloway) Chew, Kean Ho
  • Login: ChewKeanHo
  • Kind: organization
  • Email: hello@hollowaykeanho.com
  • Location: Malaysia

Personal Group for HollowayKeanHo personal brand and his products & services.

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 26
  • Total Committers: 1
  • Avg Commits per committer: 26.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 26
  • Committers: 1
  • Avg Commits per committer: 26.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
(Holloway) Chew, Kean Ho h****o@g****m 26

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 7
  • Total pull requests: 0
  • Average time to close issues: about 3 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.57
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 0
  • Average time to close issues: about 3 hours
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.57
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hollowaykeanho (7)
Pull Request Authors
Top Labels
Issue Labels
Released (6) New Feature (3) Bug (1) Enhancement (1) In Progress (1) Documentation (1)
Pull Request Labels

Dependencies

.github/workflows/git-push.yml actions
  • actions/upload-artifact v4 composite