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
-
Download the anttp Binary:
Head to the AntTP GitHub Releases and download the binary for your OS (Linux, macOS, or Windows). -
Run the anttp binary:
For Windows, open PowerShell.
For Linux/Mac, open Terminal.
usecd 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 addinghttp:// 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.
Setup AntTP to read websites on Autonomi
-
Fund your wallet:
First, you will need ANT Tokens and ETH on the Arbitrum Network.
-
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 theant client so that you can upload your website to the Autonomi network. -
Setup wallet:
You must setup your wallet in theant 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. -
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. -
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 likeAt address: d9e0edfbf... -
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. -
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
How to publish a website (advanced)
Congratulations! Your site is now hosted on the Autonomi Network: decentralized, persistent and censorship-free.