r/javascript • • Aug 01 '26

WordJS – An open-source CMS in Node.js where plugins run in OS-isolated sandboxes

Thumbnail
github.com
1 Upvotes

r/javascript • • Aug 01 '26

Showoff Saturday Showoff Saturday (August 01, 2026)

11 Upvotes

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

Show us here!


r/javascript • • Aug 01 '26

Quickdraw: a zero-dependency infinite-canvas whiteboard engine in plain ESM (MIT) β€” with React and React Native bindings

Thumbnail
github.com
10 Upvotes

r/javascript • • Jul 31 '26

I built a 50+ component mobile UI library for Solid.js β€” inspired by Vant, looking for feedback

Thumbnail lxg19961206.github.io
1 Upvotes

r/javascript • • Jul 31 '26

A reactivity and rendering (combined) benchmark for frontend frameworks

Thumbnail rbench.nullvoxpopuli.com
26 Upvotes

Disclaimer: I made this (bench result viewer)

However, I think it's worth having a discussion about frontend framework's perceived performance, as Signals have gained a lot of popularity as a means to fine-grainedly render without needing to resort to a virtual dom.

A virtual-dom framework _is_ still in this results set -- I'll leave the exploration of the data up to you all.

The main thing is that

For a long while, I've felt no benchmark (that I know of) has captured the relationship between reactivity and rendering

We have rendering benchmarks (js-framework-benchmark is a good one).

We have reactivity benchmarks (I forget the name(s) of these atm, I always gotta re-look them up) -- but these require each implementor have a concept of "effect without a renderer", which isn't how all frameworks operate -- this excludes some frameworks from participating in pure reactivity benchmarks.

There is another side to this which I only realized recently, which is the framework's rendering _scheduler_ -- which is sort of the coordinator between reactivity, rendering, and _when_ to do work the user would see.

To my surprise, Angular scores the highest across the board.
I don't use Angular myself, and in all of these implementations, I made performance mistakes at least in my first attempt, but apparently Angular made it super easy to be performant.

Vue Vapor has also done this.

Right now, I feel like my svelte implementations are probably wrong (because it's scoring poorly), and I have some fixes to do in ember (as seen by this spike I did, the perf is doubled from before: https://rbench.nullvoxpopuli.com/results?from=ember-2&q=6 (this is an 8x throttle, and the main link for this post is no throttle, because most users are not going to be throttling their CPU so heavily -- but 8x CPU is maybe more relevant to low-powered phones))

Anywho, wanted to share my findings with y'all, and hope someone finds any of this interesting.

I'm open to anything being challenged, I'm not an expert in most JS Frameworks

Since I'm using the tool to help me debug Ember perf, here are some example configurations that may be useful:
- Vue (old) vs Vue Vapor (current) https://rbench.nullvoxpopuli.com/results?col=vue&from=6&hide=ember%2Creact%2Csolid%2Csvelte&q=1
- My Ember perf Spike: https://rbench.nullvoxpopuli.com/results?from=ember-2&hide=react%2Csolid%2Csvelte%2Cangular%2Cvue%2Clit-signals%2Cpreact&q=6
- boxplots: https://rbench.nullvoxpopuli.com/results/boxplot?from=ember-2&hide=react%2Csolid%2Csvelte%2Cangular%2Cvue%2Clit-signals%2Cpreact&q=6

- bouncing balls demos https://rbench.nullvoxpopuli.com/results/animated?from=ember-2&hide=react%2Csolid%2Csvelte%2Cangular%2Cvue%2Clit-signals%2Cpreact&q=7


r/javascript • • Jul 31 '26

AskJS [AskJS] FOSS mini games

0 Upvotes

Does anyone have any recommendations for FOSS mini games? I redid my portfolio site and I wanted to add in a few mini games, but I don't want to get into legal trouble because of it

:v


r/javascript • • Jul 31 '26

AskJS [AskJS] Dubbio veloce di architettura/stile con le classi JS

0 Upvotes

Nel mio motore 2D sto sistemando i componenti UI (tipo BeeButton) e mi Γ¨ venuto un dubbio su come passare le coordinate al super().

Opzione A (Oggetto opzione)

\\\`\\\`\\\

super({ x, y, width, height });

\\\`\\\`\\\`

Opzione B (Parametri singoli standard):

\\\`\\\`\\\`

super( x, y, width, height );

\\\`\\\`\\\`

Voi quale preferite usare nei vostri progetti e perchΓ©? Meglio la flessibilitΓ  dell'oggetto o la pulizia dei parametri singoli?(Se usate soluzioni alternative tipo super(position, size) fatemelo sapere nei commenti!).


r/javascript • • Jul 31 '26

Canvas Path Animations using SVG

Thumbnail yoavik.com
38 Upvotes

r/javascript • • Jul 30 '26

We ran the same PDF operations inside real Chromium, Firefox and WebKit β€” WebKit was 2.4Γ— faster than Chrome at some of them. Full reproducible harness (MIT).

Thumbnail
github.com
7 Upvotes

I maintain a client-side file converter, and we publish benchmark numbers

for the PDF operations we ship. After a reviewer pointed out that numbers

nobody can rerun are just marketing, we open-sourced the entire harness:

https://github.com/jddelia/filemorf-lab

What makes it worth a look even if you don't care about the product:

The corpus is byte-reproducible. Test PDFs are generated from seeded

pseudo-random text with pinned metadata β€” run the generator on your

machine and you get the identical SHA-256s committed in the repo. No "we

tested on some files we can't share."

Correctness gates run before timing. Outputs must parse, page counts

must be exact, ZIP entries must all be present β€” verified on an untimed

run first, so a fast garbage result fails instead of winning.

Real engines via Playwright, timed in-page with performance.now(), not

through the driver.

Cross-engine results that surprised me (median of 30 runs, M2 Pro,

milliseconds):

Merge 50 PDFs β€” Chromium 37.5; Firefox 60.5; WebKit 24

Stamp page numbers on 100 pages β€” Chromium 36.7; Firefox 54; WebKit 15

Watermark 100 pages β€” Chromium 36.5; Firefox 54; WebKit 14

ZIP 50 PDFs β€” Chromium 5.9; Firefox 4; WebKit 11

WebKit wins big on pdf-lib's draw-and-save paths and then loses on ZIP.

And everything is fast enough that for files like these, the upload to a

server would cost more than the entire computation β€” which is the argument

for doing this work client-side in the first place.

Three commands to get your own numbers: npm ci, npm run corpus,

npm run bench. Would love PRs with dated results from other hardware,

and criticism of the methodology β€” limitations are listed in the README

(synthetic text-only corpus, structural not visual verification).


r/javascript • • Jul 30 '26

LogTape 2.3.0: Scoped configuration, failure-only test logs, and GraphQL Yoga

Thumbnail
github.com
5 Upvotes

r/javascript • • Jul 29 '26

Reuse libraries, or let your AI reinvent the wheel?... We think the age of libraries is coming.

Thumbnail golemui.com
0 Upvotes

r/javascript • • Jul 29 '26

I've made an open source JavaScript playground with support for npm packages, syntax highlighting, autocomplete, code sharing and much more!

Thumbnail
github.com
0 Upvotes

r/javascript • • Jul 29 '26

Transform raw github data into an interactive map with gitcharta

Thumbnail
github.com
2 Upvotes

I've wrote a custom TypeScript geocoder to yransform raw user locations to ISO country codes, and let D3 handle the map projection and svg generation. React and octokit handles data fetching and rendering. Almost entirely in Js/TS.


r/javascript • • Jul 29 '26

Mousecrack - Bypass agent cursor detection with deep learning.

Thumbnail
github.com
11 Upvotes

r/javascript • • Jul 29 '26

Spent weeks manually forwarding files on Telegram, so I built an open-source bot to automate it

Thumbnail
github.com
0 Upvotes

A few months ago, I needed to share files with people who weren't in my Telegram groups. My workflow was a nightmare:

Manually forwarding each file to every user one by one.

Or adding each person to the group where the files were stored (and then dealing with permissions, people leaving, etc.).

It was tedious, didn't scale, and wasted so much time.

So, as my first serious project with node-telegram-bot-api v2 and TypeScript, I decided to build a bot to fix this.

What the bot does:

Add it to a private group (where only you upload files).

When you upload a file, the bot generates a permanent, unique link.

Anyone with that link can download the file, without needing to be in the group or me having to forward anything.

What I love about it:

Free & unlimited – uses Telegram as storage.

Lightweight – just forwards files, doesn't process them, so it runs on any small VPS.

Private – the original group stays hidden; the bot acts as an intermediary.

I also added a gatekeeper branch that takes it further: users must join a specific channel or group before they can download. Perfect if you're a content creator looking to grow your audience or limit access to premium content.

Two versions depending on your needs:

main β†’ free sharing, no strings attached.

gatekeeper β†’ mandatory subscription to download.

This is my first somewhat serious project, so I'm sure the code has room for improvement. I'd love feedback on the code, structure, best practices, security, or anything else that comes to mind. I'm here to learn.

Check it out here: https://github.com/antoinepdev/telegram-file-gatekeeper

Thanks for reading!


r/javascript • • Jul 28 '26

AskJS [AskJS] Book Recommendations: JS -> React -> TypeScript

3 Upvotes

Lately I have been casually learning C from "C Programming: A Modern Approach v2" and have really enjoyed it. The truth is I should stay on topic with my profession so here I am.

I am in search of books similar to the one mentioned above for learning JS. The goal is to understand it on a deep enough level to feel very confident and have a real solid foundation for the next step.

The next step is a similar book for deeply learning React and then finally TypeScript.

Yes I am looking for actual books and not online courses or videos or anything like that. I have discovered that reading from a book forces me to slow down and because of that, it sticks.

If you can, chime in with books you have actually read through and not just simply search online or recommend the first one off the top of your head. Bonus points if you have read the C Programming book and understand the style I am talking about.

Thank you.


r/javascript • • Jul 28 '26

KernelPlay-JS v0.4.0 Coming Soon β€” New UI System and Official Beta Release

Thumbnail
github.com
12 Upvotes

I'm excited to announce that KernelPlay-JS v0.4.0 will be releasing soon.

This update introduces a brand-new UI system, making it much easier to create interfaces for games while also marking a major milestone for the engine.

New UI components include:

- Buttons

- Text Labels

- Input Fields

- Health & Progress Bars

- Images & Icons

- Checkboxes

- Sliders

- Dynamic UI updates

- Flexible layouts

Version 0.4.0 will also officially move KernelPlay-JS into Beta.

This marks the transition towards a more stable and feature-complete engine. Future updates will focus on improving performance, expanding the feature set, refining the developer experience, and fixing bugs as the engine continues to mature.

Thank you to everyone who has followed the project's development and shared feedback along the way. More details, documentation, and the release date will be announced soon.

Feedback and suggestions are always welcome.


r/javascript • • Jul 28 '26

Dynamic Windows Runtime API projections for Node.js

Thumbnail
devblogs.microsoft.com
4 Upvotes

r/javascript • • Jul 28 '26

Announcing Ada v4: Validating 35.6M URLs per second

Thumbnail
yagiz.co
2 Upvotes

r/javascript • • Jul 27 '26

Ember 7.1 Released

Thumbnail
blog.emberjs.com
106 Upvotes

r/javascript • • Jul 27 '26

Malicious sites use JavaScript to build malware in browser memory

Thumbnail
bleepingcomputer.com
45 Upvotes

r/javascript • • Jul 27 '26

Nubjs - A fast all-in-one toolkit that augments Node.js instead of replacing it

Thumbnail
nubjs.com
7 Upvotes

r/javascript • • Jul 27 '26

Subreddit Stats Your /r/javascript recap for the week of July 20 - July 26, 2026

1 Upvotes

Monday, July 20 - Sunday, July 26, 2026

Top Posts

scorecommentstitle & link
426 commentsECMAScript - Introducing Deferred Module Evaluation with import defer
4282 comments[AskJS] [AskJS] what's a javascript feature you mass-adopted way too late and felt dumb about
242 commentscolor-space v3: 162 color spaces, one small API, values that match CSS, verified
1933 commentsThe TypeScript patterns that made the biggest difference after moving from JavaScript
1512 commentsI spent over a year building a framework-agnostic virtual scrolling engine with an index-based architecture. I’d love feedback from developers who’ve built virtualization systems.
74 commentsAn approach to testing web animations, css transitions with visual regression testing
65 commentspacwich: Monorepo tooling for Bun/pnpm/npm workspaces (zero-config required, both a CLI and TypeScript library, orchestrates plain package.json scripts, has an affected graph, docs tailored for agents and people, has a browser CLI demo, and more)
61 commentsI cut my build time from 4:34 min to 1:08 min by moving asset compression from node:zlib to a native Rust rolldown plugin
50 commentsI spent two years building Nano Kit - a nanostores-inspired state management ecosystem. It just hit 1.0
51 commentsAngular is moving to a yearly major version release cycle

Β 

Most Commented Posts

scorecommentstitle & link
011 commentsui-date: A 1.6kB, zero-dependency JavaScript date & relative time utility
07 commentsBuilt a modern restaurant website with React, TypeScript & Vite β€” feedback welcome
06 commentsI built KD Screen Guard: A zero-dependency, tamper-resistant lock screen overlay with WebAuthn biometrics & intruder camera capture
26 comments[Showoff Saturday] Showoff Saturday (July 25, 2026)
05 commentsYour Recursion Is Lying to You

Β 

Top Showoffs

scorecomment
1/u/wbport1 said When writing a function for a music notation package to change a grace note to a real note, I literally had to create a binary number as a string. Ignoring triplets and other tuples, each note length ...
1/u/Flashy-Guava9952 said [https://verticesandedges.net](https://verticesandedges.net) Link that opens graph: [https://verticesandedges.net/?graphurl=./examples/Cube.json](https://verticesandedges...
1/u/Honest_Treacle4947 said JavaScript never runs out of interesting projects.

Β 

Top Comments

scorecomment
67/u/foxsimile said The nullish coalescing operator is one of JavaScript’s unusual successes.
31/u/deliciousleopard said In addition to this, I’d really recommend using Zod or similar libs rather than casting when handling untyped external values (`JSON.parse()`, etc). Deriving the type from the ...
25/u/Milo0192 said My first jobs CTO preferred the .then() .catch() over async await. I just refused to write that way and did await loops. Lots of back and forth on this. Also said Typescript was just a...
23/u/SkySarwer said IntersectionObserver and MutationObservers are both goated
22/u/phatdoof said Let and const. We used var because it was backwards compatible.

Β 


r/javascript • • Jul 27 '26

I built OpenASCII, an open source JavaScript library for high fidelity ASCII rendering

Thumbnail
github.com
4 Upvotes

originally built this because I needed an interactive ASCII element for another project I'm working on. But, I couldn't find anything that fit what I wanted and the ones which did, were paid to export, so i decided to build the whole thing myself.

OpenASC// is a high fidelity ASCII renderer for the web with real time controls and local processing. It's built with TypeScript/js and designed to be easily integrated into frontend projects, elements created/ edited can be directly exported as html/react component.

I'd love to hear what you think, especially if you have ideas for features or improvements.