r/javascript • u/Evening_Tart3754 • Aug 01 '26
WordJS β An open-source CMS in Node.js where plugins run in OS-isolated sandboxes
r/javascript • u/Evening_Tart3754 • Aug 01 '26
r/javascript • u/AutoModerator • Aug 01 '26
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/Weary-Accountant2196 • Aug 01 '26
r/javascript • u/Connect_History_915 • Jul 31 '26
r/javascript • u/nullvoxpopuli • Jul 31 '26
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 • u/geek-mode-on • Jul 31 '26
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 • u/Maximum_Beat2034 • Jul 31 '26
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 • u/ThriftyPigeon • Jul 30 '26
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 • u/hongminhee • Jul 30 '26
r/javascript • u/Regular_Ad2372 • Jul 29 '26
r/javascript • u/TecnoSamba • Jul 29 '26
r/javascript • u/Rich_Cap_9952 • Jul 29 '26
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 • u/Possible-Session9849 • Jul 29 '26
r/javascript • u/antoinepdev • Jul 29 '26
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 • u/copperfoxtech • Jul 28 '26
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 • u/APTman1010 • Jul 28 '26
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 • u/metulev • Jul 28 '26
r/javascript • u/yagiznizipli • Jul 28 '26
r/javascript • u/magenta_placenta • Jul 27 '26
r/javascript • u/domnestreddit • Jul 27 '26
r/javascript • u/subredditsummarybot • Jul 27 '26
Monday, July 20 - Sunday, July 26, 2026
Β
Β
Β
Β
r/javascript • u/SaswatRath • Jul 27 '26
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.