mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

12K
active users

#staticsitegenerator

3 posts2 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. 🤯

Yunohost: Verzeichnisschutz für eigene Websites (my_webapp) mit Bordmitteln (SSO) einrichten:

Die Kurzanleitung richtet sich speziell an Yunohost Nutzende mit custom Websites wie meiner mittels org-publish static site generator erstellten.

https://www.caliandro.de/blog/Yunohost%20Verzeichnisschutz%20f%C3%BCr%20eigene%20Website%20einrichten.html

www.caliandro.deVerzeichnisschutz für eigene Websites mit YunohostIn Yunohost bestimmte Bereiche einer Website mit der integrierten Zugriffssteuerung schützen