Skip to content

Latest commit

 

History

History
131 lines (99 loc) · 3.42 KB

File metadata and controls

131 lines (99 loc) · 3.42 KB

Developer Documentation

Welcome to the Autonomi documentation… these guides will help you get started building with the Autonomi Network.

What is Autonomi?

Autonomi is a decentralised data and communications platform designed to provide complete privacy, security, and freedom by distributing data across a peer-to-peer network, rather than relying on centralised servers. Through end-to-end encryption, self-authentication, and the allocation of storage and bandwidth from users’ own devices, it seeks to create an autonomous, self-sustaining system where data ownership remains firmly in the hands of individuals rather than corporations.

Quick Links

API References

Language Support

Autonomi provides client libraries for multiple languages:

{% tabs %} {% tab title="Rust" %}

use autonomi::Client;

let client = Client::init()?;

{% endtab %}

{% tab title="Python" %}

from autonomi-client import Client

client = Client()
await client.init()

{% endtab %}

{% tab title="Node.js" %}

import { Client } from '@withautonomi/autonomi'

const client = await Client.init()

{% endtab %} {% endtabs %}

Building from Source

{% tabs %} {% tab title="Rust" %}

# Clone the repository
git clone <https://github.com/maidsafe/autonomi.git>
cd autonomi

# Build the project
cargo build --release

# Run tests
cargo test --all-features

# Install locally
cargo install --path .

{% endtab %}

{% tab title="Python" %}

# Clone the repository
git clone https://github.com/maidsafe/autonomi.git
cd autonomi

# Create and activate virtual environment
uv venv
source .venv/bin/activate  # Unix
# or
.venv\Scripts\activate     # Windows

# Installs `maturin`
uv sync

# Build and install the package
maturin develop --uv

{% endtab %}

{% tab title="Node.js" %}

# Clone the repository
git clone https://github.com/maidsafe/autonomi.git
cd autonomi/nodejs

# Install NAPI RS command-line tool
yarn global add @napi-rs/cli
# Install NPM dependencies
yarn install
# Build the node addon
yarn build

# Run tests
yarn test

{% endtab %} {% endtabs %}

Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Getting Help