veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

240
active users

#esmodules

0 posts0 participants0 posts today
data0<p>I've built a thing.</p><p>Sometimes my follower count seemingly fluctuates at random. To understand why, I dug into the <a href="https://indieweb.social/tags/MastodonAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MastodonAPI</span></a> and created "fedi-followers":</p><p>A privacy-friendly <a href="https://indieweb.social/tags/fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediverse</span></a> <a href="https://indieweb.social/tags/followers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>followers</span></a> explorer as local-only static web app, decentrally hosted on the <a href="https://indieweb.social/tags/ipfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ipfs</span></a>. See who's actually following (and unfollowing) you over time and much more.</p><p><a href="https://fedi--followers-data0-one.ipns.dweb.link/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fedi--followers-data0-one.ipns</span><span class="invisible">.dweb.link/</span></a></p><p><a href="https://indieweb.social/tags/mastodev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodev</span></a> <a href="https://indieweb.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://indieweb.social/tags/webapp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webapp</span></a> <a href="https://indieweb.social/tags/staticwebapp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>staticwebapp</span></a> <a href="https://indieweb.social/tags/nobuild" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nobuild</span></a> <a href="https://indieweb.social/tags/esmodules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>esmodules</span></a> <a href="https://indieweb.social/tags/importmaps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>importmaps</span></a> <a href="https://indieweb.social/tags/indexeddb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indexeddb</span></a> <a href="https://indieweb.social/tags/preact" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>preact</span></a> <a href="https://indieweb.social/tags/htm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htm</span></a></p>
🧿🪬🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>It sucks that <a href="https://mastodon.social/tags/SkyPack" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SkyPack</span></a> didn't catch on.</p><p><a href="https://docs.skypack.dev/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">docs.skypack.dev/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mastodon.social/tags/javaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javaScript</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.social/tags/esm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>esm</span></a> <a href="https://mastodon.social/tags/modules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>modules</span></a> <a href="https://mastodon.social/tags/esmodules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>esmodules</span></a> <a href="https://mastodon.social/tags/packageManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>packageManagement</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/cdn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cdn</span></a> <a href="https://mastodon.social/tags/deno" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>deno</span></a> <a href="https://mastodon.social/tags/node" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>node</span></a> <a href="https://mastodon.social/tags/npm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>npm</span></a></p>
🧿🪬🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>I'd like to spend some more time with <a href="https://mastodon.social/tags/WebComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponents</span></a>, <a href="https://mastodon.social/tags/ServiceWorkers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ServiceWorkers</span></a>, <a href="https://mastodon.social/tags/WebSockets" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebSockets</span></a>, <a href="https://mastodon.social/tags/OffscreenCanvas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OffscreenCanvas</span></a>, <a href="https://mastodon.social/tags/WebWorkers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebWorkers</span></a>, <a href="https://mastodon.social/tags/WebGPU" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebGPU</span></a>, <a href="https://mastodon.social/tags/SVG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SVG</span></a>, and the <a href="https://mastodon.social/tags/GamePad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GamePad</span></a> <a href="https://mastodon.social/tags/API" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>API</span></a>. </p><p>I've been noodling for a long time about how you could build a game using <a href="https://mastodon.social/tags/ESModules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ESModules</span></a>, and <a href="https://mastodon.social/tags/CustomElements" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CustomElements</span></a> to allow players to author their own components to extend the game. </p><p>I guess I'm just more interested in how the game works mechanically than how it looks.</p>
Aral Balkan<p>Here’s a niche gotcha with the clipboard API’s `navigator.clipboard.writeText()` method that’s unique to Safari:</p><p>If you access a function from a module within your gesture handler (e.g., click handler), you will get a permission error.</p><p>The (sadly hacky and not as robust) workaround is to set a global variable from your module instead.</p><p>Full gist: </p><p><a href="https://codeberg.org/aral/gists/src/branch/main/clipboard-writetext-permission-error-when-using-modules-in-safari.md" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/aral/gists/src/br</span><span class="invisible">anch/main/clipboard-writetext-permission-error-when-using-modules-in-safari.md</span></a></p><p><a href="https://mastodon.ar.al/tags/Safari" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Safari</span></a> <a href="https://mastodon.ar.al/tags/clipboardAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clipboardAPI</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/ESModules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ESModules</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/gist" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gist</span></a></p>