GitHub - asimov-platform/asimov-cli: 🛠️ ASIMOV Command-Line Interface (CLI).

GitHub

Tip

🚧 We are building in public. This is presently under heavy construction.

✨ Features

Cuts red tape: 100% free and unencumbered public domain software.

🛠️ Prerequisites

Rust

1.97.1+ (2024 edition)

⬇️ Installation

Installation from GitHub

Installation via

Cargo Binstall

cargo binstall -y asimov-cliInstallation via

Cargo

cargo install asimov-cli --lockedInstallation using a Package Manager

Homebrew

Homebrew

Firstly, register this tap in your local Homebrew installation with:

brew tap asimov-platform/tapNow you can install ASIMOV CLI with:

brew install asimov-cliScoop

Scoop

First things first, you need to add our custom Scoop bucket:

scoop bucket add asimov-platform https://github.com/asimov-platform/scoop-bucketNow, installing ASIMOV CLI is as easy as running:

scoop install asimov-platform/asimov-cliNix Flakes

Nix Flakes

Nix flakes is an experimental feature that has to be enabled before going any further:

mkdir -p ~/.config/nix &&echo"experimental-features = nix-command flakes">>~/.config/nix/nix.confNow you can register the flake using:

nix registry add asimov-cli github:asimov-platform/nix-flakeAnd then install ASIMOV CLI with:

nix profile install asimov-cli#default --no-write-lock-fileFlatpak

Flatpak

First add the ASIMOV Platform Flatpak remote:

flatpak remote-add --if-not-exists --user asimov-cli --no-gpg-verify https://asimov-platform.github.io/flatpakThen install ASIMOV CLI with:

flatpak install asimov-cli so.asimov.cliNow you can run it like this:

flatpak run so.asimov.cli --helpYou may want to create an alias for it:

alias asimov="flatpak run so.asimov.cli"👉 Examples

Show help, including all available commands:

asimov helpTip

Add one or more -v flags to increase the verbosity level.

Fetch DataFetch Data

# Fetch data from a URL, automatically choosing from installed modules asimov fetch https://example.com/ # To fetch with a specific module use `-M` or `--module` asimov fetch -M http https://example.com/ # Fetch multiple URLs asimov fetch https://asimov.sh/ https://asimov.blog/Import Data From a URLImport Data From a URL

If you have the

ASIMOV Bright Data module

installed and configured, you should be able to fetch various social platform resources:

# Import data from a URL, automatically choosing from installed modules asimov import https://x.com/asimov_platform # Import using the specific module asimov import -M brightdata https://x.com/asimov_platformExternal CommandsExternal Commands

The CLI automatically discovers and runs external commands starting with asimov-. If you installed using a package manager you should have access to

ASIMOV Module CLI

for managing installed

modules

:

# If you have asimov-module-cli installed asimov module [arguments] asimov module install http # Get help for external commands asimov help module📚 Reference

Command-Line Interface

$ asimovasimov module

$ asimov module --helpasimov module install$ asimov module install --helpasimov proxy

$ asimov proxy --helpasimov proxy serve$ asimov proxy serve --helpasimov proxy url$ asimov proxy url --helpasimov proxy host$ asimov proxy host --helpasimov proxy port$ asimov proxy port --helpasimov proxy models$ asimov proxy models --helpasimov proxy config$ asimov proxy config --helpasimov proxy install$ asimov proxy install --helpasimov source

$ asimov source --helpasimov source fetch$ asimov source fetch --helpasimov source list$ asimov source list --helpasimov source read$ asimov sourceread --helpasimov source snap$ asimov source snap --help👨‍💻 Development

git clone https://github.com/asimov-platform/asimov-cli.git
———