Newsletter - Roman Zolotarev Self-hosted websites. Shell scripts and text editors. How-to guides for BSD/Unix users. Tutorials for web developers. https://www.romanzolotarev.com/ Sat, 24 Aug 2019 00:00:00 +0000 https://www.romanzolotarev.com/n/2019-03-02.html https://www.romanzolotarev.com/n/2019-03-02.html Sat, 02 Mar 2019 00:00:00 +0000 Shell scripts to manage newsletters and memberships

Shell scripts to manage newsletters and memberships

Beep boop beep. What's up?

  • In the last two months I've released and started testing my shell scripts for memberships and newsletter subscriptions (work in progress);
  • this week I wrote few more scripts to send this very newsletter to you; all these shell scripts served by OpenBSD httpd(8) and slowcgi(8); I use curl to talk to the RESTful API of my payment service provider and jq to parse JSON;
  • moved my website to a new domain RGZ.EE, so you can enjoy shorter URLs; yay! (the old domain name will stay intact for awhile);
  • I've also added a logo and updated my avatar.

Want to learn how to make a simple web service with the minimalist tech stack: vanilla JavaScript, HTML, CSS on the frontend, and CGI and shell scripts for the backend?

Please become a member.

There are two member-only pages so far:

P.S. Most of my how-tos and script are still available for free. Please support me on Patreon if you want me to keep those guides updated and available for everyone.

📨
Want to get my monthly updates via email?
Join 500+ subscribers.


]]>
https://www.romanzolotarev.com/n/2019-01-04.html https://www.romanzolotarev.com/n/2019-01-04.html Fri, 04 Jan 2019 00:00:00 +0000 nsd(8), ssg4, Tachyons, and BSD stories

This an archive of my newsletter.

nsd(8), ssg4, Tachyons, and BSD stories

Since last update:

  • I've transferred some of my domains to my own name servers; that was easier than expected, thanks to OpenBSD and nsd(8); one step closer to self-hosting everything ;)
  • released the new version of ssg, it's faster* and has all HTML extracted to _header.html;
  • refactored my CSS using Tachyons' naming convention; the markup is a bit more verbose, but no more custom classes;
  • published two new stories: Tom Smyth, Dominik Zajac;
  • moved all #RunBSD stories to runbsd.info.

These days I'm working on my shell script for a membership website. Bear with me and follow this thread on Twitter.


* Special thanks to Devin Teske for helping with awk(1).

Top sponsors: Tom Smyth, wireless connect ltd, Mischa Peters, OpenBSD Amsterdam, Vultr, Andrew Vieyra, Hajime Edakawa.

Thank you all for your support. ❤

📨
Want to get my monthly updates via email?
Join 500+ subscribers.


]]>
https://www.romanzolotarev.com/n/2018-11-24.html https://www.romanzolotarev.com/n/2018-11-24.html Sat, 24 Nov 2018 00:00:00 +0000 Web forms and good old Common Gateway Interface

This an archive of my newsletter.

Web forms and good old Common Gateway Interface

Introducing a new shell script for handling web forms with slowcgi(8) and httpd(8). Zero third-party dependencies (read: nothing to install on OpenBSD).

form

This script validates and saves each posted form into a file. To send those forms via email, configure smtpd(8) and cron(8):

Please try it out... and leave your feedback. ;)


The other day I was experimenting with an Android phone and SD cards, so I've published these two how-tos:

By the way, if are still confused about disk names on OpenBSD, here you go:


Please give some love to my top sponsors:

OpenBSD.Amsterdam
Vultr
Tom Smyth
Hajime Edakawa
Mischa Peters
Wesley Moore
Tom A
Denis Borovikov
Aleksey Popov
Tuomo Sahipakka

Your everyday support helps me to move forward.
Thank you all.

📨
Want to get my monthly updates via email?
Join 500+ subscribers.


]]>
https://www.romanzolotarev.com/n/2018-10-30.html https://www.romanzolotarev.com/n/2018-10-30.html Tue, 30 Oct 2018 00:00:00 +0000 OpenBSD 6.4 and ssg3

This an archive of my newsletter.

OpenBSD 6.4 and ssg3

Hi there!

As you may know, few days ago OpenBSD 6.4 has been released, so I've updated related how-tos:

... and added new ones:

Let me know if you find them helpful.


More people has started using my static site generator this month. Thank you, brave folks! You were confused when ssg2 has ignored pages without <H1> tag, and you're right, this is confusing. My bad. Let me fix that for you. Here is the solution: ssg3

ssg3 wraps all pages without <HTML> tag.
ssg3 still uses <H1> tag to fetch titles, but <H1> tag is optional.

A minor improvement: lowdown(1) is optional now.
It's required only if there are *.md files.


#RunBSD stories of October:

By the way, you are welcome to share yours.

Oh, and one more thing: Run BSD website has got a new home.
Yay! Stay tuned ;)

📨
Want to get my monthly updates via email?
Join 500+ subscribers.


]]>
https://www.romanzolotarev.com/n/2018-09-23.html https://www.romanzolotarev.com/n/2018-09-23.html Sun, 23 Sep 2018 00:00:00 +0000 A new ssg and more BSD stories

This an archive of my newsletter.

A new ssg and more BSD stories

Hey there!
How is your weekend?

The new and shiny version of ssg is ready for you! :)
Please reply if you use it or you need my help.

ssg2

  • It's 45% faster,
  • supports incremental updates,
  • has cleaner source code (212 LoC),
  • doesn't depend on rsync(1).

I've extracted RSS generator to bin/rssg, so now you can have multiple RSS feeds on one site:


New and updated how-tos:

Bonus: If you edit shell scripts, check out my wrapper for tmux(1), entr(1), and shellcheck(1): bin/e.


In September I've added four #RunBSD stories:

By the way, my journey to OpenBSD on desktop land started exactly one year ago. :) Email me any time to share your BSD story.

📨
Want to get my monthly updates via email?
Join 500+ subscribers.


]]>
https://www.romanzolotarev.com/n/2018-08-26.html https://www.romanzolotarev.com/n/2018-08-26.html Sun, 26 Aug 2018 00:00:00 +0000 Making the Web

This an archive of my newsletter.

Making the Web

Hi, I'm restarting my newsletter. It's all about self-hosted websites, shell scripts, text editors, how-to guides for BSD/Unix users, and screencasts for web developers.

Recent news

Stay tuned.

📨
Want to get my monthly updates via email?
Join 500+ subscribers.


]]>