How to Publish Your Own
Website on Autonomi Network

Discover how you can host and share your content on a network that’s
controlled by no one and owned by us all.

Why Publish a Website on Autonomi Network?

Autonomi Network lets you publish a website that is anonymous, censorship-proof, and permanent. Once uploaded, your site cannot be taken down — not by governments, corporations, or even the developers of Autonomi. You pay once to publish, and your content lives on the decentralized network forever, immune to takedowns, surveillance, or interference.

Steps to Get Started

    Setup AntTP to read websites on Autonomi

    First you will need to be able to read content on the Autonomi Network, and for that you will need AntTP (anttp).
  1. Download the anttp Binary:
    Head to the AntTP GitHub Releases and download the binary for your OS (Linux, macOS, or Windows).
  2. Run the anttp binary:
    For Windows, open PowerShell.
    For Linux/Mac, open Terminal.
    use cd to change directory to where you have the anttp file.
    run ./anttp This starts AntTP which lets you read websites on the Autonomi network. You can let this run in the background.

    CONGRATULATIONS!

    Now that you have AntTP running, you can read the rest of this PubAnt site using the Autonomi Network. You can access it by entering this address in your browser: localhost:8080/7c8662c127e82ab5dfc1056f14d9a5e9f22db325b7cf4222470a77faff9595d7/site/index.html
    But it might not look right, so the best way is to go to Network Settings in your (Firefox?) browser and change proxy settings to 127.0.0.1 port: 8080. Look at this image to see the settings.
    After changing the proxy settings, you can access the site by adding http:// before the address, like this:
    http://7c8662c127e82ab5dfc1056f14d9a5e9f22db325b7cf4222470a77faff9595d7/site/index.html
    Remember that after changing proxy settings, you will not be able to access "normal" websites in your Firefox browser, until you remove the proxy settings again.

    How to publish a website (advanced)

  1. Fund your wallet: First, you will need ANT Tokens and ETH on the Arbitrum Network.
  2. Secondly, install antup and the client:
    For Linux/Mac OS (Terminal):
    curl -sSL https://raw.githubusercontent.com/maidsafe/antup/main/install.sh | bash -s -- --client
    For Windows (Powershell):
    iex (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/maidsafe/antup/main/install.ps1")
    Then you can run
    antup client
    Which will install the ant client so that you can upload your website to the Autonomi network.
  3. Setup wallet:
    You must setup your wallet in the ant client by entering any of these commands:
    ant wallet create if you want to create a new wallet
    ant wallet import PRIVATE_KEY if you want to import a private key of a wallet you already have.

    ONLY USE SMALL AMOUNTS OF FUNDS IN THESE WALLETS.
    DON'T SHARE YOUR PRIVATE KEY WITH ANYONE.

  4. Build Your Website Directory:
    Structure your site like a normal static site (e.g. folders, HTML, CSS, index.html, etc.). Let's say you've made a website at ~/site and made a web page at ~/site/index.html Or you can download this site.zip file if you want to publish this PubAnt site.
  5. Upload as an Archive:
    Run:
    ant file upload -p -x ~/site
    This will upload your folder as an archive to the network.< br/> After a successful upload you will see something like At address: d9e0edfbf...
  6. To see your uploads, run:
    ant file list
    And you will see your archive address like this:
    Retrieving local user data...
    ✅ You have 1 public file archive(s): mysite: 7c8662c127e82ab5dfc1056f14d9a5e9f22db325b7cf4222470a77faff9595d7

    This address that starts with something liked9e0ed... is your website's address.
  7. Access Your Site:
    Now you can access your website by entering this address in your internet browser:
    http://localhost:8080/7c8662c127e82ab5dfc1056f14d9a5e9f22db325b7cf4222470a77faff9595d7/site/index.html
    Or you can setup a proxy to localhost:8080 in e.g your Firefox browser, which will let you access the website by entering this address:
    http://7c8662c127e82ab5dfc1056f14d9a5e9f22db325b7cf4222470a77faff9595d7/site/index.html

Congratulations! Your site is now hosted on the Autonomi Network: decentralized, persistent and censorship-free.