eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

241
active users

#bssg

4 posts3 participants0 posts today
Stefano Marinelli<p>I've just committed and pushed some new <a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> features and fixes:</p><p>- Re-implement `--config &lt;path&gt;` command-line flag for `bssg.sh`. This allows specifying a custom configuration file (e.g., a site's `config.sh.local`) to override default settings and the standard `config.sh.local` in the BSSG core directory. Useful for managing multiple sites or running commands from the core directory against a specific site context.<br>- Add support for `BSSG_LCONF` environment variable. If set to a valid configuration file path, it will be used when `--config` is not specified, providing an alternative way to set the site context for a session.<br>- Add `CACHE_DIR` configuration variable (`config.sh`, default `.bssg_cache`). Allows specifying a custom location for the build cache.<br>- New configuration option `ARCHIVES_LIST_ALL_POSTS` (in `config.sh`, default `false`). If set to `true`, the main `archives/index.html` page will list all posts chronologically under their respective month links, in addition to the standard year/month navigation.</p><p>- The `init` script now adds a `CACHE_DIR` setting to the new site's `config.sh.local`, pointing to `.bssg_cache` within the site's directory (e.g., `/path/to/site/.bssg_cache`). This ensures separate caches for initialized sites.<br>- Change default answer to 'Yes' (Y) in the `init` script when asking whether to modify the core `config.sh.local` to automatically source the new site's configuration.</p>
nutilius@SDF<p>OK - so I will give a chance to <a href="https://social.sdf.org/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> from <span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@stefano" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>stefano</span></a></span>, maybe this time my observations and notices find easier way to be published. <br>Anyway assuming they <a href="https://social.sdf.org/tags/nano" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nano</span></a> is available on classical <a href="https://social.sdf.org/tags/macOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macOS</span></a> installation is too optimistic 😉 (EDITOR env var was not set).<br>I strongly suggest to put <a href="https://social.sdf.org/tags/vi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vi</span></a> (<a href="https://social.sdf.org/tags/ed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ed</span></a> is also save default 💥). Where is the place to put such suggestions?</p>
Stefano Marinelli<p>I've just implemented a new <a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> feature:</p><p>In config.sh(.local), there's now a new option: ARCHIVES_LIST_ALL_POSTS="false" # Options: "true", "false". If true, list all posts on the main archive page.</p><p>If set to true, the Archives page will contain all the posts, so it will be easier to search for a specific post.</p><p>Could you please test it and report any problems?</p><p>Thank you!</p>
bertol ⁂<p><span class="h-card" translate="no"><a href="https://mastodon.social/@son_link" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>son_link</span></a></span> mira <a href="https://mastodon.eus/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> | <a href="https://bssg.dragas.net/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">bssg.dragas.net/</span><span class="invisible"></span></a> | creado por <span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@stefano" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>stefano</span></a></span> no es justamente tan simple cómo pides, pero se acerca a lo que pides 😉</p>
Michel 🇧🇷 :verified_coffee:<p>New blog post! </p><p><a href="https://recondo.com.br/2025/04/22/one-week-with-bssg/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">recondo.com.br/2025/04/22/one-</span><span class="invisible">week-with-bssg/</span></a> </p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/selfhosted" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>selfhosted</span></a></p>
IT Notes<b>Make Your Own Internet Presence with NetBSD and a 1 euro VPS – Part 1: Your Blog</b><br><br><a href="https://it-notes.dragas.net/2025/04/22/make-your-own-internet-presence-with-netbsd-and-a-1-euro-vps-part-1-your-blog/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/04/22/make-your-own-internet-presence-with-netbsd-and-a-1-euro-vps-part-1-your-blog/</a><br><br><a href="https://snac.it-notes.dragas.net?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.it-notes.dragas.net?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.it-notes.dragas.net?t=blogging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#blogging</a> <a href="https://snac.it-notes.dragas.net?t=bssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#bssg</a> <a href="https://snac.it-notes.dragas.net?t=netbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#netbsd</a> <a href="https://snac.it-notes.dragas.net?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ownyourdata</a> <a href="https://snac.it-notes.dragas.net?t=series" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#series</a> <a href="https://snac.it-notes.dragas.net?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#server</a> <a href="https://snac.it-notes.dragas.net?t=ssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ssg</a> <a href="https://snac.it-notes.dragas.net?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#tutorial</a> <a href="https://snac.it-notes.dragas.net?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#web</a><br>
Stefano Marinelli<p>Make Your Own Internet Presence with NetBSD and a 1 euro VPS – Part 1: Your Blog</p><p><a href="https://it-notes.dragas.net/2025/04/22/make-your-own-internet-presence-with-netbsd-and-a-1-euro-vps-part-1-your-blog/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/2025/04/22</span><span class="invisible">/make-your-own-internet-presence-with-netbsd-and-a-1-euro-vps-part-1-your-blog/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/NetBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NetBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/RunBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RunBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/OwnYourData" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OwnYourData</span></a> <a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SelfHosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SelfHosting</span></a></p>
Stefano Marinelli<p>Announcing BSSG 0.15.0: Performance Boosts, Smarter Builds, and Homepage Customization</p><p><a href="https://blog.bssg.dragas.net/2025/04/21/announcing-bssg-0-15-0-performance-boosts-smarter-builds-and-homepage-customization/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.bssg.dragas.net/2025/04/2</span><span class="invisible">1/announcing-bssg-0-15-0-performance-boosts-smarter-builds-and-homepage-customization/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a> <a href="https://mastodon.bsd.cafe/tags/StaticSiteGenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StaticSiteGenerator</span></a></p>
Justine SmithiesJust switched my <a href="https://justine.smithies.me.uk/" rel="nofollow noopener noreferrer" target="_blank">blog</a> from using my own static site generator <a href="https://git.smithies.me.uk/blarg/about/" rel="nofollow noopener noreferrer" target="_blank">Blarg</a> to using <span class="h-card"><a href="https://mastodon.bsd.cafe/users/stefano" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@stefano@bsd.cafe</a></span> fantastic <a href="https://snac.smithies.me.uk?t=bssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#BSSG</a> - Bash Static Site Generator, which can be found below if you're interested ?<br><br><a href="https://brew.bsd.cafe/stefano/BSSG" rel="nofollow noopener noreferrer" target="_blank">https://brew.bsd.cafe/stefano/BSSG</a><br><br><a href="https://snac.smithies.me.uk?t=www" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#WWW</a> <a href="https://snac.smithies.me.uk?t=staticsite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#StaticSite</a> <a href="https://snac.smithies.me.uk?t=bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Bash</a><br>
Stefano Marinelli<p>Testing the changes for the upcoming 0.15.0</p><p><a href="https://blog.bssg.dragas.net/2025/04/18/testing-the-changes-for-the-upcoming-0-15-0/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.bssg.dragas.net/2025/04/1</span><span class="invisible">8/testing-the-changes-for-the-upcoming-0-15-0/</span></a></p><p>So many changes that I decided to skip 0.13 and 0.14 🙂 </p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a></p>
Stefano Marinelli<p>I’ve just pushed the latest changes to the public repository. <br>In particular:</p><p>- Do not generate the "Tags" menu if there are no posts with tags (adapted by Tom's patch) </p><p>- Allow a custom pages/index.md (with slug "index") that will be shown as homepage. This allows to create a custom homepage for the website, without the "Latest Posts" list. (adapted by Tom's patch) </p><p>- Render automatically generated post excerpts (used when no explicit `description` is set in frontmatter) as HTML instead of raw markdown on list pages (index, tags, archives). </p><p>- Partial rewrite of the caching code, index generations, etc. Now only the modified tags and/or archives will be regenerated, speeding up the rebuild time. </p><p>- Many, many other bugfixes and improvements</p><p>Please, test it and let me know if you find any issues. A new release is just around the corner.</p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a> <a href="https://mastodon.bsd.cafe/tags/Bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bash</span></a></p>
Stefano Marinelli<p>On my MiniPC, powered by <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> and <a href="https://mastodon.bsd.cafe/tags/ZFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ZFS</span></a>:<br>Full build:<br>[...]<br>Found 1256 files in source directory.<br>[...]<br>Build process completed in 28 seconds.</p><p>Rebuild:<br>Build process completed in 9 seconds.</p><p>Not bad! 🙂 </p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a></p>
Stefano Marinelli<p>Ok, I've implemented a couple of patches to <a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> 's dev repo (not publicly accessible). It also contains LOTS of performance improvements.</p><p>I'll probably merge it with the public repo later today or tomorrow.</p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a></p>
Stefano Marinelli<p>Mmm parallel seem to have some troubles on NetBSD. Sometimes it's just stuck, doesn't start to process the task.<br>For now, when BSSG will detect it's running on NetBSD, it will use the slower but more reliable sequential build process</p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/NetBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NetBSD</span></a></p>
Stefano Marinelli<p>I just pushed to the BSSG production repo the optimized code for faster builds. I removed a lot of command concatenations (which kept iterating over posts, caches, etc.) and now uses a series of awk commands, which significantly improve the process. The results are exciting - I believe there's still room for improvement (especially with cache rebuilds: a change to a single post still triggers a rebuild of all indexes, RSS feeds, archives, etc.), but it's already performing well enough.</p><p>I haven't noticed any regressions, but I'm still considering the code to be in early-beta.</p><p>I'll keep testing and optimizing it a bit more before making a new release. In the meantime, as always, let me know if you run into any issues!</p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a> <a href="https://mastodon.bsd.cafe/tags/Bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bash</span></a></p>
Stefano Marinelli<p>I've reviewed the <a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> build process. It was old and pieces were added together year by year. So quite inefficient when the number of files is high.<br>The (full, uncached) build of my old Italian blog, 170 posts, was 84 seconds on my computer. Far too long.<br>I've changed some parts and have been able to bring it down to 22 seconds, without sacrificing anything. There are still tests to be done and some of the caching isn't working perfectly (it's always rebuilding tags, archives, RSS and sitemap - still, it's less than 12 seconds) but I think it can also become fast.</p><p>The last commit hasn't been pushed to the prod repo, and I'll fix the remaining things and test it. But I'm quite happy!</p>
KaiXinGood morning.<br>Thanks it is working as expected now! But it seems the <code>REBUILD_AFTER_EDIT</code> function afterwards is borken:<br><br><pre>% ./scripts/edit.sh src/2025-04-16-trying-out-bssg.md <br>Updating lastmod timestamp to 2025-04-16 08:54:43 -0500...<br>File saved: src/2025-04-16-trying-out-bssg.md<br>Rebuild skipped (REBUILD_AFTER_EDIT=false).<br>% grep REBUILD config.sh* <br>config.sh:REBUILD_AFTER_POST=true # Build site automatically after creating a new post (scripts/post.sh)<br>config.sh:REBUILD_AFTER_EDIT=true # Build site automatically after editing a post (scripts/edit.sh)<br>config.sh.local:REBUILD_AFTER_EDIT=true<br></pre>If I do<br><br><pre>REBUILD_AFTER_EDIT=true ./scripts/edit.sh src/2025-04-16-trying-out-bssg.md <br></pre>it works as expected as when I exit vim editor after changes in a post, <a href="https://snac.bsd.cafe?t=bssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#BSSG</a> automatically rebuilds. I did not test this yesterday though since edit.sh was not working then.<br>
Stefano Marinelli<p>i'm migrating my old Italian blog to <a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a>, but somewhere in the recent development, I must have introduced some performance regression. The tests I ran about 10 days ago generated a site with 200 posts in about 30 seconds on my Mac. Now, with 170 articles, it takes about a minute. I don't rule out that caching might speed up some parts while slowing down others. I need to try disabling it completely and see if it's worth it</p>
Stefano Marinelli<p>Announcing BSSG 0.12.1: Major Workflow Enhancements and More Control</p><p><a href="https://blog.bssg.dragas.net/2025/04/16/announcing-bssg-0-12-1-major-workflow-enhancements-and-more-control/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.bssg.dragas.net/2025/04/1</span><span class="invisible">6/announcing-bssg-0-12-1-major-workflow-enhancements-and-more-control/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/BSSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSSG</span></a> <a href="https://mastodon.bsd.cafe/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a> <a href="https://mastodon.bsd.cafe/tags/Bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bash</span></a></p>
KaiXinplaying around with <a href="https://snac.bsd.cafe?t=bssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#BSSG</a>. It is much more mature than I expected and amazed me about what bare <a href="https://snac.bsd.cafe?t=bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Bash</a> scripts are capable of. I am really considering migrate! But I am seeing an error with scripts/edit.sh:<br><br><pre>sed: can't read s/^lastmod:.*/lastmod: 2025-04-15 21:21:19 -0500/: No such file or directory<br></pre>Seems like <a href="https://snac.bsd.cafe?t=bssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#BSSG</a> requires <a href="https://snac.bsd.cafe?t=bsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#BSD</a> flavored <a href="https://snac.bsd.cafe?t=sed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#sed</a> ? I am using <a href="https://snac.bsd.cafe?t=debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Debian</a> so <a href="https://snac.bsd.cafe?t=gnu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#GNU</a> flavored <a href="https://snac.bsd.cafe?t=sed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#sed</a> (GNU sed) 4.9<br>