Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antget

ci

Download public data from the Autonomi network. No account, no API key, no KYC, no wallet, no keys. Free.

antget 711c7e20006ff3e0ac6c1f3063286a0c1a3e4c409642e8c526173fa60bb7078a -o lucky.jpg

That address is a photo of a dog. It is on the network permanently and nobody can take it down.

Install

curl -fsSL https://raw.githubusercontent.com/WithAutonomi/antget/main/install.sh | bash

The installer works out which build fits your machine, checks the archive against the release SHA256SUMS before unpacking it, and installs to ~/.local/bin. It never calls sudo.

Variable Effect
INSTALL_DIR Install somewhere else, e.g. INSTALL_DIR=/usr/local/bin
ANTGET_VERSION Pin a version, e.g. ANTGET_VERSION=0.1.0

If you would rather read the script before running it, that is the point of a plain URL:

curl -fsSL https://raw.githubusercontent.com/WithAutonomi/antget/main/install.sh -o install.sh
less install.sh && bash install.sh

Prebuilt binaries cover Linux (x86_64, aarch64, statically linked against musl) and macOS (Intel, Apple silicon). On Windows, take the zip from the releases page.

Public release archives also carry build provenance, so you can tie one back to the workflow run that produced it:

gh attestation verify antget-0.1.0-aarch64-apple-darwin.tar.gz --repo WithAutonomi/antget

Usage

usage: antget <address> [-o <file>]

Without -o, the file is written under its address, because an address identifies content rather than a filename. antget --version prints the version, antget --help the usage line.

Build

cargo build --release

Status

Proof of concept. It connects to the production network, fetches the data map at the address, downloads the chunks and writes the file. Reads only: there is no upload path, no wallet and no EVM configuration anywhere in it.

Licence

GPL-3.0, the same as the ant CLI. The full text is in LICENSE and ships inside every release archive.

It has to be GPL-3.0 rather than anything more permissive: antget links evmlib and self_encryption, both GPL-3.0, and their terms reach the whole statically linked binary. Source for a released binary is this repository at the matching tag, with the committed Cargo.lock pinning every dependency.

About

curl/wget but for Autonomi

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages