michel.recondo

selfhosting

#bsd #freebsd #selfhosting #snac

Well, now that my Master's is over and the PhD is not so easy to get in, let's find something useful to do :)

Since I'm still planning to study, my main computer is still my laptop which, unfortunately, won't run any BSD without some struggle. As it is my work equipment as well, I can't afford to keep messing with it for now. So, to feed my BSD crave, I went back to a VPS to host this site and its snac instance, keeping my hands dirty and my mind sharper.

The choice this time was FreeBSD for one main reason: jails. Jails, and specially BastilleBSD, are among the best features in a server operating system. Way better than containers—that's why I won't bother to look into podman worikng on FreeBSD—because they are simpler, smaller, easy to work with and to move around.

My current setup is fairly simple: one NGINX on the “host” serving as a proxy server and two jails: one for this site and one for snac. In the future, maybe I'll add one for WordPress (or more likely ClassicPress) to host my wife's site.

The configuration is simple: each jail hosts a basic Nginx server exposing a local port to the Bastille network and the 'root' Nginx handles the proxy_pass to those jails and manages the SSL certificates with certbot. The snac jail also requires the snac service to be running, but it's very easy to setup and maintain. With everything in place, it's just to a matter to keep an eye on the services and enjoying the stability that the BSD family provides.

OBS: I went from Hetzner to OVH and now I'm going back to Hetzner because OVH increased my VPS price by more than 60%. Thanks AGI ¬¬

#openbsd #bsd #vps #netlify #selfhosting

I'm moving from OpenBSD to Netlify. Why?

Simple answer: I'm too busy to think about the means and ends of an full OS installation just to serve a basic static blog/site. I'm a student now and I need to tend for my job and family besides my masters course witch, by itself, is very demanding.

Why can't I keep my site running as usual if it's a simple task? Convenience and I can save a few bucks in the process :)

Finally, why Netlify? Because it's free, easy to setup and deploy. I already used them when oracle messed up with my server and it was easy to come back. If I find some solution that suits me better, I'll happily change.

The thing is that now I'm happy with the services that I used to host witch I found good solutions out there (I'm looking at you, bsd.cafe) and I'm satisfied to be an user again ;).

#bssg #selfhosting

After a week that I published my site made with BSSG, here are my impressions:

Workflow

I'm loving this workflow. It's simple, concise, fast and helps me on focusing in creating and writing than setting things up.

The commands covers all user cases and are very well documented. There's almost no need to use the site to get things running.

Theming

Coming from wordpress and then hugo, the theming options for BSSG are like a breath of fresh air. The themes are just CSS files. That's it. Simple and efficient. If you want something very specific, you can use a custom.css file (just set it on the config file) and you are done.

Wordpress? Download, activate and pray for it not to break your site.

Hugo? Download (or git submodule clone), set it on the config and watch while everything have to be reconfigured to accommodate the new theme.

EDIT: It appears beautiful on text browsing :)

beautiful on links

Everything else

Another thing that I liked about BSSG is that it automatically generates a main menu, with sub pages if you want (I didn't tested it yet) and the RSS and tags files. Why I'm pointing this? Because I'm recalling my experience with hugo, which has very specific setting for the most basic stuff.

Final thoughts

I recommend it? Absolutely. It's for everybody? Probably. Just give it a try ;)

#ssg #bssg #selfhosting

When Stefano (@stefano@bsd.cafe) announced his own static site generator, the BSSG, I couldn't let it pass and went to give it a try and start to plan my site's migration, from hugo to BSSG.

First impressions: it's awesome! Simple but complete. It comes with all available themes in the package and it even comes with a tool to generate a page to sample all of them!

What I like: it's not something new but I find the commands to create and edit content very useful. I'm used to open a vim session and work from there but the ability to enter ./bsgg.sh edit <filename> or ./bssg.sh post and it simply asks for the title and opens the default editor. Simple. And when you save and close your file, it rebuilds itself to update your content.

What I want (not need): the admin interface. Not for me, since I was born in the command line, but for the common folk that I want to convert to the simple world of static sites.

So far, it's one of the best tools that I came across :)

OBS. One issue that I found is that when using pandoc to render the pages, the standard list format is not rendered in the HTML. It works with commonmark.