Initial release: GyanDoot v2.0.0
Cross-platform AI Agent Platform - Sources: https://git.gyannetra.in/gnpl_admin/gyandoot-v2 - Installer: curl -fsSL https://git.gyannetra.in/gnpl_admin/gyandoot-release/raw/main/install.sh | bash Platforms: - macOS (arm64/x86_64) via Homebrew or install.sh - Linux (x86_64/aarch64/i686) via install.sh - Windows (x86_64) via Git Bash/MSYS2 or PowerShell - WSL via install.sh Includes: - install.sh (cross-platform universal installer) - Windows: install.bat + install.ps1 - macOS: Homebrew formula (homebrew/gyandoot.rb) - Linux: prebuilt binary + install guide - README.md with full documentation
This commit is contained in:
49
macos/gyandoot.rb
Normal file
49
macos/gyandoot.rb
Normal file
@@ -0,0 +1,49 @@
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
# GyanDoot v2.0 — Homebrew Formula
|
||||
# Usage:
|
||||
# brew tap gnpl_admin/gyandoot
|
||||
# brew install gyandoot
|
||||
#
|
||||
# For the latest version, run:
|
||||
# brew upgrade gyandoot
|
||||
|
||||
class Gyandoot < Formula
|
||||
desc "GyanDoot — AI Agent Platform: search, browse, and automate"
|
||||
homepage "https://git.gyannetra.in/gnpl_admin/gyandoot-v2"
|
||||
url "https://git.gyannetra.in/gnpl_admin/gyandoot-v2.git",
|
||||
tag: "v2.0.0",
|
||||
revision: "3b5b995fcec8f11bdb9d7e0fb24c50f20c2d9d38"
|
||||
license "MIT"
|
||||
head "https://git.gyannetra.in/gnpl_admin/gyandoot-v2.git", branch: "main"
|
||||
|
||||
depends_on "rust" => :build
|
||||
depends_on "node" => :recommended
|
||||
|
||||
def install
|
||||
system "cargo", "install", "--locked", "--root", prefix,
|
||||
"--path", "."
|
||||
|
||||
# Generate shell completions
|
||||
bash_completion.install "completions/gyandoot.bash" => "gyandoot"
|
||||
zsh_completion.install "completions/gyandoot.zsh" => "_gyandoot"
|
||||
fish_completion.install "completions/gyandoot.fish" => "gyandoot.fish"
|
||||
end
|
||||
|
||||
def post_install
|
||||
ohai "GyanDoot installed! Quick start:"
|
||||
puts " gyandoot setup # Configure LLM provider"
|
||||
puts " gyandoot run # Start interactive agent"
|
||||
puts ""
|
||||
ohai "Optional — Install Camoufox Browser for web search:"
|
||||
puts " npx --yes camoufox-js@0.11.0 fetch"
|
||||
puts ""
|
||||
ohai "macOS Gatekeeper fix (required on Apple Silicon):"
|
||||
puts " xattr -dr com.apple.quarantine ~/Library/Caches/camoufox"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "GyanDoot", shell_output("#{bin}/gyandoot --version")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user