cover photo

Hubzilla Development

hubzilla@project.hubzilla.org


King Emir#
 Basel,  
Maybe it's time to start an offensive campaign for #zot on different pertinent media channels, to increase the awareness of it. Please consider this post as an initiative of a brainstorming. It's addressing those who know most about the communication protocols, and I'm unfortunately not one of them (yet).

What could be the content of the publicity campaign for zot?
Maybe the zot-relevant part of the interview by Sean Tilley with Mike, which could be summarized and added with a comarison chart of the different existing protocols?

What do you think about:

I'm not technique affine, so I don't know which are the IT and FLOSS relevant channels, but maybe
https://www.computerworld.com/
https://www.heise.de/
https://fsfe.org/
https://www.wired.co.uk/
https://www.cnet.com/
https://phys.org/technology-news/internet/
...

It seems again another protocol for a #decentralized network appeared, called #LBRY (lbry.io). It doesn't seem so interesting to me, but I mention it anyway.

!Hubzilla Development !Free / Libre Open Source Softwares
M. Dent
  
Some good thoughts!  I set up a @Hubzilla Advocacy forum a while ago as another place to discuss these things.  Right now our biggest advocates are the techies who are also devs. It'd be great to divide the labor a bit and those who may not be best suited as devs can do advocacy work.

I really like your detailed hit list. Very concrete and something specific that people could pick up and work on!
Max Kostikov
  
I have plans on large article in russian about #Hubzilla and #Zot protocol as its part.

Max Kostikov
 Königsberg, Russia,  last edited: Sun, 01 Jul 2018 16:25:41 -0400  
!Hubzilla Development
I'm use Hubzilla with latest PHP 7.2 release under FreeBSD environment (H2O HTTP/2 web-server + PHP-FPM).
It works quite fast but I think it can be faster with PHP opcache.
Perhaps experienced Hubzilla hub owners have any recommendations on opcache settings?
131@diaspora.xpr.pl
 from Diaspora
Czy ten wpis jest widoczny na Hubzilli?
!Hubzilla Development

Ta linijka dziwnie wygląda na Diasporze.
Max Kostikov
  last edited: Thu, 12 Jul 2018 15:26:52 -0400  
Well, let me publish my results on #PHP opcache usage with #Hubzilla.
As I wrote above I'm use PHP 7.2 in #FreeBSD 11.2 environment.
I installed php72-opcache package and changed only two parameters vs default configuration

root@beta:/usr/local/www/tiksi.net # cat /usr/local/etc/php/ext-10-opcache.ini
zend_extension=opcache.so
opcache.revalidate_freq=60
opcache.memory_consumption=64

After about a week of usage I might say that 64Mb memory buffer for opcache is more that enough not only for Hubzilla, but for other stuff that I have on same server (e.g. Roundcube, my own blog based on #Bludit flatfile #CMS and phpMyAdmin).
Memory consumption is remains less than 50Mb with cache hit rate about 99.96%.

Image/photo

Here is scripts usage visualisation.

Image/photo

And about performance. I didn't run special benchmarks but subjectively page load speed was dramatically increased. So I can recommend to use opcache for Hubzilla.

neue medienordnung plus
  
Steffen K9 ?Steffen K9 ? wrote the following post Sun, 13 May 2018 05:30:58 -0400

Can you as Sysadmin confirm, that Friendica-node induced less maintenance effort by comparsion to Hubzilla?

Hmm. That's tricky. I run Hubzilla on master branch (stable release) most of the time. So there is not much to do besides an update every couple of weeks or even months.
Friendica is running on develop branch (RC at the moment). And because the Friendica devs are very hardworking people <3 providing a lot of code updates, I "have to" pull new code on a daily basis.
I guess both were on the same level of maintenance efforts if I would run both instances on master (stable) branch.

#comparsionHubzillaFriendica #comparsionHubzillaToFriendica #comparsionHubzilla2Friendica #maintenanceEffort #HubzillaMaintenance #Hubzilla #FriendicaMaintenance  #Friendica @Hubzilla Development+ @Zot universe NEWS+
Andrew Manning
  
I'm wondering how stable is dev and if I should run it in production as a public hub.

I would not recommend doing that.
Mike Macgirvin
  
Production/public sites should probably stay on master for a sense of stability - unless it is specifically a developer community. We push a new release every couple of months and the time creeps by before you know it. That said, there have been a number of changes recently which were specifically to address issues encountered in the disroot configuration, which is slightly atypical of our standard configurations. 'dev' will ways be less stable than master (it's the nature of the beast); but we sort of need some feedback on some of these fixes and ensure they are up to scratch before the next release. If anybody at disroot is interested in being involved in ongoing development, a dedicated dev/test site might be a workable option so you don't have to hack on your main site "live" and can also keep up to date with (and even participate in if desired) the latest developments.
muppeth
  
Yeah, I'll be setting up dev instance this week (probably weekend) just to be able to break things especially if we go live soon. We really want to start being more involved in development part fo the project as well, so having instance you can break is a must.

But as you pointed out some of (very crutial) for us changes are currently jailed in dev so a tiny 0.0.X release would be great, but I certainly dont want to put any preasure on you guys.

  last edited: Mon, 16 Apr 2018 16:19:45 -0400  
!Hubzilla Development

Hi, I did this by making a widget and adding a bunch of pdl files to the redbasic theme. Each .pdl has this at the top:

[region=nav][widget=navbuttons][/widget]$nav[/region]

It's not perfect, as I'd rather have the icons to the right of the profile dropdown, but that would require editing the navbar code outside of any theme,  I  think... ? Is there any other way?

Image/photo
  
So new theme! Greenbasic
If you are on 22330.fr, go to menu profile -> settings -> display to select it.
I'll upload it to my git account as soon as I get time

#hubzilla #theme #green


Image/photo
galettesaucisse (Galette Saucisse)

Image/photo

galettesaucisse has 3 repositories available. Follow their code on GitHub.
Haakon Meland Eriksen (Els Mussols)
  
In a theme there can be schemes too.
  last edited: Wed, 18 Apr 2018 16:24:52 -0400  
Yes, this is an experiment really, I wanted to learn how to build a theme that works across a site without user input. Plus it has a modified navbar.
Zachary Dunn
  
I'm hoping to get into #Hubzilla development eventually so I've started learning #PHP. I'm reading the PHP Manual. Are there any other good resources I should check out?

!Hubzilla Development
Haakon Meland Eriksen (Els Mussols)
  
PHP: The Right Way
An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web
Andrew Manning
  
I am afraid that is already fixed

That is quite all right. He could help with the approximately 5843 other things we want to improve.

Also, thank you Mario.
Mike Macgirvin
  
Learning the language is one thing. One of the most prolific developers early on (many old-timers here will be able to pick up who I'm talking about) started by watching every git commit and reading the detail and what was changed and why. It's like learning a foreign language by total immersion. It teaches you the entire culture and way of thinking and you'll find useful information and little bits of code tucked away that are incredibly valuable but you might never learn from just browsing or grepping the source tree.

Christopher M. Rasch
 East Palo Alto,  last edited: Fri, 30 Mar 2018 06:12:41 -0400  
!Hubzilla Development

What are the best tutorials for building websites with Hubzilla?  For example, is there a tutorial that explains how the Hubzilla site itself (https://www.hubzilla.org) was built?  

https://project.hubzilla.org/page/hubzilla/hubzilla-project

#tutorials #hubzilla #ecommerce

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: https://deadsuperhero.com/articles/dsh/suggestions-happier-life

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.
mrjive
  
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 start.hubzilla.org. They are reapplied now so hopefully it will be more stable.
neue medienordnung plus
  
Thank you Andrew. start.hubzilla.org and project.hubzilla.org 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: https://github.com/YunoHost-Apps/hubzilla-yunohost/

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.
jeroenpraat
  
There are of course no alternatives for @Hubzilla+, but I updated this page on AlternativeTo.net. Maybe up-voting can help our PR a bit.

Hubzilla Alternatives - AlternativeTo.net
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
  
jeroenpraat
  
Than the Red has to be removed, to avoid confusion.
jeroenpraat
  
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.

@Hubzilla+
Mike Macgirvin
  
At the end of the day the choice will primarily come down to whether the things you want to access involve multiple authorisation domains/realms. This is where OWA shines. It's great for accessing individual access controlled web resources. If you just want to authenticate to a server and "do stuff", OAuth2/OpenIDConnect is the gold standard.
Grant Stephenson
 
how do you tell when is the url for for your openid in hubzilla? is your your channel?  the onything I ever tried to connect to it was a wordpress blog, but I wasn't sure what the appropriate page is in hubzilla was for the account.
Mike Macgirvin
  
The "traditional" openid uses https://project.hubzilla.org/openid/nickname if I recall. openid_connect is very close to release (I believe basic auth and credentials management is complete) but is still being tested. There is no scope support yet and dynamic client registration needs a bit more work but if you're running current dev and have an openid_connect enabled service you should be able to boostrap it.

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 https://github.com/redmatrix/hubzilla.git .
4. nano .homeinstall/hubzilla-config.txt
5. cd .homeinstall/
6. ./hubzilla-setup.sh
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.

@Hubzilla+
Andrew Manning
  
Okay, I verified today that the /.homeinstall/hubzilla-setup.sh 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/hubzilla-setup.sh#246).
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 readme.md 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.

Image/photo

Image/photo

Image/photo

[nobb][ zrl=https://project.hubzilla.org/photos/andrewmanning/image/de343cbc5f893f4ea5a54d0057c1a90b92da694b8ac7b030a77781b1ee4f6092 ][ zmg=172x117 ]https://project.hubzilla.org/photo/de343cbc5f893f4ea5a54d0057c1a90b92da694b8ac7b030a77781b1ee4f6092-1.png[ /zmg ][ /zrl ]

[ zrl=https://project.hubzilla.org/photos/andrewmanning/image/8c6cdbef78bb4402ebaf80eb8fc425ccc1886042ec8aae3af0a1c6f34b3af030 ][ zmg=782x430 ]https://project.hubzilla.org/photo/8c6cdbef78bb4402ebaf80eb8fc425ccc1886042ec8aae3af0a1c6f34b3af030-1.png[ /zmg ][ /zrl ]

[ zrl=https://project.hubzilla.org/photos/andrewmanning/image/0e0c33fdab9ffb0a7cd5d64727cca325115a9ef16fe2d97cf494e891991623b1 ][ zmg=793x448 ]https://project.hubzilla.org/photo/0e0c33fdab9ffb0a7cd5d64727cca325115a9ef16fe2d97cf494e891991623b1-1.png[ /zmg ][ /zrl ]
[/nobb]


@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.