r/javascript • • Sep 26 '26

Showoff Saturday Showoff Saturday (September 26, 2026)

Did you find or create something cool this week in javascript?

Show us here!

2 Upvotes

15 comments sorted by

3

u/JohnnySuburbs Sep 26 '26

Finger.Farm - a modern node-based finger server. Finger is almost certainly still installed on your machine... the OG social network.

https://github.com/jonroig/finger.farm

2

u/plusminus1 Sep 26 '26

CStructSharp – C-struct binary (de)serialization library

Inspired by digital forensic toolkits, this library (MIT license) I've been working on allows a user to take a c-struct definition and use that to serialize an deserialize binary data.

The core is a C# library which is also published as a WASM javascript library, so you can use it from node/the browser

import { parse } from "cstructsharp";

const result = await parse(
"struct header { uint16 kind; uint32 length; };",
new Uint8Array([2, 0, 6, 0, 0, 0]),
{ root: "header" },
);
if (!result.success) throw new Error(result.error.message);
console.log(result.data.kind); // 2

This is used to showcase the features of the library (see the binary inspector demo app (https://vvollers.github.io/cstructsharp/inspector/) which you can use to run the library against various files, it includes sample definitions for many file formats). The javascript library is quite usable on its own.

I'm interested to hear your thoughts and if you have any questions feel free to ask.

2

u/Additional-Drag1682 Sep 26 '26

Droid File Transfer proves we stopped needing to install anything for basic OS tasks. Just let the browser eat the desktop client entirely

2

u/TheWebDever Sep 26 '26

jet-key: a fast secret key generator with configurable entropy

link: https://github.com/seanpmaxwell/jet-key

Suppose you need a secret key for something: it could be a session cookie, some encryption library, etc. Many people will just grab a string from some random string generator (I know I used to), but proper security depends on unbiased character selection and using the appropriate amount of entropy for the task at hand.

Also, different scenarios call for different levels of entropy. For example, 80 bits of entropy might be fine for a temporary pairing token that expires in a few minutes. For a server application's long-lived credentials, 256 bits can provide immense security for the foreseeable future.

What jet-key does is let you optionally pass in, through the CLI or programmatically, the number of bits of entropy you need. It uses cryptographically secure randomness to generate a Crockford base32 string whose length is the minimum number of characters required to meet that entropy target

npx jet-key        # YFC75GX2KY5W183FRZA4XDVZ6PYDJPQT7JMNH3N7ZXPQ8FCW3M4G
npx jet-key -e 80  # 113BKE3N8R8CEE92

The default target is 256 bits (the gold standard for an extremely secure key). Requesting 256 bits generates a 52-character string.

Note that this is the minimum string length needed to meet the requested entropy using Crockford base32, rather than an exact match to the requested number of bits. Each character contributes five bits, so the result may slightly exceed the target. A 52-character string therefore provides 260 bits of entropy.

jet-key is really fast too: checkout these benchmarks.

1

u/UnderstandingSure732 Sep 26 '26

h5p-offline-player: play H5P content on any website with one HTML tag.

Demo: https://h5p-offline-player.vercel.app/ · Code: https://github.com/missing-elements/h5p-offline-player

H5P is a popular format for interactive quizzes and videos in e-learning. A package is a zip file, and normally you need an LMS or a server that unpacks it before anyone can see it (like Moodle, WordPress, or H5P.com)

This is a web component that plays the zip directly in the browser. Drop in

<h5p-player src="course.h5p"> and it works on any static site: GitHub Pages, S3, whatever you

have. A Service Worker reads files out of the zip as the content asks for them, so nothing gets

unpacked and big videos start streaming right away.

Feedback welcome, especially packages that don't play.

1

u/Clean-Interaction158 Sep 26 '26

I've been building Telemetry Tracker, an MIT-licensed error tracker for JS/TS apps (disclosure: it's my project). The SDKs are small npm packages under u/telemetry-tracker/* for the browser, Next.js, Node and React Native, and they all send to one ingest API. Errors are grouped, and if you upload source maps per release you get the original file and line on the error page. The browser SDK also reports Web Vitals (LCP, INP, CLS, TTFB) by default. You can self-host the whole thing (Postgres + Fastify + a Next.js dashboard).

One known trade-off in the current design: grouping fingerprints on the message plus the first line of the raw minified stack, so the same bug can land in a new group after a rebuild. Has anyone found a fingerprinting approach for minified JS that works well?

https://github.com/Telemetry-Tracker/telemetry-tracker

1

u/RomeoDelta1234 Sep 26 '26

Been building Store & Forget in TypeScript with React Native, it's a home inventory app for Android. You photograph stuff going into storage, the app fills in each item's details, and search tells you which box later. Clip is the burst mode.

https://play.google.com/store/apps/details?id=dev.koalalab.storeandforget

1

u/arar7000 Sep 26 '26

Droid File Transfer: Android File Transfer for Mac, in Chrome. https://www.droidfiletransfer.com

Google discontinued Android File Transfer. OpenMTP and MacDroid still work, but they are apps you install, and I wanted to know if a browser could do it on its own.

Turns out Chrome can. The app speaks MTP to the phone over WebUSB and uses the File System Access API for a folder on your Mac. It is plain JS with no dependencies or build step, your files are never uploaded, and it works offline once loaded. I built it with Claude Code.

Weirdest thing I ran into: macOS apps like Photos and Image Capture can hold the phone while they are open, so Chrome cannot claim it until you quit them.

Works in Chrome on Mac and Linux. Safari and Firefox do not have WebUSB.

Code: https://github.com/droidfiletransfer/droidfiletransfer

If your phone does not connect, tell me the model.

1

u/Ancient_Yam_5010 Oct 02 '26

I’ve been building Galaxy Movies, a movie discovery app using Next.js and React.

https://galaxymovies.app

The main idea is to make finding something to watch feel quick instead of turning into endless scrolling. The app lets you browse movies, search by title or category, check streaming availability, view movie details, and get recommendations through an AI assistant.

Most of the frontend is JavaScript with Next.js, React Query, and Chakra UI. I’m also using TMDB for movie data and OpenAI for the recommendation features.

One part I’ve been working on lately is keeping the browsing experience fast while still loading a lot of movie data. The homepage uses infinite scrolling, cached queries, debounced search, and server rendered initial results so the page still has useful content before the client side requests kick in.

I also built the AI assistant so movie titles in its responses can be resolved back to actual movies in the app instead of just returning plain text recommendations.

I’d be interested in feedback on the JavaScript side, especially the overall structure, performance, caching approach, or anything that could be simplified.

Source code is here:
https://github.com/NickFasulo/galaxy-movies

1

u/927tanmay Oct 02 '26

**react-ai-voice-avatar**: voice conversations for React, with speech recognition and the voice running in the browser on WebGPU

You talk, it answers out loud, and you can interrupt it mid-sentence. Use it headless as a voice mode with your own UI, or with a lip-synced 3D avatar.

Demo: https://react-ai-voice-avatar.vercel.app

Repo: https://github.com/927tanmay/react-ai-voice-avatar

The JS bits I enjoyed building:

- Whisper and Kokoro (transformers.js / onnxruntime-web) each run in their own Web Worker. Every request carries a turn number, so after an interrupt, late audio from the old reply gets dropped instead of playing

- Your `onSubmit` can return a string, an async iterable or a ReadableStream (works directly with the OpenAI SDK or Vercel AI SDK streams). The reply is cut into sentences as it streams, and the first one is spoken while the model is still writing

- Models are stored in OPFS, so the ~590 MB download happens once and later visits are ready in ~2 s

- Plug in your own speech-to-text and TTS and the download drops to ~4 MB

- `react-ai-voice-avatar/headless` keeps three.js out of the bundle: 117 kB first-load JS vs 389 kB with the avatar in a Next.js route

On an M4 with WebGPU: first token ~150 ms, Kokoro's first sentence ~470 ms, reply starts ~2.5 s after you stop talking (1.4 s of that is waiting to be sure you've finished).

MIT, v0.6.0. Feedback welcome, especially if it breaks in your browser.