mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#webc

2 posts2 participants1 post today

#introduction

I make websites. Sometimes I toot about it.
#eleventy #webc #php #statamic #laravel #tailwindcss #alpinejs uhhh whatever #sql and I guess #nginx #docker and all that crap all the way down. #fullstack

I play RPGs with friends. Sometimes I toot about it.
#ttrpg #dnd #pathfinder #5e #pf2e

I am my group's sysadmin. Sometimes I toot about it.
#selfhosted #plex #lemmy #mastodon #pihole and throw some darts at selfh.st and you catch the rest.

Hot takes, bad jokes, etc.

selfh.stselfh.st - Self-hosted content and software
More from selfh.st (Self-Host)

I just launched catalog.muralarts.org for Mural Arts Philadelphia. (Design by CooperGraphicDesign.com.)

Built with @zachleat's #eleventy, #webc, and a bastardized version of the `eleventy-image` plugin that makes optimized CSS background images. I call it back-breaker.

Rendering very many AVIF images suuuuuucked on my potato PC, but it was absolutely necessary for such an image heavy design.

catalog.muralarts.orgSpring Catalog | Issue #16 | Mural Arts ProjectThe Mural Arts Program of Philadelphia's 2025 Spring Catalog

I really want to like #WebC for #11ty—there’s a lot of things I do like about it, both conceptually and in practice!—but I keep running into a lot of frustrating moments that are either limitations or bugs. The documentation is pretty underspecified so it’s not always clear to me which they are.

@zachleat What's the state of #WebC would you say?

It's a bit hard to say by looking at the repo alone, where no commits or release can be seen in the last 1.5 years: github.com/11ty/webc

I see that the #11ty WebC base has seen updates recently and I noticed you mentioned it to @brad_frost the other day fediverse.zachleat.com/@zachle

Maybe do what @ada did to her web component helper and do a commit to update the README with current state? github.com/AdaRoseCannon/html-

GitHubGitHub - 11ty/webc: Single File Web ComponentsSingle File Web Components. Contribute to 11ty/webc development by creating an account on GitHub.
Continued thread

I was thinking wrong about this. The VS Code feature we want are not symbols but definitions. Fortunately, definitions are not too hard to implement.

So, the newest extension version comes with support for “Go to Definition” and “Peek Definition”.

The readme also got an upgrade with feature screenshots.

Next up on the to do list would be “Go to References” and “Peek References”. Another cool feature, somewhat related to definitions.

github.com/mvsde/vscode-webc

GitHubGitHub - mvsde/vscode-webc: VS Code language support for the WebC template languageVS Code language support for the WebC template language - mvsde/vscode-webc
Continued thread

It might not look amazing yet, but the prove of concept for Ctrl + clickable WebC component tags is here.

This currently uses VS Code’s document links, which are relatively straightforward to implement, but technically not the correct way to do symbol linking.

So, when I have more time, I’ll dig into the symbol API for extensions, which conveniently lacks any useful documentation / example implementations whatsoever.

github.com/mvsde/vscode-webc/r

So… I got side-tracked while writing a blog post about the WebC migration of my @eleventy powered website and long story short, I created a VS Code extension for WebC instead 😅

It’s super basic for now, providing just the `.webc` to HTML file association and suggestions for WebC-specific HTML attributes including links on hover to the documentation.

I have more plans though, for example linking tags to their respective files so you can Ctrl+Click.

marketplace.visualstudio.com/i

marketplace.visualstudio.comWebC for VS Code - Visual Studio MarketplaceExtension for Visual Studio Code - Language support for the WebC template language

Finally merged and published the WebC rework and light redesign of my website.

I’m by no means a designer (anymore) so I kept things basic and pushed myself to hit that deploy button already after weeks and weeks of being uncertain about it 😅

The site now runs on @eleventy v3 and is fully migrated to ESM, no CommonJS anymore.

fynn.be

fynn.beHello there, I’m FynnFrontend developer, video game collector, interested in tech and computer things, cyclist, Shinson Hapkido, Star Wars and Star Trek.
Replied in thread

@anders @nfd @lene @belldotbz also not trying to open a whole nother can of worms on you…but #WebC is a cool way to get first class web components/custom element support including with eleventy-image 11ty.dev/docs/languages/webc/#
That is how I am handling images in the upcoming eleventeen release. There is a WebC starter here with basic setup github.com/11ty/eleventy-base- that was featured in the latest #11tyBundle 11tybundle.dev/blog/11ty-bundl

EleventyWebCA docs page for Eleventy, a simpler static site generator.

I would like to share some thoughts about working with #WebC.
For some time now I have been using it on a component basis in #Eleventy sites that otherwise depend primarily on Nunjucks or Liquid. The "non-traditional WebC usage" (11ty.dev/docs/languages/webc/#).

For components without major complexity, this is something that works well for me. However, I have also tried to rely entirely on WebC, which, as I understand it, is the intended approach.

EleventyWebCA docs page for Eleventy, a simpler static site generator.

Finally finished the rewrite of my personal website! This time its (almost) entirely WebC!

andy.bond

I simplified my site a lot - largely after being inspired by @cory and his "Now" page. Previously I was rendering a page for every book, show, movie, that I tracked - and it was too much to manage!

Maybe now I will actually write something every once in a while since I will hopefully be done with large overhauls :)

andy.bondHome • Andy BondAndy Bond's personal website and blog.

I've got a cool #eleventy site in the works. Well, the actual end result will not be that interesting, but it's going to be a fun one to build.

I've got a hopelessly out-of-date Drupal site with broken deployments that I'd rather not fix, so I wrote some fairly simple scrapers to grab most of the content and directly generate new #markdown files.

It's all going to be built with #webc and a few #webcomponents.