ASIMOV Command-Line Interface (CLI)
🚧 We are building in public. This is presently under heavy construction.
✨ Features
- 100% free and unencumbered public domain software.
🛠️ Prerequisites
- Rust 1.85+
⬇️ Installation
Installation from Source Code
Installation via Cargo
cargo install asimov-cliInstallation using Package Manager
Firstly, register this tap in your local Homebrew installation with:
brew tap asimov-platform/tapNow you can install ASIMOV CLI with:
brew install asimov-cliFirst 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 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-fileFirst 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 helpWhen running commands you can add one or more -v flags to increase verbosity level.
Fetch 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 as RDF 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 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
TBD
👨💻 Development
git clone https://github.com/asimov-platform/asimov-cli.git