Create a Static Website with Publii
Published on
| Last edited on
This guide will explain how to create a website with Publii (a CMS, or Content Management System), on Tails (an operating system that leaves no trace of your activity on your computer), and how to publish it with the help of one of several radical hosting providers—the comrades who manage the servers on which your site will be published.
Publii is an open-source software that runs on your computer and allows building a static website. You write your content and decide how your website looks, and Publii builds the website and publishes it to the server of your choice. In technical terms, Publii is a static CMS. Because the website it builds is static, it can't include user-generated content such as comments or forum sections. In contrast to a dynamic website like one made with WordPress, a static website can only change when you update it.
Tails is an operating system that leaves no trace of your activity on your computer, and routes all your Internet activity through the Tor anonymity network. The present guide assumes that you already know how to install and use Tails—if you don't, first read our guide Tails for Anarchists.
Compared to using a dynamic CMS (such as the popular Wordpress), using Publii has two benefits for your hosting provider:
- Better security. Dynamic CMS software must run on your provider's servers, and it is known to regularly suffer from critical vulnerabilities that allow individuals (or intelligence agencies) to steal user data and sometimes take control of servers. Just in 2026, several radical hosting providers have been hacked because of vulnerabilities in CMS software (websites from the French network "Réseau Mutu" in June and Noblogs in August). In contrast, Publii runs on your computer and isn't accessible from the Internet, and the hosting provider only has to maintain a web server and a software that lets you upload your site (Publii can upload through SFTP or Git), which are typically simpler and more robust software with far fewer vulnerabilities.
- Smaller workload. Because the hosting provider doesn't have to maintain a complex CMS and worry about its potential vulnerabilities, they have less work to do and are at less risk of burn-out.
Publii also has benefits for you:
- Because it requires less work from the hosting provider, it can be easier to find one. There are more radical hosting providers that offer static website hosting than ones that offer access to a server-side CMS such as Wordpress (especially since the shutdown of radical Italian provider Autistici/Inventati in September 2026, and of their Noblogs platform).
- Because you build the website on your computer, you are fully in control of your site's data. If your hosting provider has their servers seized and disappears, you won't lose any data, which you would have lost if you were using Wordpress and therefore trusted your provider to store your data. With Publii, moving your website elsewhere just requires finding a new provider.
Although static website software like Publii is not quite as convenient as dynamic website software like Wordpress, it greatly improves the potential decentralization, agility, and resiliency of anarchist digital infrastructure. Decentralization: lowering the workload required to host websites makes it possible to sustain a greater number of radical hosting providers, helping to prevent a situation where one provider, like Noblogs, becomes too central. Agility: making it easy to move a website to a different hosting provider allows providers to disappear, move, and appear elsewhere, dodging repressive blows. Resiliency: transferring some of the burden of safekeeping website data from hosting providers to website moderators makes our websites much more resilient to takedowns, repression, and censorship—instead of targeting a few servers, they'd need to target every Tails stick!
If that sounds interesting to you, let's dive in and see how this works!
If you follow the recommendations in our guide Tails Best Practices and store your data on a separate encrypted USB rather than using Persistent Storage, first read our appendix Using a separate LUKS USB.
Download Publii
Publii is a free and open-source software that can be downloaded from its official website. However, the official version of Publii does not work well with Tails, because it isn't designed for Tails' distinctive security features.
Therefore, we recommend that you download the modified version of Publii made by AnarSec called Publii For Tails. It is almost identical to the official version, but has a few small changes to make it more compatible with Tails. The most important change is that your site data is kept in a folder named Publii For Tails inside your Persistent Storage, instead of being kept in the Home > Documents folder where it would disappear when you shut down Tails. You can see a full list of changes here.
Download Publii For Tails:
- Start Tails and unlock your Persistent Storage.
- Connect to the Internet.
- In Tor Browser, download PubliiForTails-0.48.3.AppImage, and save it to your Persistent folder.
- In the Files app, select Persistent in the left panel, right-click on
PubliiForTails-0.48.3.AppImage, select Properties and check Executable as Program.
And that's it! Proceed to the next section to learn how to launch Publii and create your site.
AnarSec plans to release a new version of Publii For Tails approximately once a year, if new useful features have been added to Publii. You may want to check our download page from time to time to see if we published a new version. Updating Publii For Tails is a manual process: download the new AppImage file and use it instead of the old one.

Create your Site
To launch Publii, open the Files app, select Persistent in the left panel and double-click on PubliiForTails-0.48.3.AppImage.
The first time you launch Publii, it will ask that you accept the terms of its open-source license. It will then prompt you to create your first website, either from scratch or by importing a Publii backup or a Wordpress backup. You can find more information on all these options in the "Creating website" section of Publii's official documentation.
If you want to create a Publii website based on a backup from the defunct blog platform Noblogs, read our appendix Migrating From Noblogs.

After creating your website, you will be presented with Publii's main interface, allowing you to create posts and pages, decide what your website will look like, and configure various settings related to your site's content. When creating a post or page you will be asked to choose your preferred editor—for most people we recommend the WYSIWYG ("What You See Is What You Get") editor, but feel free to experiment and choose the one you prefer. Various "Preview" buttons allow you to view what your website will look like once it is published. "Preview site" generates your entire website, whereas the "Preview" option in the top-left when editing a post or page is faster as it only generates the post or page being edited.

In the Site settings tab of Publii's main interface, you can change your site theme. Publii For Tails comes with three themes: "Simple", the default theme, "Technews", a more compact and square theme, and "Jump", a theme designed by AnarSec with features not found in other themes, such as the ability to add fully customizable left and right sidebars to your site. You can also download more free themes from Publii's marketplace.
In the Plugins tab of Publii's main interface, you can manage and install plugins: software components that add extra features to your site. Publii's official website offers both free and paid plugins. A particularly useful plugin is one that adds a search functionality to your site—you can download one here.
Everything should be pretty intuitive, especially if you've managed a Wordpress site before. If you have any questions, the "Content Creation" and "Options and Features" sections of Publii's documentation explain how everything works in detail.
We recommend not manually altering anything inside the Publii for Tails folder unless you really know what you are doing. This folder is not meant to be manually interacted with, and doing so can break your site.
How to have emojis display properly in Publii's interface
By default, emojis will not display properly in Publii's interface because Tails lacks a font capable of displaying emojis. If you want emojis to display properly:
- Start Tails, unlock your Persistent Storage, and set an administration password.
- Select Apps > Tails > Persistent Storage and under Advanced Settings, if Additional Software isn't already checked, check it.
- Follow the instructions for installing additional software on Tails and install the
fonts-noto-color-emojipackage. When a notification appears to ask if you want to install this package every time you start Tails in the future, select Install Every Time.
The next time you start Tails and launch Publii, it will prompt you again to create a website. Unless you want to create a new website (you can create as many as you want!) just select Cancel and select your site in the list.
Publish your Site
Firstly, you should find a hosting provider—people who will manage the servers on which your site will be published. If you have friends or comrades who could do this, ask them! Otherwise, you can take a look at this list of radical hosting providers—several of them will host your website if they feel affinity towards your project. Or you could pay a reputable commercial hosting provider that accepts the Monero cryptocurrency, such as 1984. On Tails, you can exchange Monero using Feather.
To protect your website against censorship, we highly recommend choosing a hosting provider that is able to make your website accessible through an onion address.

Publii supports many different ways of publishing your website to your provider's servers, listed in the Server tab of its main interface. However, due to Tails' security features, only three of those ways work on Tails: SFTP, Git Repository, and Manual deployment. Most providers will ask you to publish with SFTP, though some may ask you to publish with a Git repository. If your provider supports neither SFTP nor Git, you will have to resort to manual deployment. Refer to the appropriate section below depending on what your provider asks you to use.
Some hosting providers may require you to purchase a domain name to publish your website. If you need to purchase a domain name anonymously, we recommend doing so through domain name sellers that accept Monero, such as 1984, OrangeWebsite, Mynymbox, or Njalla, and paying in Monero. Alternatively, you can ask your provider to make your website exclusively available through an onion address, in which case you don't need a domain name.
Server Settings
Publish with SFTP
In Publii's main interface, select the Server tab, then select SFTP and fill in the fields:
- Website URL: The address at which your website will be accessible. If your site will only use a normal address, or both a normal address and an onion address, you should set the normal address here. If your site will only use an onion address, set the onion address. If you don't know what address your site will use, you can check Use relative URLs.
- Port: Network port used for the SFTP connection. (Your provider will tell you what to set.)
- Server: Address of the server used for the SFTP connection. This can be an onion address. (Your provider will tell you what to set.)
- Username: Username used for the SFTP connection. (Your provider will tell you what to set.)
- Remote path: Server sub-folder where you site will be published. (Your provider will tell you what to set. If in doubt, just leave it blank.)
Configure your Authentication method depending on what your provider tells you to use:
- Password: If your provider tells you to use a password. (They will tell you what to set.)
- Key file: If your provider tells you to use a SSH key. Refer to the next section to learn how to do this.
Once you've filled in all the fields, select Save settings, then Sync your website on the left, and Sync your website again. Wait for the process to finish: your website is published!
Whenever you want to update your website in the future, select Sync your website.
When you publish your website, Publii only needs to upload the changes that you’ve made since the last time you published it. However, note that if you make a change that impacts every post and page on the website (e.g. you change the header image or the menu), the next time you publish, every post and page will need to be uploaded so it will take more time than usual.
If publishing your website hangs or is very slow, your current Tor circuits might be at fault—restart Tails to change them.

Optional: Create and use a SSH key
A SSH key is a credential that can be used for SFTP connections. It's actually two keys: a private key and a public key. Both are small files that will be kept in your Persistent Storage. You should never send your private key to anyone, but you will send your public key to your provider. To create a SSH key on Tails:
- Select Apps > Tails > Persistent Storage and check SSH Client.
- Select Apps > System Tools > Console. In the console:
- Type
ssh-keygenand press Enter. - When it asks you where to save the key, press Enter.
- When it asks you for a passphrase, either type a passphrase and press Enter to set a passphrase, or just press Enter if you don't want to set a passphrase. Since your Persistent Storage is already encrypted, it's acceptable not to set a passphrase.
- When it asks you for the same passphrase again, same thing: either type the same passphrase you typed before and press Enter, or just press Enter if you don't want to set a passphrase.
- Type
Congratulations, you've created a SSH key! Your key is located in your Home folder, in the .ssh sub-folder. Your private key is named id_ed25519 and your public key is named id_ed25519.pub. Tip: If you are in your Home folder and can't see the .ssh sub-folder, press CTRL+H to make it appear.
Now:
- Send your public key,
id_ed25519.pub, to your hosting provider, for example by email. - Back in Publii, finish configuring the SFTP connection. Under Your private key select your private key,
id_ed25519. Under Key passphrase, enter your key passphrase if you've set one, otherwise leave blank.
Publish with Git Repository
In Publii's main interface, select the Server tab, then select Git Repository and fill in the fields:
- Website URL: The address at which your website will be accessible. If your site will use only a normal address, or both a normal address and an onion address, you should set the normal address here. If your site will only use an onion address, set the onion address. If you don't know what address your site will use, you can check Use relative URLs.
- Repository URL: Address of the Git repository. This can be an onion address. (Your provider will tell you what to set.)
- Branch: Name of the Git branch. (Your provider will tell you what to set.)
- Username: Username used for the Git connection. (Your provider will tell you what to set.)
- Password / Token: Password or token used for the Git connection. (Your provider will tell you what to set.)
- Commit author, Commit author email and Commit message: Enter whatever you want in these fields, taking into account that what you set will probably be visible publicly. The email doesn't have to be a real email address.
Once you've filled in all the fields, select Save settings, then Sync your website on the left, and Sync your website again. Wait for the process to finish: your website is published!
Whenever you want to update your website in the future, select Sync your website.
If publishing your website hangs or is very slow, your current Tor circuits may be at fault—restart Tails to change them.

Publish with Manual Deployment
In Publii's main interface, select the Server tab, then select Manual deployment and fill in the fields:
- Website URL: The address at which your website will be accessible. If your site will use only a normal address, or both a normal address and an onion address, you should set the normal address here. If your site will only use an onion address, set the onion address. If you don't know what address your site will use, you can check Use relative URLs.
- Output type: Format of the files output by Publii.
- Output directory: Folder where Publii will output your website files.
Once you've fill in all the fields, select Save settings, then Sync your website on the left, and Prepare website files. Wait for the process to finish, then upload the files output by Publii to your provider's servers (ask your provider how you should do this).
Whenever you want to update your website in the future, select Sync your website and upload the files again.
Maintain a Backup of Your Site Data
When you use Publii For Tails, your site data—all your posts, pages, images, settings, everything that allows Publii to build your website—is kept in a folder named Publii For Tails in your Persistent Storage. You are responsible for this data: if you lose it, your hosting provider won't be able to give it back to you! You should therefore maintain a backup of it, in case you lose your Tails key.
We recommend two possible ways to regularly backup your site data: make offline backups of your Tails key, or make online backups of your site data. Offline backups stored outside your home are important because, if you lose your Tails key (for example after a police raid), they allow you to retrieve both your site data and the passwords unlocking your online backup. But online backups are easier to do regularly, for example weekly, or even after each modification made to your site. We recommend doing both!
Make an offline backup of your Tails key
To make an offline backup of your Tails key using a backup USB key:
- Start Tails and unlock your Persistent Storage.
- Open Tails Cloner (Apps > Tails > Tails Cloner)
- Check Clone the current Tails and Clone the current Persistent Storage
- Insert your backup USB key and select it in the list.
- Select Install and wait for the process to finish.
We recommend storing your backup Tails key outside your home, so you don't lose both your main Tails key and your backup one in case of a police raid.
If you collaborate with others on the website, then each of you functionally maintains an offline (and offsite) backup for the others. It is therefore less important that you make offline backups as described in this section, though we still encourage you to make them even if they aren't regularly updated—if all of you get raided at the same time you will need an offline backup outside your homes to recover all your passwords (including passwords to your online backup).

Make an online backup of your site data
This section will explain how to make encrypted online backups of your site data using the decentralized cloud platform Nextcloud. Your site data will be encrypted locally, on Tails, before it is sent to the cloud platform, preventing the platform from reading or modifying it.
First, you need to register a Nextcloud account with a provider that offers this service. Some radical hosting providers such as Disroot and Systemli offer free Nextcloud accounts. Otherwise, some other providers offer free accounts. Because your site data will be stored encrypted, it isn't important that you trust your Nextcloud provider.
Once you have a Nextcloud account:
- Start Tails, unlock your Persistent Storage, and set an administration password.
- Select Apps > Tails > Persistent Storage and under Advanced Settings, if Additional Software isn't already checked, check it.
- Follow the instructions for installing additional software on Tails and install both the
resticandrclonepackages. When a notification appears to ask if you want to install these packages every time you start Tails in the future, select Install Every Time. - In Tor Browser, download Publii-Single-User-Sync-1.0.zip, and save it to your Persistent folder.
- Open the Files app, select Persistent in the left panel and double-click on
Publii-Single-User-Sync-1.0.zipto extract it. - Navigate to Publii-Single-User-Sync-1.0 > special and double-click on
configuration.txt.
The configuration.txt file should contain the following:
PUBLII_NEXTCLOUD_WEBDAV_SERVER=''
PUBLII_NEXTCLOUD_USERNAME=''
PUBLII_NEXTCLOUD_PASSWORD=''
PUBLII_NEXTCLOUD_FOLDER_NAME=''
PUBLII_ENCRYPTION_PASSWORD=''
PUBLII_SITE_NAME=''
PUBLII_ALIAS=''
You must fill in this text file by appending the appropriate values at the end of each line, after the = character and between the quotes:
- After
PUBLII_NEXTCLOUD_WEBDAV_SERVER=, between the quotes, add the address of your Nextcloud platform's WebDAV instance. This will usually be the address of your Nextcloud platform followed by/remote.php/dav/files/, followed by the username of your Nextcloud account. If you're not sure what address to use, ask your Nextcloud provider. - After
PUBLII_NEXTCLOUD_USERNAME=, between the quotes, add the username of your Nextcloud account. - After
PUBLII_NEXTCLOUD_PASSWORD=, between the quotes, add an app password attached to your Nextcloud account. To create an app password, in Tor Browser, log in to your Nextcloud account and, in your account settings, find the section that allows creating an app password. If you can't find it, you may be able to use your account password instead. - After
PUBLII_NEXTCLOUD_REMOTE_FOLDER_NAME=, between the quotes, add the name of the cloud folder that will contain the backup of your site data. You can choose whatever name you want. Unlike your site data, this name is not encrypted, so we recommend choosing a name unrelated to your site. - After
PUBLII_ENCRYPTION_PASSWORD=, between the quotes, add the password that will be used to encrypt your site data. This should be a strong password, different from your Nextcloud account password. - After
PUBLII_SITE_NAME=, between the quotes, add your site name. To know what your site name is, open the Files app, select Persistent in the left panel and navigate to Publii For Tails > sites. Your site name is the name of the folder that's named after your site. - You don't need to add anything after
PUBLII_ALIAS=as this is only used when you collaborate on the website with other people.
The text file should now look something like this:
PUBLII_NEXTCLOUD_WEBDAV_SERVER='https://cloud.example.com/remote.php/dav/files/user1234'
PUBLII_NEXTCLOUD_USERNAME='user1234'
PUBLII_NEXTCLOUD_PASSWORD='J4ddB-tYDPf-VrTT4-DPQVd-1t9qM'
PUBLII_NEXTCLOUD_FOLDER_NAME='cat-pictures'
PUBLII_ENCRYPTION_PASSWORD='lxrhxdhfzccielgjvdjwpdnrvcptxallzmshoxsz'
PUBLII_SITE_NAME='my-blog'
PUBLII_ALIAS=''
Save and close the text file, and you're done! Now:
- Whenever you want to make a remote backup of your site data: First, close Publii. Then, open the Files app, select Persistent in the left panel, open the
Publii-Single-User-Sync-1.0folder, right-click onUpload.sh, select Run as a Program and wait for the upload process to finish. - If you need to replace your local site data with your backup site data, for example because you lost your Tails key: First, close Publii. Then, open the Files app, select Persistent in the left panel, open the
Publii-Single-User-Sync-1.0folder, right-click onDownload.sh, select Run as a Program and wait for the download process to finish.
Troubleshooting
When I run a script, it fails and displays
context deadline exceeded (Client.Timeout exceeded while awaiting headers).
Verify you are connected to the Internet and connected to Tor, and try again.
When I run a script, it fails and displays
dial tcp: lookup [...] on [...]: no such host.
Verify that:
- In
configuration.txt, the value ofPUBLII_NEXTCLOUD_WEBDAV_SERVER, in particular the domain name, is correct. - Your Nextcloud platform is working properly (to test this, you can try to connect to your Nextcloud platform in Tor Browser with your username and password).
When I run a script, it fails and displays
unexpected HTTP response (500): 500 Internal Server Error.
Verify that:
- In
configuration.txt, the value ofPUBLII_NEXTCLOUD_WEBDAV_SERVER, in particular the part that is after the domain name, is correct. - Your Nextcloud platform is working properly (to test this, you can try to connect to your Nextcloud platform in Tor Browser with your username and password).
When I run a script, it fails and displays
401 Unauthorized.
Verify that:
- In
configuration.txt, the values ofPUBLII_NEXTCLOUD_USERNAMEandPUBLII_NEXTCLOUD_PASSWORDare correct. - Your Nextcloud platform is working properly (to test this, you can try to connect to your Nextcloud platform in Tor Browser with your username and password).
When I run a script, it fails and displays
Fatal: wrong password or no key found.
Verify that, in configuration.txt, the value of PUBLII_ENCRYPTION_PASSWORD is correct.
When I run a script, it fails and displays
unable to create lock in backend: repository is already locked by [...]andthe unlock command can be used to remove stale locks.
This can happen if a script was interrupted, for example if Tails shut down unexpectedly while downloading or uploading changes (despite "lock" being in the error message, it has no relation with the locking mechanism mentioned in our appendix "Collaborating with Others on the Same Website").
To fix this, if you are absolutely certain that no one is currently running a script: Open the Files app, select Persistent in the left panel, open the Publii-Single-User-Sync-1.0 folder (or the Publii-Multi-User-Sync-1.0 folder, it doesn't matter), then the special folder, right-click on remove-stale-lock.sh, select Run as a Program and wait for the process to finish.
I've made a mistake when editing the site! I want to go back to a previous version.
The last 20 backups are automatically kept, allowing you to revert to any of them. To do so:
- Open the Files app, select Persistent in the left panel, open the
Publii-Single-User-Sync-1.0folder (or thePublii-Multi-User-Sync-1.0folder, it doesn't matter), then thespecialfolder, right-click onrestore-backup.shand select Run as a Program. - We recommend maximizing the window that opens to better see the list of backups.
- You will see the list of all available backups, from oldest to newest. The columns you're interested in are
IDandTime. Decide which backup you want to revert to based on theTimewhen it was made, type itsIDin the console window, press Enter, and wait for the process to finish.
When I run a script, it fails and displays
Fatal: repository contains errors.
Your backup is corrupted. This can happen if your Nextcloud provider's hardware disks are damaged, or if you or your Nextcloud provider accidentally deleted backup files from your Nextcloud storage. To fix this, we recommend asking a friend with computer and Linux skills to investigate the situation and fix the issue. A few leads they can start with:
- In the Persistent Storage, in either the
Publii-Single-User-Sync-1.0orPublii-Multi-User-Sync-1.0folders,special/restic-rclone.shcan be used to setup everything needed to access the restic repository. For example, you can source it withsource restic-rclone.shand then check the repository integrity withrestic check --read-data -o rclone.args="$RESTIC_RCLONE_PARAMETERS". - The restic documentation explains how to repair a damaged repository, though if there is significant corruption, repairing might not be possible.
- If for some reason both your online backup and your local data are corrupted, worry not: a local backup of the site data is automatically made before each upload, located at
~/Persistent/Publii For Tails/sites/<site name>/input-after-your-last-upload. (If multiple people collaborate on the site, note that whoever uploaded last will have the most up-to-date local backup.)
Operational Security for Site Moderators
If you manage a website that could be targeted by State repression, we recommend you to think about your threat model and consider adopting the following operational security practices:
- Apply compartmentalization to your digital life. Always manage your site on Tails, ideally using a dedicated Tails key. If your site has a contact email address, use a dedicated email address.
- Use a strong passphrase for your Persistent Storage.
- If you use a PGP key, use a strong passphrase for it as well.
- If your site accepts anonymous external contributions, be very careful when opening links and files sent to you by people you don't know. Before opening links, set Tor Browser to the "Safest" security level. Before opening files, convert them with Dangerzone.
- If you have to purchase anything related to your site, such as a domain name, do so with the Monero cryptocurrency.
- Depending on your threat model, consider managing your site using a dedicated computer that you purchased anonymously and that you store in a tamper-evident way.
- Read our guide Tails Best Practices to learn additional precautions for using Tails.
Rotating Credentials
In the scenario that a Tails stick of a site moderator is ever seized in a police raid, you'll want to change the project credentials in order to protect against the unlikely possibility that the police will be able to bypass the Persistent Storage encryption of the Tails stick. In particular:
- If you publish your site with SFTP with an SSH key, generate a new SSH key and ask your hosting provider to change to your new SSH public key. If you publish with SFTP with a password, ask your hosting provider to change the password.
- If you maintain an online backup of your site data, log into your Nextcloud account with Tor Browser, and then delete your Nextcloud account. This will delete your online backup. Then, create a fresh online backup with a new Nextcloud account and encryption password.
- If you stored passwords to email accounts in the stick's Persistent Storage, change those passwords.
- If you stored a PGP key in the stick's Persistent Storage and the PGP password was also stored on the stick, you should create a new key, certify it with the old key, then revoke the old key. However, take into account that if you were to do this immediately after a raid, the timing of this could be used as evidence that those who were raided are involved with the website.
Appendix: Trusting Publii For Tails
Publii is developed by a small Polish software company called TidyCustoms. Publii For Tails is a fork (a modified version) of Publii that AnarSec maintains. Both are open-source, meaning that their source code is publicly available and can be audited.
There are two ways a malicious backdoor could be inserted in Publii For Tails:
- Insert the backdoor in its source code, or in the source code of one of the pieces of software it depends on. To defend against this, the only solution is to have its source code audited by a software developer or security researcher. We encourage you to do this, if you have the required skills or know someone who does. Publii has many users, so there are already some sets of eyes on the source code.
- Insert the backdoor while building the AppImage file. To defend against this, the Publii For Tails AppImage file is built by AnarSec, instead of relying on official files. Additionally, if you are comfortable with Linux, you can build the AppImage file yourself using instructions provided by AnarSec.
Moreover, unlike Publii, Publii For Tails is available as a flatpak. When ran as a flatpak it runs in a sandbox environment, making it more difficult for a potential backdoor to spy on you. For now, we do not recommend using the flatpak version of Publii For Tails because, since Tails does not allow persisting flatpak apps in Persistent Storage, using the flatpak version requires reinstalling it each time. Once Tails supports persisting flatpak apps, which is planned for 2027, we will update this guide to recommend using the flatpak version.
Appendix: Collaborating with Others on the Same Website
Your site data is stored locally on your Tails key, so to collaborate with others on the same website, you will need a way to synchronize the site data between everyone. This section will explain how to achieve this using an account on the decentralized cloud platform Nextcloud, shared by everyone who collaborates on the site.
It's possible for someone to first work on a website alone for some time, and be joined by other people later—collaboration doesn't have to happen from the start.
Case 1: You created the website and want to start collaborating with other people
If you created the website, to start collaborating with other people you should:
- Setup an online backup of the site data, and make sure you've run the
Upload.shscript at least once. - In Tor Browser, download Publii-Multi-User-Sync-1.0.zip, and save it to your Persistent folder.
- Open the Files app, select Persistent in the left panel and double-click on
Publii-Multi-User-Sync-1.0.zipto extract it. - Navigate to Publii-Multi-User-Sync-1.0 > special and double-click on
configuration.txt. - Erase the contents of
configuration.txtand, instead, copy-paste the exact contents of the otherconfiguration.txtfile, that you filled in when setting up an online backup of your site data. - In
configuration.txt, afterPUBLII_ALIAS=, between the quotes, add your alias. This alias will not be encrypted. The goal of this alias is explained below. - Save and close
configuration.txt. - From now on, you should no longer use the scripts in the
Publii-Single-User-Sync-1.0folder. Moving forward, you should use the scripts in thePublii-Multi-User-Sync-1.0folder. Find more information on that below.
Case 2: You want to start collaborating with the person who created the website
To start collaborating with the person who created the website, once they have followed the steps described in "Case 1" above, you should:
-
Start Tails, unlock your Persistent Storage, and set an administration password.
-
Select Apps > Tails > Persistent Storage and under Advanced Settings, if Additional Software isn't already checked, check it.
-
Follow the instructions for installing additional software on Tails and install both the
resticandrclonepackages. When a notification appears to ask if you want to install these packages every time you start Tails in the future, select Install Every Time. -
Download Publii For Tails, launch it and immediately close it.
-
In Tor Browser, download Publii-Multi-User-Sync-1.0.zip, and save it to your Persistent folder.
-
Open the Files app, select Persistent in the left panel and double-click on
Publii-Multi-User-Sync-1.0.zipto extract it. -
Navigate to Publii-Multi-User-Sync-1.0 > special and double-click on
configuration.txt. -
Have the person who created the website securely send you:
- The contents of their
configuration.txtfile. - Credentials they use to publish the website, which should be either a password or a public and private SSH key.
- Publii plugins that they have installed and use for the website.
- Any other credentials you might need to manage the website: a password to an email account, a PGP key, etc.
- The contents of their
-
Erase the contents of your
configuration.txtand copy-paste exactly the contents you have been sent by the person who created the website. -
In
configuration.txt, afterPUBLII_ALIAS=, between the quotes, replace the alias of the person who created the website with your own alias. This alias will not be encrypted. The goal of this alias is explained below. -
Save and close
configuration.txt. -
If the person who created the website has installed any plugins that they use for the website, you will need to install them too!
-
If you publish your website with SFTP and use a SSH key, select Apps > Tails > Persistent Storage and check SSH Client. You will need to place the SSH key in the same location as the person who created the website: go to your Home folder, then the
.sshsub-folder. Tip: If you are in your Home folder and can't see the .ssh sub-folder, press CTRL+H to make it appear. -
After you read what's below, make sure to read the rest of the main guide, starting with the "Create your Site" section. When you launch Publii it will prompt you to create a website: just select Cancel and select your site in the list. In the "Publish your Site" section, you should keep the server settings unchanged from those entered by the person who created the website.
-
You are now ready to use the scripts in the
Publii-Multi-User-Sync-1.0folder. Find more information on that below.
When you collaborate with others on the same website, only one person must have the site open in Publii at any given time. Violating this rule can result in one person erasing another person's work. Thankfully, synchronization scripts written by AnarSec make it easy to avoid this by providing an automatic "locking" mechanism that allows you to know if someone else is currently editing the site.
When you collaborate with others on the same website, you should use the following two scripts located in Persistent > Publii-Multi-User-Sync-1.0:
1-Before-Launching-Publii.sh: You must use this script before launching Publii. It locks the site so other people don't start editing it, and downloads any changes made by other people to your local version of the site data.2-After-Closing-Publii.sh: You must use this script when you're done using Publii. It uploads your local version of the site data, and unlocks the site so other people can start editing it.
Each person has an alias set in their configuration.txt file. If you try to lock the site but cannot do so because it is already locked, the alias of the person who last locked the site is displayed. If you suspect that the person is not actually editing the site but simply forgot to unlock it, this makes it easier for you to contact them and ask them to unlock the site. This is the only purpose of aliases.
Use the scripts in the following way:
-
When you want to start editing the site, before launching Publii: Open the Files app, select Persistent in the left panel, open the
Publii-Multi-User-Sync-1.0folder, right-click on1-Before-Launching-Publii.shand select Run as a Program. Then:- If someone else is already editing the site, you will see
CANNOT LOCK!You must wait for them to unlock the site after they're done editing it. - If no one is currently editing the site, you will see
YOU CAN LAUNCH PUBLII AND START EDITING. REMEMBER TO UNLOCK WHEN YOU'RE DONE!You can launch Publii and edit the site.
- If someone else is already editing the site, you will see
-
When you are done editing the site, after closing Publii: Open the Files app, select Persistent in the left panel, open the
Publii-Multi-User-Sync-1.0folder, right-click on2-After-Closing-Publii.sh, select Run as a Program, and wait until you seeSUCCESSFUL UNLOCK!Other people can now edit the site.
We recommend moving PubliiForTails-0.48.3.AppImage to Persistent > Publii-Multi-User-Sync-1.0 so you don't forget to run the scripts before and after using Publii.
For troubleshooting, see the troubleshooting section at the end of "Make an online backup of your site data".
Appendix: Making your Website Accessible through an Onion Address
Onion addresses are web addresses made of 56 characters and ending with .onion. They can replace traditional domain names but can only be accessed using Tor Browser. For example, the onion address for anarsec.guide is:
uwb25d43nnzerbozmtviwn7unn7ku226tpsjyhy5n4st5cf3d4mtflqd.onion
The Black Onions project lists anarchist and anti-authoritarian onion websites.
Onion addresses are a great tool to resist State censorship and make our movements' digital infrastructure more resilient to repression. From the FAQ of Black Onions:
Authorities have roughly two ways to censor a website: they can block or seize the domain name, or they can seize the server. Onion websites do not use domain names, so there are no domain names to block or seize. As for seizing the server, the whole point of onion websites is to prevent this: they allow anonymizing the location of a website's server, equivalent to how Tor Browser anonymizes your location when you visit the website.
If your website's intended readership is the anarchist movement, we recommend asking your hosting provider to make your website accessible through an onion address and to avoid using a traditional domain name at all. An onion address only anonymizes the location of a website's server if no traditional domain name is also pointing at the server. Only having an onion address also benefits website visitors: repression has fewer ways to target visitors if they all use Tor Browser. An onion address obviously isn't very useful in printed materials like zines, but, if your site is listed on Black Onions, its Black Onions link can be used instead (for example, blackonions.gd/#anarsec).
If your website's intended readership is beyond the movement, it remains necessary to also have a traditional domain name because we can't expect non-anarchists to know how to use Tor Browser. For these websites (if they face a risk of censorship), we recommend that after you have an onion website you ask a different hosting provider for a "reverse proxy"—this will make your onion website accessible from a traditional domain name while keeping the location of its server hidden. If both the onion address and domain name were to use the same server or hosting provider, this would undermine the main benefit of having an onion address.
Publii works the same whether your website is available through a traditional domain name, an onion address, or both.
Appendix: Adding a Submission Form
The only feature that Noblogs supported which Publii For Tails doesn't support directly is a submission form. If your website needs one, we recommend asking a radical hosting provider for an OnionShare form. You can then simply include the unique onion address of the form on your contact page, or you can even embed the form on the page.
Appendix: Using a separate LUKS USB
If you follow the recommendations in our guide Tails Best Practices and store your data on a separate encrypted USB rather than using Persistent Storage, you can follow this guide but there will be a few differences, detailed below.
Download Publii: Save PubliiForTails-0.48.3.AppImage to your separate USB rather than to Persistent Storage.
Create your Site: Before launching Publii For Tails (each time you reboot Tails and want to launch Publii, you will need to do this again):
- Open the Files app, navigate to your separate USB, right-click in the app background and select Open in Console.
- Enter the command:
mkdir -p "Publii For Tails" && mkdir -p "$HOME/Persistent" && ln -s "$PWD/Publii For Tails" "$HOME/Persistent/Publii For Tails" && mkdir -p "$HOME/.ssh" && ln -s ssh/id_ed25519 "$HOME/ssh/id_ed25519" - Your site data will be kept in a folder named
Publii For Tailsinside your separate USB.
Publish your Site > Server Settings > Optional: Create and use a SSH key:
- Skip the bullet point instructing to open Apps > Tails > Persistent Storage.
- After creating the SSH key, copy both the public and private key to the separate USB, placing them in a new folder called
ssh.
Maintain a Backup of Your Site Data > Make an offline backup of your Tails key: Instead of making a backup of your Tails key, manually copy the Publii For Tails folder to a backup encrypted USB.
Maintain a Backup of Your Site Data > Make an online backup of your site data:
- You will need to install the
resticandrclonepackages each time you want to backup your site data. - Save
Publii-Single-User-Sync-1.0.zipto your separate USB rather than to Persistent Storage.
Appendix: Collaborating with Others on the Same Website:
- Save
Publii-Multi-User-Sync-1.0.zipto your separate USB rather than to Persistent Storage.
Appendix: Making a Multilingual Site
Unfortunately Publii does not support having different versions of your site for different languages.
However, there is still a partial solution. To translate posts to other languages and list them on dedicated pages, we recommend creating a Tag for each language. For example, if your site is primarily written in English and you want to translate a post to German:
- In Publii's main interface, select the Tags tab. Select + Add new tag, under Name write
Deutsch, then select Add new tag. - Then, in Publii's main interface, select the Posts tab. Create or open the German post and select the gear icon in the top-right. Check Exclude from homepage if you only want to list English posts on your site's homepage. Then under Tags add the
Deutschtag. - The German post and all future posts with the
Deutschtag are now listed on a dedicated page: if your domain name wasexample.org, the dedicated page would be atexample.org/tags/deutsch. You can link to this page from anywhere on your site, for example from the menu.
Appendix: Migrating From Noblogs
Noblogs was a blog platform managed by radical Italian hosting provider Autistici/Inventati, that shut down in September 2026 after Autistici/Inventati was placed on a terrorism sanctions list by the U.S. government. Noblogs used the Wordpress software and hosted more than 22,000 blogs.
If you had a blog on Noblogs and you would like to transform it into a Publii website, and you were able to download a backup of your blog while Noblogs hadn't shut down yet, this appendix is here for you! If you were not able to download a backup, this appendix cannot help you.
Publii is capable of importing a Wordpress backup. However, while it imports the text of your posts and pages from the backup you provide it, it normally imports media files (images, PDF files...) by downloading them from their original location on the web. In the case of a Noblogs backup this cannot work: because Noblogs has shut down, Publii cannot download media files from it.
For this reason, we created a small program (a Python script) to guide you in creating a website with Publii based on a Noblogs backup: the program will automatically copy media files from your backup to your Publii site data. To run this program:
- Start Tails, unlock your Persistent Storage, and set an administration password.
- Download and install Publii.
- Follow the instructions for installing additional software on Tails and install the
python3-bs4package. - Download the file noblogs-to-publii-1.0.py and save it anywhere.
- Open the Files app and navigate to the folder containing the file you downloaded.
- Right-click in the app background and select Open in Console.
- In the console, type
python3 noblogs-to-publii-1.0.pyand press Enter. - Follow the program's instructions.

Categories:
Defensive