cover photo

Hubzilla Development

Sean Tilley
 San Francisco, CA (37.7840152 -122.39734259999997) 
!Hubzilla Development

If you're running the dev branch of #Hubzilla, you'll see that a new feature has landed for channels – Articles

This is a really exciting feature to me, as I hope to build We Distribute on top of it.

Here are a few relevant files to understand different pieces of it:Here's a quick test article, as it appears today:

I'd love to explore the theme development side of this, specifically to make Article objects look like an article you'd see on any popular CMS that features them. (Ars Technica, the Verge, Mashable, etc). This may require me to open my first actual pull request for the Hubzilla project, as this is a feature of huge interest to me. The first "useful" thing I can think of might be a thumbnail field, which sets the og:image property of the article when shared.

Eventually, I might dive into either building a page or a plugin that shows all published Article objects on a hub, sorted by published date, complete with title, link, and author information.
Jason Robinson
 from Diaspora
I guess articles don't federate? Or just not yet? Or didn't federate here :P
Sean Tilley
@Jason Robinson ? I guess you missed Mike's comment since he doesn't use Diaspora federation, so I'll post it:

Articles do not federate naturally. They are interactive. So think of it like an old fashioned blog.

Articles can provide summaries. These do not use industry standard methods of providing summaries since Mastodon has turned all of these into 'content warnings'; basically precluding anybody using them for summaries ever again.

Webpages are not interactive. Cards are interactive and actually very similar to articles but differ in the fact that one is called a 'card' and one is called an 'article'; and therefore readers might have different expectations of what they are and what they do. (The simple answer is that one is a 'card' and the other is an 'article'.)

A lot of people seemed concerned and upset that we provided webpages and cards and wikis and interactive posts but did not have a thing called 'articles'. Now we do.

Hope this clears things up.

Incidentally you can also provide summaries in posts and comments, but don't do it. The reason is that these could federate with Mastodon and Diaspora and GNU-Social and the summaries won't work in other networks (because Mastodon has made it impossible or impractical to try and translate to standard 'summary' fields without generating warnings). So we don't translate it at all. Readers on other networks will see a mess. Save summaries for 'articles'. That's what they're there for.

Missing at this point is separate feeds for articles (and cards and perhaps webpages). This would be a useful tool except for the fact that feeds use standard communication formats which provide separate 'summary' fields and Mastodon has pretty much fucked these up for everybody. So that's why we don't have article feeds. We might be able to provide 'summary' feeds and separate 'article' feeds at some point but it would be so much better to just rid the world of Mastodon so we could do this the right way once and be done with it.
Just for the record: I didn't !

Sean Tilley
 San Francisco, CA (37.7485824 -122.4184108) 
@Hubzilla Development+

It's a tough nut to crack, but it's possible to export a #Godot game to HTML5, then embed the resulting game into a #Hubzilla addon. Right now I'm experimenting with loading a platformer game demo into the skeleton add-on as a base. I've got the files spread out and structured into a hierarchy, and I hope to get the player to successfully load with these changes. After that's done, I'll be able to put it into a proper view template, and wrap some native interface elements around it.

My hope is that this could provide a method for sharing my games on the web, in something that could be featured as a personal gallery. A pipe dream version of that may be some kind of "Game Library" add-on that can load and store related Godot HTML5 games and display them in a gallery of sorts.

As far as HTML5 games are concerned, there are generally a number of limitations. Keyboard input works well with Godot, but right-click interactions seem to be off the table for now. Games also seem to be affected by load times proportionate to the overall file size, although it seems that this can be handled gracefully when it comes to loading individual scenes (game levels or rooms). I'm curious to test this out with my own projects as their size and complexity scales up.

Another interesting aspect is that Godot can be made to interact with libraries and environments outside of itself. In theory, it may be possible to provide some sort of bridge between Hubzilla's own hooks and the game engine. One simple way to demonstrate this might be for the game to welcome a player by their channel name.
Alexandre Hannud Abdo
I participated in a Godot workshop last year, this is an awesome idea... another  obvious thing would be for Hubzilla to keep track of player scores.
Andrew Manning
I forgot to reapply the MySQL settings I had determined for They are reapplied now so hopefully it will be more stable.
neue medienordnung plus
Thank you Andrew. and run now rather quickly :-).

Andrew Manning
The #YunoHost developers invited me to the new YunoHost-Apps "organization" on GitHub, which allows you to create teams with associated repositories. I created a #Hubzilla team, which will host the hub installation package I created for YunoHost (and have help from @Anmol maintaining).

#outreach @Hubzilla+
Andrew Manning
@Anmol The hubzilla-yunohost repository is now here:

If you would like to update the sources to the Hubzilla release tagged 1.4 and test it as you have done in the past, it would be appreciated.
There are of course no alternatives for @Hubzilla+, but I updated this page on Maybe up-voting can help our PR a bit.

Hubzilla Alternatives -
Popular Alternatives to Hubzilla for 31 platforms including Mac, tvOS, PlayBook, and BSD. Explore 15 websites and apps like Hubzilla, all suggested and ranked by the AlternativeTo user community.
Andrew Manning
Than the Red has to be removed, to avoid confusion.
I reported the Redmatrix entry has a duplicate of Hubzilla.

Andrew Manning
Has anyone investigated the possibilities for authenticating #WordPress users with #Hubzilla? If you could create a WordPress site whose user accounts are associated with Hubzilla channels, and you combine this with something like a Private Content plugin, you would have a powerful extension to a hub. Perhaps a first step is to try the OpenID plugin, since Hubzilla is an #OpenID identity provider already.

Andrew Manning
I just tried the OpenID plugin, and it fails to authenticate to my hub. I'll see what I can find in the logs.

Andrew Manning
I found it very easy to #install a brand new hub using the .homeinstall script in the #Hubzilla repo. Here are the steps I used to install it almost completely automatically:

1. Created a new DigitalOcean droplet (Debian 8.3 x64 / 512 MB Memory / 20 GB Disk / NYC3)
2. Assigned the hub domain name to the new droplet IP address using RackSpace DNS services
3. Logged on to the new server and executed the following commands:
0. apt-get install git
1. mkdir -p /var/www/html
2. cd /var/www/html
3. git clone .
4. nano .homeinstall/hubzilla-config.txt
5. cd .homeinstall/
6. ./
7. sed -i "s/^upload_max_filesize =.*/upload_max_filesize = 100M/g" /etc/php5/apache2/php.ini
8. sed -i "s/^post_max_size =.*/post_max_size = 100M/g" /etc/php5/apache2/php.ini
9. service apache2 reload

4. Opened the hub webpage in a browser and completed the steps to finish installation

I chose to install a #UNO hub configuration to see what it's all about.

Andrew Manning
Okay, I verified today that the /.homeinstall/ script works (core: 55ab5360d984700e3145a5933cd1275cfb54b76c, addons: 72ecf029325ec9aa353f87f1cd2951c934d1d3a4) on a fresh Debian 8.3 x64 DigitalOcean VPS.

For some reason, I had to manually install php5-curl (apt-get install php5-curl) after the script ran even though this should have been installed by the script (/.homeinstall/
Einer von Vielen
I had to manually install php5-curl

Strange. We should watch this.
Einer von Vielen
@Andrew Manning Thanks for the changes in the homeinstall script. Don't hesitate to change something there. I do not cling to "my" script or my work in general. I am happy if somebody improves it.

I just updated the to reflect the changes you made.

Andrew Manning
I created a new repository of plugins for #Hubzilla called simply Hubzilla Plugins, currently containing only one plugin: Embed Photos. This plugin allows you to more easily embed pre-existing photos/images to your posts by adding a button to the post editor that launches a photo album gallery browser. It seems to work pretty well, although it is a bit sluggish due to the inefficiency of the database queries and lack of similar optimizations. The screenshots embedded in this post were added automatically using the plugin.

I look forward to feedback in the form of discussion here and issue reports so we can push this thing along to a v1.0.




[nobb][ zrl= ][ zmg=172x117 ][ /zmg ][ /zrl ]

[ zrl= ][ zmg=782x430 ][ /zmg ][ /zrl ]

[ zrl= ][ zmg=793x448 ][ /zmg ][ /zrl ]

@Hubzilla+ @Hubzilla Plugin Ideas+
Andrew Manning
I've almost got this working, but I can't get the modal dialog to appear for the comment box embed photo button. I get the modal backdrop but no popup. Perhaps it is because the modal is defined within a "btn-group" class div?
Grant Stephenson
This is quite cool.. is this also available to be seen when sending a private message?

did we have in the past a similar embedded photo button when you uploaded a new one (not from exisiting photos) ? .. although, I could totally be remembering wrong..
Mike Macgirvin
That still exists. It's the paper clip icon (attach file). Originally there were separate buttons for uploading a photo and uploading a file attachment so we consolidated them.