veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

296
active users

#staticsitegenerator

0 posts0 participants0 posts today
I have created a static web gallery generator.

https://github.com/blitzgneisserin/staticwebgallery

The “sophistication” about it right now: the Python script extracts with the help of exiftool metadata from the photos and displays the info automatically on the web site. So far, it extracts the keywords from the photos and creates a tag cloud of them, which you can see on the landing page. If you click on a tag, you see the thumbnails of the photos that contain that keyword/tag as metadata. Click on a thumbnail to see the big photo, under the photo you can see a caption which is also automatically created from the extracted metadata, it’s composed of the name of the city, the name of the state and the capture date (datetimeoriginal).

Of course, my plans are much much bigger: the whole project was inspired by the Wordpress plugin Media Library Assistant and it’s metadata mapping capabilities - but I wanted this as a static web site. Here is an example of a gallery web site that uses Worpress/Media Library Assistant.

For all of this to work properly, of course the first step is to get the right metadata into your pictures, which you can do with Digikam, more precisely its tools GPS correlator and reverse geocoding - the latter creates actual location names from gps coordinates and saves them as metadata inside the photo.

#staticwebgallery #ssg #website #python #staticsitegenerator #digikam #metadata #photography #contentmanagement #software #webgallery #webphotogallery #exiftool #imagemagick

Found some performance gains by nesting #golang errgroups. Seeing 30-40% faster builds in HyperTemplates!

hypertemplates.net

I was already employing a fair bit of concurrency in builds, but the functions that employed errgroup concurrency were being executed sequentially (asset writes, page writes, feed writes). Then it occurred to me I could wrap these three functions in an errgroup (with shared context), and I couldn't believe it just worked. 🤯

My personal website back in 2020. It was created using my own custom #StaticSiteGenerator written in #CommonLisp. I truly miss #Lisp days. And I just checked my files on #bitcoinshell. There is my short introduction to #infinitesimalcalculus in #Persian as well as the #academic #ComputerScience #paper I translated from Didier Verna on "How to make Lisp go as fast as C".

Obviously my English skills are better now.

You can check my website in my profile. And use Internet Archive to go through its history. However, if you are too lame. There is a link here:

web.archive.org/web/2020112813

For folks who are using static site generators, but are self-hosting your sites, how are you handling deployment if building automatically? I've got Woodpecker CI building my site automatically.

I know I could use SFTP to push it to my web server... but am wondering if there's a more clever way to do this.