As a platform, Hubzilla holds a tremendous amount of versatility and depth in what it can do. Mike Macgirvin, the platform’s creator, has famously quipped that the system does not have a commercial analogue to draw comparisons to — it’s not just a social network, it’s not just a forum, it’s not just a cloud storage solution, and it’s not just a content management system.
According to the definition on the project website:
Hubzilla is a powerful platform for creating interconnected websites featuring a decentralized identity, communications, and permissions framework built using common webserver technology.
So what does that mean, and who is this for? Let’s dive in to the latest release, and walk through this system one step at a time. There’s a lot of different features and aspects to this platform, which is partially why it’s so difficult to apply one standard label to it.
- Installation — use the LAMP stack, or don’t
- Channels and You — What is a channel, and what can you use it for?
- Privacy Architecture — Decentralized Access, Nomadic Identity, Channel Cloning
- Setting Up a Channel — configuring a profile and settings,finding people, formatting and curating content
- Features — Events, Calendar, Cloud Storage, Wiki, Chatrooms
- Plugins — Games, Additional Federation Protocols, Cross-Posting, Other Things
- Building With Hubzilla — How to write a theme, working with the Commanche Templating System, Writing Widgets, Publishing Web Pages
- Community — assessment and resources
- Verdict — The Good, the Bad, the Ugly, and who Hubzilla is intended for
By default, Hubzilla runs on the LAMP stack — that’s Linux, Apache, PHP, and MySQL. If you have any experience with setting up WordPress, Drupal, or a phpBB installation, you’ll feel right at home here. The project provides no-frills instructions on how to get a standard Debian-based installation up and running.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (1) The Do-Everything System: An in-depth review of Hubzilla 3.0. (1)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-ep6aPhNLEbqf-82qRecVpw.webp?resize=708%2C524&ssl=1)
If you’re feeling adventurous, it is possible to go off of the beaten path and substitute components — for example, you can set up an installation that sits on top of FreeBSD + Nginx + Postgres, and you may see significant performance gains in doing so. The caveat is that it’s up to the sysadmin to determine how best to configure those components.
Most of this setup and configuration were extremely straightforward. The only tricky part I experienced here was in setting up a mail tool to send out service emails for my hub. Ultimately, I settled on postfix after asking for advice.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (2) The Do-Everything System: An in-depth review of Hubzilla 3.0. (2)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-JVVmXzHX7d0ePNo5YbepGA.webp?resize=708%2C536&ssl=1)
Conceptually speaking, any channel can be one of those four things. Any channel can cross-interact with any other kind of channel. It’s even possible to set up a channel to act as a feed bot, pulling in statuses and interactions from multiple sources upstream.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (3) The Do-Everything System: An in-depth review of Hubzilla 3.0. (3)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-Gc3fdp9bGycIaIit2kJKOQ.webp?resize=708%2C522&ssl=1)
Forum Channels
Forum channels are particularly noteworthy because they are analogous to Facebook Groups.Hubzillausesthebang syntax, a tried and true convention used by GNU Social and its predecessor StatusNet.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (4) The Do-Everything System: An in-depth review of Hubzilla 3.0. (4)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-r7kManZ8HWiDj20YA6rUiA.webp?resize=708%2C363&ssl=1)
That’sallyouhavetodo, and in turn everyone that’s subscribed to the forum channel will get your post. From there, they’ll be able to send their interactions back to the relay for participants to retain each other’s responses.
This model is well-suited to ad-hoc group communication, and as a result the community around Hubzilla uses them effectively. Some channels focus on playing chess, others talk about TV series, and some focus exclusively on the project itself.
The Stream
Hubzilla’s network stream is comparable to what you’d expect with Facebook or Diaspora. It shows all of the content coming in from your channel’s connections, and includes status updates, photos, comments, and reshares. Because the platform is not a microblogging network, statuses are threaded together with comments.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (5) The Do-Everything System: An in-depth review of Hubzilla 3.0. (5)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-tpm36eLVto9dkBmtB02HAA.webp?resize=708%2C415&ssl=1)
As a bonus, certain widgets can extend the functionality of how your stream is used. For example, you can filter statuses by Privacy Groups (comparable to Diaspora’s Aspects) or you could filter by hashtags or dates, or by contact affinity. One of the most useful widgets I use also connects me directly to forum channels, so that I can easily interact with them without leaving my stream.
Incidentally, it’s possible to write entirely custom widgets, but we’ll get into that later.
From the ground up, the platform is built around user privacy. The core design philosophy revolves around giving users a permission system so that they can define who should receive something, and who should see it.
This is no small undertaking — every feature and every function ties into two things: permissions, and decentralized access. Hubzilla is capable of defining who is eligible to receive a piece of data, and who is allowed to access a resource that lives in a particular space online.
Decentralized Access
The decentralized access component of Hubzilla is called OpenWebAuth, and it’s something that no other federated web platform currently offers.
Most traditional systems rely on privately sending everything between mutually connected servers — status updates, images, files, videos, and likes are all pushed back and forth through a relay system. This can cause significant scaling issues, and as a side effect, most federated systems are constrained to send only a few types of activity objects to each other.
Hubzilla, by contrast, only sends status updates, interactions (editing a post, updating your profile), likes, and messages. Everything else lives natively on the host server, and if someone wants to access something from you, they’ll have to visit you.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (6) The Do-Everything System: An in-depth review of Hubzilla 3.0. (6)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-HRZbfAkPIaiiSa_O9mZ7ig.webp?resize=258%2C83&ssl=1)
The beauty of this is that Hubzilla is designed to recognize who is visiting, and grant permissions as necessary. Hubs are contextually aware of who is accessing a resource, be it a page, a comment form, a wiki, or anything else the system can provide.
This experience is seamless, and can make two connected spaces on the web act as if they were one. All of the system’s features are built around this concept, meaning that you can play chess, edit a wiki, comment on someone’s photo, access a file, or message a group through someone else’s website.
Nomadic Identity
Hubzilla’s core is built on a concept called Nomadic Identity, and it’s something that greatly differentiates Hubzilla from other federated platforms.
The idea is relatively simple: your channel does not have to be tied to a specific domain or a particular hub. Instead, it is entirely possible to migrate your posts, files, and contacts to another server, and you can connect multiple channels together to act as a relay system for every post you make.
Channel Cloning
Cloning a channel is a relatively straightforward process: export your channel and profile data, and provide it for upload when registering an account on a different server. You can decide at any time which of your cloned channels will serve as a primary, and which will serve as a secondary relay.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (7) The Do-Everything System: An in-depth review of Hubzilla 3.0. (7)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-_kydK5-G9oTdbdUQj2Zhw.webp?resize=668%2C284&ssl=1)
It’s worth noting that when you post from one channel, your connected clones will relay that post on whatever hubs they’re on, and vice versa. This actually makes the platform relatively censorship-resistant, as a channel could theoretically have many clones across the federated web.
Registration Process
The initial registration process can seem intimidating at first to newcomers. Upon registering, users are prompted to create their channel, set permissions, then edit their profile details and start uploading pictures. Profiles feature an extensive set of fields, most of which are optional and can be updated at a later time.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (8) The Do-Everything System: An in-depth review of Hubzilla 3.0. (8)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-tJOxH0nCnpTVgJUdcku2KA.webp?resize=708%2C442&ssl=1)
One interesting side feature of profiles is that it’s able to create “things” and append them to your profile. What exactly is a thing? It’s essentially a small object containing a few metadata fields that lives in your profile section.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (9) The Do-Everything System: An in-depth review of Hubzilla 3.0. (9)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-hfCzfBVkCs9JhtSdzvOKrA.webp?resize=708%2C293&ssl=1)
You can append things with verbs such as “has”, “wants”, “likes”, or “dislikes”, and you can use that to build small lists on your profile organized by those verbs.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (10) The Do-Everything System: An in-depth review of Hubzilla 3.0. (10)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-E1rCDpb5Cpg2Y97E9b5J6Q.webp?resize=708%2C450&ssl=1)
Overall, it feels a little gimmicky, but at the same time it serves as a nice stand-in for the lists you might expect on a Facebook profile. It also allows your other Hubzilla contacts to like those objects as well, without relying on a service-wide like graph.
One of the first thing you’re going to want to do when using Hubzilla is find some channels to connect with. By default, Hubzilla connects to a directory system of known channels who have opted in from all across the network. It’s possible to use the directory to find active channels based on interests as well as locations.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (11) The Do-Everything System: An in-depth review of Hubzilla 3.0. (11)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-gzogmcDDuHqZ8CY2q25_oA.webp?resize=708%2C294&ssl=1)
Some channels in the directory are inactive or abandoned, but many of them are active within Hubzilla’s small, tightly-knit community. Additionally, the directory can show you all channels present on your own hub, which can be handy for people who want to use the platform to build a community of their own.
Formatting Content
Out of the box, Hubzilla uses bbcode for formatting text. For anyone that has extensive experience in using PHP message boards (vBulletin, phpBB, and SMF come to mind), the syntax and conventions will be all-too-familiar.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (12) The Do-Everything System: An in-depth review of Hubzilla 3.0. (12)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-Dt2n1vwb0g1njsVV4jTKkg.webp?resize=708%2C294&ssl=1)
Posts in Hubzilla give the impression of being somewhere between a status update, a forum post, and a blog entry. In truth, you can easily use it for either purpose, and all posts can include HTML content, media, and attachments. Upon toggling certain features, posts can also include voting tools for proposals, and can even accept sticker responses.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (13) The Do-Everything System: An in-depth review of Hubzilla 3.0. (13)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-WYeYyLaDVIds9dCSB8rTfQ.webp?resize=708%2C584&ssl=1)
If writing all of your posts in BB markup isn’t in line with your tastes (hello, 2004!), don’t worry! It is also possible to switch to using Markdown by default, which ultimately requires you to type fewer characters.
Tagged Content
This platform leverages two methods for tagging: traditional hashtags, as well as category tags. The main difference is that hashtags are used to find all related posts that a hub knows about, whereas category tags are more useful for providing a topical filter on your channel’s landing page.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (14) The Do-Everything System: An in-depth review of Hubzilla 3.0. (14)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-v6qj_BJqG5N1rq1GZuoS5g.webp?resize=708%2C799&ssl=1)
If you end up using post tags, they’ll be displayed on your channel as a filter for similar tagged content. This is a fairly standard expectation of blogging platforms, but it’s a million times more organized than what Facebook’s timeline can offer. As a bonus, you can use these to filter subscription feeds — for example, if you’re part of Planet Gnome and only want to syndicate your Gnome-related posts over there, you can do that.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (15) The Do-Everything System: An in-depth review of Hubzilla 3.0. (15)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-MPBeFSK_fJ3z3SUY98T8Ag.webp?resize=286%2C362&ssl=1)
Moderation
In some circ*mstances, you’ll receive comments from people that you aren’t connected to. Sometimes it’s a person who just wanted to offer their thoughts on your post. Other times, it’s a spam bot. Hubzilla makes it easy to moderate comments coming from people you don’t know, giving you the opportunity to decide what to keep and what to discard.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (16) The Do-Everything System: An in-depth review of Hubzilla 3.0. (16)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-HO9enmc-CsKJAp30WPr-GA.webp?resize=708%2C277&ssl=1)
Events
The platform ships with an events system, and overall it’s comparable to MeetUp or Facebook Events.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (17) The Do-Everything System: An in-depth review of Hubzilla 3.0. (17)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-if0Zvdn2B-T9qGHBwOR0Cg.webp?resize=708%2C690&ssl=1)
Creating an event will place a marker for it on your channel’s calendar, making it easy to keep tabs of what’s going on at a monthly, weekly, and daily view. Clicking any event will bring up a lightbox with a direct link to an event’s post.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (18) The Do-Everything System: An in-depth review of Hubzilla 3.0. (18)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-GDyb27ar_lijW9yl01ZKRw.webp?resize=708%2C570&ssl=1)
One added benefit of calendar events is that they get inserted into your channel’s stream upon creation. People who can see your event can decide on their attendance, in turn adding your event to their own calendars.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (19) The Do-Everything System: An in-depth review of Hubzilla 3.0. (19)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-hZLPq81Uhl75ayq1c4CYoQ.webp?resize=708%2C325&ssl=1)
Photo Albums
At first glance, the photo album functionality is quite similar to what you’d expect from Facebook, DeviantArt, or even Flickr. Photos can be sorted into individual albums, given captions, and allows users to tag each other in pictures.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (20) The Do-Everything System: An in-depth review of Hubzilla 3.0. (20)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-YgiblEqZxb0QBgjkViSdeg.webp?resize=708%2C522&ssl=1)
If a photo contains EXIF data, Hubzilla will allow a user to show where the photo was taken using OpenStreetMap tiles. Individual albums can also be embedded into different widgets on your site, making it easy to build out an artwork showcase or a wedding gallery.
One nice bonus here is that any photos that you upload to your channel will instantly be put into cloud storage, making it very easy to retrieve entire albums from a file manager.
Cloud
One of the things that really sets Hubzilla apart from other communication platforms is its inclusion of permissions-based cloud file storage. When enabled, the system provides a DAV share that can be accessed either by way of browser, or through your local file manager.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (21) The Do-Everything System: An in-depth review of Hubzilla 3.0. (21)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-B5d10gpG4lRwmUIUF_JRuA.webp?resize=708%2C555&ssl=1)
As far as behavior is concerned, the use case is not unlike using Dropbox or Nextcloud. One interesting feature is that all of your photo albums are stored here as well, so it’s easy to always retrieve your pictures when needed.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (22) The Do-Everything System: An in-depth review of Hubzilla 3.0. (22)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-pAvTeggumQCoO-2iiH7flg.webp?resize=708%2C633&ssl=1)
It takes a little bit of getting used to, but overall this core feature ranks as one of the more powerful and intuitive parts of the the platform. This feature can effectively replace iCloud, Google Drive, or DropBox with a decentralized solution.
Calendar Sync
Another neat aspect of Hubzilla’s cloud sharing capabilities is the ability to sync calendars and addressbooks across various different clients. This effectively allows Hubzilla to act as a drop-in replacement for iCloud’s Calendar system.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (23) The Do-Everything System: An in-depth review of Hubzilla 3.0. (23)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-FM1OwrreM_3x9j2Y6-fNEw.webp?resize=708%2C393&ssl=1)
In my testing, I was able to connect and sync calendar events between Android, GNU/Linux, and Hubzilla’s native web interface. There’s a great community guide that demonstrates how to treat CalDAV as a native resource in Android.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (24) The Do-Everything System: An in-depth review of Hubzilla 3.0. (24)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-EopD64AKsBcyqWHU9jxEnA.webp?resize=420%2C159&ssl=1)
Unfortunately, I had difficulties with getting it to work for the native Calendar app on macOS, but I have no doubt that this may work in the near future — the main issue resided with how Apple’s Calendar app leverages DAV integrations. This is an area of Hubzilla that is a little bit under-documented, as the core audience at this moment is predominantly GNU/Linux users.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (25) The Do-Everything System: An in-depth review of Hubzilla 3.0. (25)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-7hjPZtg9PchWxHiDQWWrlA.webp?resize=708%2C424&ssl=1)
One other neat thing is that you can import iCal feeds from other websites. This makes it possible to track events from your favorite venues or groups, and each calendar is also provided for any devices that the calendar is being synced with.
The only real downside is that the Events calendar and your personal calendar are two different systems that don’t touch each other, and some of the functionality does not overlap between these two places. At some point in the future, it is hoped that these two things will be bridged together.
Wiki
Another great feature that integrates directly into channels is Hubzilla’s wiki system. Users can create an indefinite amount of wikis for a given channel, and create markdown-formatted pages for each wiki.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (26) The Do-Everything System: An in-depth review of Hubzilla 3.0. (26)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-luUNmm7DjDFmNY6ymUYL4Q.webp?resize=708%2C462&ssl=1)
Creating wiki pages and formatting content is fairly straightforward, and provides the basic set of features for what you’d expect from a wiki system. Pages can link together, images can be embedded from your photo albums, and changes can have a revision message included for posterity.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (27) The Do-Everything System: An in-depth review of Hubzilla 3.0. (27)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-qLhQS9FTGhDqd7DFQrgLLA.webp?resize=708%2C515&ssl=1)
It’s also possible to compare changes between revisions and revert to earlier versions of a page, which could be useful in situations where multiple people are editing the same wiki.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (28) The Do-Everything System: An in-depth review of Hubzilla 3.0. (28)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-E6AkQ3fHLEmI5No5tZTvg.webp?resize=708%2C234&ssl=1)
Chatrooms
The platform ships with a chatroom that people can visit in-browser. Because Hubzilla automatically knows who the visitor is, identity is automatically assigned and permissions are handed out.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (29) The Do-Everything System: An in-depth review of Hubzilla 3.0. (29)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-dF4-BW0QFitZVI3C3xuKPw.webp?resize=708%2C390&ssl=1)
The chatroom is relatively simple, and feels like a mashup of Facebook Messenger and IRC, and every interaction happens in real-time. The use-case is not completely obvious in 2018, given the plethora of dedicated messaging apps out there, but it’s still a welcome addition to the platform.
Like WordPress or Drupal, Hubzilla also offers an extensive plugin system that allows site admins and users to greatly increase the platform’s functionality. Some of these plugins are purely cosmetic, such as the ability to set a default landing page for logged in users, while other plugins dramatically extend what the system is capable of doing.
Hubzilla Chess
Although the plugin largely exists as a proof-of-concept, it is entirely possible to play a game with other Hubzilla contacts. It works as advertised, and movements are recorded by federating comments back and forth with the FEN notation format. As a side effect, it’s possible to rewind through the entire game history and watch the breakdown of moves.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (30) The Do-Everything System: An in-depth review of Hubzilla 3.0. (30)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-zrXMcCqzTdHG7dc8WykBrA.webp?resize=708%2C626&ssl=1)
Cross-Platform Federation
Some of the more interesting plugins actually pertain to Hubzilla’s ability to federate. Out of the box, Hubzilla only federates to other instances of itself using the Zot protocol. However, the plugin architecture allows users to federate to Diaspora (and by extension, Friendica), Mastodon, GNU Social, and anything else that manages to speak either OStatus or ActivityPub.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (31) The Do-Everything System: An in-depth review of Hubzilla 3.0. (31)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-3_HUgy-KN72NsvGRziMN1A.webp?resize=708%2C207&ssl=1)
Unfortunately, not all participants in the conversation will be able to see all of the comments. People on Diaspora can’t see Mastodon comments, and vice versa. This could theoretically be solved if every actor supported one common protocol between them, but we’re still a far way off from that.
Cross-Posting
For networks that don’t support direct federation, Hubzilla can act as a client app and send over a copy of a post to networks such as Libertree, Pump.io, Twitter, WordPress, Dreamwidth, Livejournal, InsaneJournal, and hypothetically any other network that someone writes a plugin for.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (32) The Do-Everything System: An in-depth review of Hubzilla 3.0. (32)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-M8vKGQBCiMVsrhnmUwFpYw.webp?resize=594%2C415&ssl=1)
As one of the more active theme developers on the Hubzilla platform, I feel comfortable with developing themes for it. There are several layers to this system that are noteworthy, and as someone who has developed many themes for the platform over the years, I feel that I can provide some special insight here.
Creating a New Theme
By default, the platform ships with a Bootstrap-derived base theme called redbasic. It’s a relatively no-frills theme that provides many views and templates for the core Hubzilla experience.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (33) The Do-Everything System: An in-depth review of Hubzilla 3.0. (33)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-CvnZFXWXcY-Az0bwhyFAmg.webp?resize=708%2C500&ssl=1)
Because of the platform’s high dependency on this theme, it is generally recommended to write a “derived theme”, which overrides defaults based on what is present in your theme folder (CSS, JS, templates, views, etc). When I started getting into Hubzilla theme development, I used this guide to build my first derived theme.
The Layout System
Hubzilla ships with its own templating framework, called Comanche. The project describes it as such:
Comanche is a markup language similar to bbcode with which to create elaborate and complex web pages by assembling them from a series of components — some of which are pre-built and others which can be defined on the fly. Comanche uses a Page Decription Language to create these pages.
Here’s a quick demonstration of how I’m using it on the Network page in my theme. It lives in $themename/pdl/mod_network.pdl, and overrides the defaults provided by the base theme that it’s extending. Keep in mind, this only affects the layout of the Network page. Other views will need to be modified by their own respective mod_{view}.pdl file
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (34) The Do-Everything System: An in-depth review of Hubzilla 3.0. (34)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-HQH9VBnoYZA2_ETAMhPnjg.webp?resize=298%2C342&ssl=1)
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (35) The Do-Everything System: An in-depth review of Hubzilla 3.0. (35)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-Yq1CTzwT4koOaHo5Crvy1w.webp?resize=708%2C386&ssl=1)
In practice, it isn’t all that different from Drupal’s regions and blocks system, or the widget framework used by WordPress. It’s incredibly easy to use, and frontend developers can drop their preferred widgets into specific regions.
Any existing widget can be inserted into a region via a Comanche template, and it’s possible to even write your own and use it with the template system.
One of the lesser-explored areas of the platform involves the possibility of writing custom widgets. Doing this can greatly extend the functionality of the interface, and fundamentally change how the whole thing works.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (36) The Do-Everything System: An in-depth review of Hubzilla 3.0. (36)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-0rXQS27fIaDR7Ij5nWMDyw.webp?resize=241%2C195&ssl=1)
As someone who doesn’t write a whole lot of PHP, figuring out the conventions for loading and rendering specific object field data took a lot of figuring out. Basically, you’ll need two files: one .tpl file for providing a markup template, and one .php file for populating that template with values from database fields.
Once you’ve got that set up, you’re in business. Just load the widget into a region on your theme. In my case, it was [widget=usermenu][/widget]. Some trial and error was involved in properly building the channel-specific URLs for each link, and some additional logic still needs to be written to hide certain menu items from visitors. As a first attempt, though, I was pretty satisfied.
Web Pages
Any CMS wouldn’t be complete without the capability to create pages, and Hubzilla leverages all of the conventions I’ve just highlighted for that purpose.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (37) The Do-Everything System: An in-depth review of Hubzilla 3.0. (37)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-2B9KliirRm-IVVUtvaZN_w.webp?resize=708%2C202&ssl=1)
Every single page can have use its own layouts, blocks, widgets, and menus to build any kind of page you want. Additionally, all of this can hook into data provided by Hubzilla’s extensive internal API, meaning that you can populate UI elements with data that lives in your channels.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (38) The Do-Everything System: An in-depth review of Hubzilla 3.0. (38)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-7U6VNcScGAEtqaJsFzBc2g.webp?resize=708%2C558&ssl=1)
Working with the Page / Block / Widget paradigm is similar to how Drupal or WordPress approach this problem, but the interfaces for building these different elements can sometimes feel counter-intuitive.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (39) The Do-Everything System: An in-depth review of Hubzilla 3.0. (39)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-1NvjF4Pfcaav0gMfxrF8A.webp?resize=708%2C392&ssl=1)
It’s not always clear when you should develop a block with an HTML content type, or when you should build a block with something else. Because they can all be intermingled together within a page, it’s not entirely clear whether that matters.
Last but not least, I’d like to talk about the Hubzilla community. It is a rather small group, with a few hundred installations and a couple thousand active users. Much of this community has relied on organic growth, with virtually no advertising, promotion, or hype to speak of.
One neat thing is that Hubzilla dogfoods itself for all of its community operations. The project announces its new releases through one channel, community developers talk about their projects through another, and a Support Forum exists to help people who are hosting their own hubs.
![The Do-Everything System: An in-depth review of Hubzilla 3.0. (40) The Do-Everything System: An in-depth review of Hubzilla 3.0. (40)](https://i0.wp.com/i0.wp.com/wedistribute.org/wp-content/uploads/2023/06/1-ICVGKLNM_RZlRRiblOQ6Q.webp?resize=708%2C468&ssl=1)
As far as developer empowerment is concerned, the Hubzilla community is second to none. It is very common to reach out to the community with a request for help, and receive detailed advice the same day that you ask for it. This applies to inquiries ranging from “Why is this badge not updating?” to “How do I hook into specific database fields for a custom plugin that I’m writing?”
For all of the endless platitudes about “The Open Source Community” supporting itself, Hubzilla actually embodies the majority of its positive virtues. A community of people are using a platform and hacking on it together collaboratively, and very little drama exists within the community itself.
My overall ruling on this system is obviously going to be biased; I have been running Hubzilla on my personal server for the past few years, and have followed its development for a very long time.
I’m absolutely blown away at everything this system provides and is capable of. The fact that so many of its bespoke technologies are passed over in favor of other solutions feels downright criminal.So much of what this system provides surpasses what other federated platforms have even begun to think about — aside from Friendica, virtually none of the other popular federated systems even support organized photo albums, and most can only speak one federation protocol.
Hubzilla still has some rough edges, specifically when it comes to mapping resources that are intended to be accessed through different endpoints. One of my biggest frustrations is the fact that it actually ships with two calendar systems — one for events, the other for CalDAV. It has been suggested that eventually events will be synced between the two of them, and I’m willing to overlook such shortcomings because of what the platform and community already provide.
Who is this for?
At this time, Hubzilla is best suited towards people who want to host their own websites that can also act as a cloud storage provider as well as a decentralized social communication platform. It is meant for the homesteaders of the Internet generation, people who want to withdraw from third-party services and data providers.
The good:
- Highly customizable: views, themes, and templates can be completely written from scratch
- If you know how to install WordPress, you probably know how to install Hubzilla.
- Content Management features that include web pages, a wiki, file storage, status updates, comments, and photo albums.
- Identity Management works ridiculously well.
- An extensive plugin system that can be used for anything, from HTML5 games to mapping systems to git repositories
- You get cloud storage, address book sync, and calendar sync for free
- A responsive interface that works well on mobile devices
- A full suite of social networking features — groups, statuses, photo albums, mood reactions, voting tools, pokes, filtering, blocking, tagging, directories, chatrooms, and more
- An extremely engaged community that isn’t afraid to get their hands dirty in answering questions and investigating problems
The bad:
- The initial signup and setup process can feel somewhat intimidating
- Documentation is a mixed bag. Some feature pages hold very little documentation, and you’re left to explore hook lists
- Although the block / widget / theme system is highly intuitive, the Pages system isn’t super user-friendly yet
- Aside from file management, integrating DAV resources inside of macOS seems like a non-starter for now
The ugly:
- Although it’s not hard to set up manual integration points for your OS, nobody has written OS-level integrations for Hubzilla yet. Gnome Online Accounts, for example, is far more likely to provide first-class integrations with NextCloud or Twitter.
- Although it offers a Twitter-like API that can theoretically be used by some desktop and mobile apps, nobody has yet developed a featureful mobile application specifically for Hubzilla.
- For some reason, this project gets passed over again and again in favor of platforms that can’t even do 1/10th of what Hubzilla does.
Tags
Hubzilla Zot