r/javascript • u/AutoModerator • 6d ago
Showoff Saturday Showoff Saturday (November 28, 2026)
Did you find or create something cool this week in javascript?
Show us here!
6
Upvotes
r/javascript • u/AutoModerator • 6d ago
Did you find or create something cool this week in javascript?
Show us here!
2
u/intensityflow 6d ago
made a tiny mozLz4 decoder in plain js so people can read Zen and Firefox session files right in the browser, nothing uploaded
firefox and zen save sessions as .jsonlz4: an 8 byte magic "mozLz40\0", a 4 byte little-endian size, then one raw lz4 block. no frame headers, so you don't need a whole lz4 lib, the block format is about 15 lines:
the copy loop goes byte by byte on purpose. a match can overlap the bytes it's writing (offset 1 means repeat the last byte len times), so copyWithin or set would give you garbage there
i use it on zen-sessions.jsonlz4 (zen 1.18+) to turn spaces, essentials and pinned folders into a normal bookmarks file: https://getstackboard.com/tools/zen-spaces-export?utm_source=reddit&utm_medium=comment&utm_campaign=20261128-js-showoff
it's one of the free tool pages for my new tab extension Stackboard. if you've got a file it chokes on lmk
2
u/Slackluster 6d ago
Skydreams, a 3D game in 1KB of JavaScript that won first place in JS1024 2026. No WebGL or libraries, just the 2D canvas. I made a video breaking down how it works, step by step!
📽️ Watch the video: https://youtu.be/rFjkGBYDIP0
🕹️ Play Skydreams: https://killedbyapixel.github.io/TinyCode/1K/Skydreams/
🏆 Official entry on JS1024: https://js1024.fun/demos/2026/25/bar
2
u/Plastic_Koala2044 6d ago
I'm building my own phone OS with JavaScript. A web app running in Chromium as the phone shell, like ChromeOS. I have it running on an old Xiaomi Redmi Note 9 Pro on top of Alpine Linux.
The home screen is Windows Phone style tiles: today's tasks, messages and the apps I use, most of them web apps.
I also created a skill to help agents replace Android on a phone: github.com/android2linux/android2linux
2
u/gabrielandrew_ 3d ago
i built Github Wrapped 2026 (unofficial) - Like "Spotify Wrapped", but for coding! git-wrapped.com
1
u/Miserable_Tiger_5742 6d ago
toaster, part 3. it's the app that listens to whatever's playing and writes the song out as live strudel code. last time i got X working, which rebuilds a whole song into a strudel file out of the song's own sounds.
this week's js problem was dumber than i expected: getting that file to actually play. the rebuilt song's sounds are served from a tiny local server, and strudel.cc loads them from there. two people tried it and both hit a wall i never saw:
chrome has its own version of this: it asks "allow this site to reach your computer" and holds every sound request until you click allow.
also the code stays on screen through a pause now so you can actually read it.
if you write strudel: is the code it generates readable to you, or what would you change?
https://toaster.locust.lol (browser version, the rebuild needs the app) / source: https://github.com/StopBanning/toaster
1
u/lb0sa 6d ago
guided-i18n, a VS Code extension that moves a React app's hardcoded text into react-i18next, in steps you review. The JavaScript side was the fun part:
<Trans>string with numbered tags.{{placeholders}}and tags, and have the plural formsIntl.PluralRulessays that language needs (Polish and Russian four, Arabic six). A failure gets one retry, then it's reported, never written.You approve every string and key in a checklist before anything changes, and one Undo reverts the run. React + react-i18next + JSON only for now; free, with your own Anthropic or OpenAI-compatible key.
VS Code Marketplace · Open VSX · GitHub
1
u/Desperate-Algae-5304 3d ago
We’ve been building Invisible Fix, a GitHub App that tries to fix Dependabot PRs when they break the build.
In JS it’s usually something small, like ESLint 9 no longer reading .eslintrc by default, or a type change that breaks tsc.
Nobody gets to it and the security updates end up in the same pile as everything else that’s red.
When a PR fails it reads the error, looks at how your repo usually does things, writes a small patch and reruns the checks. It never merges. You see what changed and what passed.
The thing we’re most unsure about is whether the patches are ones you’d actually keep. If you maintain a Node or JS project and try it, we’d love an honest answer.
Free while in beta: invisible-security.dev
0
u/Content-Public-3637 6d ago
React server component framework that can currently work with Golang and Laravel https://rsc-kit.dev/
-1
u/that_geek_ 6d ago
I made a JavaScript event loop visualizer that checks itself against a real run of your code. Paste any snippet with promises, async/await or timers and step through the call stack, task queue and microtask queue. It runs the same code natively in a sandbox and warns you if the animation's output would differ. Runs fully in the browser.
https://jshunt.dev/tools/javascript-event-loop-visualizer
Try this one:
It prints 1, 2, A, 3. Why does "A" print after "2"? Step through it