diff --git a/Formula/loki.rb b/Formula/loki.rb new file mode 100644 index 0000000..4c51f1d --- /dev/null +++ b/Formula/loki.rb @@ -0,0 +1,23 @@ +# Documentation: https://docs.brew.sh/Formula-Cookbook +# https://rubydoc.brew.sh/Formula +class Loki < Formula + desc "All-in-one, batteries included LLM CLI tool" + homepage "https://github.com/Dark-Alex-17/loki" + if OS.mac? and Hardware::CPU.arm? + url "https://github.com/Dark-Alex-17/loki/releases/download/v0.1.0/loki-macos-arm64.tar.gz" + sha256 "000810bd48016eac9a000e8ddeaa58fba8932cdfb6b211e63b8678e35338cce1" + elsif OS.mac? and Hardware::CPU.intel? + url "https://github.com/Dark-Alex-17/loki/releases/download/v0.1.0/loki-macos.tar.gz" + sha256 "5611a2a8caaff313e20f9e51eaf39d6e48a6f3ed57f9b08cb78e32cea4a8e615" + else + url "https://github.com/Dark-Alex-17/loki/releases/download/v0.1.0/loki-linux-musl.tar.gz" + sha256 "a20e618a8b25bc4bd8b749f446c09001f8c28a00e072703a0bb6b469cdae1f43" + end + version "0.1.0" + license "MIT" + + def install + bin.install "loki" + ohai "You're done! Get started with \"loki --help\"" + end +end diff --git a/README.md b/README.md index 7479743..a0da454 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,28 @@ -# homebrew-loki -Homebrew Tap for Loki +# Loki - All-in-one, batteries-included LLM CLI tool + +``` + _ _ _ +| | ___ | | _(_) +| | / _ \| |/ / | +| |__| (_) | <| | +|_____\___/|_|\_\_| + +``` + +`loki` is an all-in-one, batteries-included, LLM CLI tool featuring Shell Assistant, CLI & REPL Mode, RAG, AI Tools & +Agents, and More. + +It is designed to include a number of useful agents, roles, macros, and more so users can get up and running with Loki +in as little time as possible. + +**This repo holds the Homebrew Tap and Formula for [Loki](https://github.com/Dark-Alex-17/loki)** + +# Install with + +``` +brew tap Dark-Alex-17/loki +brew install loki + +# If you need to be more specific, use: +brew install Dark-Alex-17/loki/loki +```