home.social

#html — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #html, aggregated by home.social.

  1. Version 0.3.2 of Pyriodic Backend has been deployed to PyPi!

    Pyriodic Backend, the Backend for the Static Web, is my Python project aimed at small, static HTML websites like blogs or personal websites.

    It allows to periodically update certain parts of the webpage, for example to show the temperature, or the time, or the battery level.

    It works by directly editing specific tags of the website using BeautifulSoup under the hood.

    It's aimed to run on SBCs and other small computers.

    Link: https://pypi.org/project/pyriodic-backend/

    I am using it to show battery and solar panel statistics for my offgrid blog:

    https://slomaislonce.pl/serwer/

    #python #smallWeb #HTML #personalWebsite #blog

  2. Sneak preview:

    If you’re curious about HTML Minifier or want to check your configuration, try HTML Minifier Setup—in your (unminified) export, run `npx html-minifier-setup` to get a recommended configuration.

    Full update soon!

    npmjs.com/package/html-minifie

  3. 📐 SVG: ‹feDiffuseLighting›

    Applies soft, matte-style lighting to an SVG graphic in a filter.

    developer.mozilla.org/en-US/do

    #HTML #WebDev #DailyHTML

  4. JavaScript minification:

    From my tests with HTML Minifier (and HTML Minifier Next), SWC is about ten times faster (!) than Terser.

    While Terser is the default for JS minification in HTML Minifier, you can easily switch engines:

    github.com/j9t/html-minifier#j

    Bundle size and changed output (though now within ±0.06%) have so far held me from switching defaults, but I’m increasingly concerned about Terser’s posture in terms of how they handle security and performance issues. I’ll share updates.

    #javascript #html #htmlminifier #minification #swc #terser #performance

  5. Overriding Heading Levels With the `headingoffset` HTML Attribute, by @dxnny.fun (@frontendmasters.com):

    blog.master.dev/overriding-hea

  6. It's interesting how the #web evolves, only to cycle back to plain text files. After years of increasingly complex #documentation platforms, we're back to Markdown files. #Anthropic hosts a lot of #Markdown files under code.claude.com/docs/en/, not for humans but for machines to read. And this was exactly the original idea behind #HTML, to be read by maschines. #plaintext

  7. HTML5 Video Not Properly Encoded: Causes and Fixes, by (not found or attributed):

    html5doctor.com/html5-video-no

    #html #multimedia

  8. Depuis quelque temps, presque TOUS les posts de Stack Overflow sur lesquels je tombe en cherchant dans ddg sont vieux. Je tombe sur des trucs de 2009, 2014, parfois 2020 si je suis chanceux.

    Quand on parle de Javascript, de CSS, ou même d'HTML, c'est totalement à côté de la plaque. Les solutions sont totalement obsolètes.

    #JS #CSS #HTML #StackOverflow

  9. min gamle drøm -- om å jobbe med kontrakter som med kode -- gikk endelig i oppfyllese!

    jeg fikk kastet på meg 4 sett med dokumenter for tjenestevilkår og personvern alle skrevet i word.

    etter 2 uker med refactoring ligger alt i git som markdown, med automatisk bygging til #html og #pdf hver gang det gjøres en commit.

    jeg har ikke så mye forhold til innholdet ennå, men strukturen ble skikkelig bra! dokumentene har commit-hashen som id og viser til git for historikk!

    vilkar.lavli.no/

  10. One of the exciting new features in the Kitten API version 1 release I made over the weekend is automatic updates.

    When automatic updates are on, a deployed Kitten server will:

    1. Check for updates to Kitten as well as the installed Kitten app at an interval that you can customise.

    2. Correctly handle updates between major (breaking) Kitten versions. (In other words between Kitten API versions, e.g., from 1 to 2, 2 to 3, etc.) This includes ensuring that the installed app has a compatible version before upgrading and seamlessly handling app upgrades across breaking changes.

    3. Rollbacks: if, for whatever reason, an upgrade fails, it is automatically rolled back (this includes your databases).

    The only thing you need to add to your apps to take advantage of this is an `engines.kitten` entry to your package.json file set to the API version your app has been tested with (currently, should be “1”).

    You can also, of course, manually update both Kitten and your app before the next check via Kitten Settings (see second screenshot) and you can also set up a webhook so that pushing to your main or release branch updates the app immediately on a single server.

    If you app has a release branch, that’s what Kitten checks for updates and you can deploy, e.g., from `main`, using `git push origin main:release`. Otherwise, Kitten will check your default branch, which is usually `main`.

    For more details, see:

    ⁃ Updating Kitten: kitten.small-web.org/reference

    ⁃ Versioning: kitten.small-web.org/reference

    You can get and play with kitten at kitten.small-web.org

    Enjoy!

    :kitten: 💕

    #Kitten #SmallWeb #SmallTech #web #dev #HTML #CSS #JavaScript #automaticUpdates #deployment

  11. Alright, folks. This one has been a long time coming.

    Today I'm excited to announce Angular (@angular) wrappers for Custom Elements!

    #html #css #javascript #WebDev #WebComponents
    wc-toolkit.com/integrations/an

  12. CW: Article: "Things" is a thing that showcases my things.

    This week I relaunched my static site, Dan Q's Things, that catalogues my various Web projects. I'm pretty pleased with the new version! Let me tell you about why...
    Read more: danq.me/2026/11/11/things-rebo

    #article #blogging #css #html #html5 #meta #ruby #web

  13. CW: Video: "Things" is a thing that showcases my things. [Video]

    A video tour of my favourite five features of the Dan Q's Things website I just re-launched, because I'm moderately proud of it.
    Read more: danq.me/2026/11/11/things-rebo

    #video #blogging #css #html #html5 #meta #ruby #video #web

Share on Mastodon

Enter the server where you have an account.