New Asciinema Hugo Module Versions

I’ve just added the last 8 versions of the Asciinema player to gohugo-asciinema, my Hugo module to easily integrate the Asciinema player to your website. Lots of exciting new features, like improved decoding and rendering efficiency as well as some support for streaming asciicasts. See the changelog links below for details of the changes. There were no changes made to the Hugo module itself, besides copying the JS & CSS from the Asciinema player....

March 7, 2024 · 2 min

GoHugo Asciinema

 cljoly/gohugo-asciinema Want to insert a short demo of your tool or of a command execution on your website? You could insert a video, but then visitors can’t copy text, and it’ll make your page quite heavy. The Asciinema player solves all of that, by replaying a terminal session stored in a text file. This Hugo module makes it very easy to use the Asciinema Player on your Hugo-powered static website....

GoHugo Shorturl

 cljoly/gohugo-shorturl Create shorter urls to external resources for your own convenience or to your own content, to get the benefits described by Derek Sivers. Install If you haven’t used hugo modules before (you need the go compiler): hugo mod init <my-module-path> more details in hugo docs. Then run: hugo mod get -u -v joly.pw/gohugo-shorturl and edit your hugo config, for instance for config.toml [module] [[module.imports]] path = "joly.pw/gohugo-shorturl" Use Imagine we want to create the short url https://my....

README In Static Site (RISS)

 cljoly/readme-in-static-site This fast script allows you to insert your GitHub README in your static site and apply transformations. For instance, you can read this README on GitHub and on my website. Why? The GitHub README of your repo needs to efficiently describe your project to GitHub’s visitor. But featuring your project on your website allows you to (among other things): have more control on the theme and layout, insert scripts that GitHub would prohibit (like asciinema), have your project’s homepage independent of your hosting platform, if you wish to change at some point....