Hacker News with Generative AI: Javascript

Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby (github.com/mastra-ai)
Mastra is an opinionated Typescript framework that helps you build AI applications and features quickly. It gives you the set of primitives you need: workflows, agents, RAG, integrations and evals. You can run Mastra on your local machine, or deploy to a serverless cloud.
Open source back end for role play voice agents (github.com/alievk)
Voi is a free and open source backend for realtime voice agents. Check the JS client.
There's Math.random(), and then there's Math.random() (2015) (v8.dev)
Math.random() is the most well-known and frequently-used source of randomness in Javascript.
Create React App is now deprecated (github.com/facebook)
A bookmarklet to kill sticky headers (2013) (mcdiarmid.org)
There is currently a trend for using sticky headers on websites. There's even a sticky header web startup.
Learn Yjs Interactively (learn.yjs.dev)
Welcome to Learn Yjs — an interactive tutorial series on building realtime collaborative applications using the Yjs CRDT library.
Show HN: Real-time nonlinear optics simulation (JS/GLSL) (github.com/westoncb)
An interactive study of controlled nonlinear dynamics, implemented through the concrete example of coupled optical fields.
Show HN: TypeScriptNotebook – Experiment with NPM in the Browser (typescriptnotebook.com)
Show HN: TypeScript/React/Vue Window Layout Manager (Tabs, Floating, Popouts) (github.com/mathuo)
Zero dependency Docking Layout Manager. Supports Vanilla TypeScript, React and Vue.
Clay – UI Layout Library (nicbarker.com)
Hexagon Page Animations (redblobgames.com)
When I first wrote my hexagon guide[1] in 2013 I used d3.js[2], which has a nice animation system.
Supply Chain Attack Detected in Solana/Web3.js Library (socket.dev)
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Following up "Mother of all Htmx demos" (guillot.me)
We shrunk our Javascript monorepo git size (jonathancreamer.com)
This isn't click bait. We really did this! We work in a very large Javascript monorepo at Microsoft we colloquially call 1JS. It's large not only in terms of GB, but also in terms of sheer volume of code and contributions. We recently crossed the 1,000 monthly active users mark, about 2,500 packages, and ~20million lines of code! The most recent clone I did of the repo clocked in at an astonishing 178GB.
Heic-To: Convert HEIC/HEIF Images to JPEG, PNG in Browser (github.com/hoppergee)
Convert HEIC/HEIF images to JPEG, PNG in browser using Javascript.
Ten Minute Physics (matthias-research.github.io)
This is the page accompanying my youtube channel Ten Minute Physics. In short episodes of about ten minutes I explain the basic concepts of physically based simulation. Each time I write a little javascript demo that runs in any browswer.
Sqlite3 WebAssembly (sqlite.org)
This site is home to the documentation for the SQLite project's WebAssembly- and JavaScript-related APIs, which enable the use of sqlite3 in modern WASM-capable browsers. These components were initially released for public beta with version 3.40 and will tentatively be made API-stable with the 3.41 release, pending community feedback.
Show HN: State-in-url package for state management with URL sync (github.com/asmyshlyaev177)
Easily share complex state between unrelated React components, with IDE autocomplete and TS validation. Without any hasssle or boilerplate.
Vue 3.5 released (vuejs.org)
Show HN: Convert Mp4 to Wav in Browser (mp4wav.com)
Why Htmx is far superior to React and NextJS (henriqueleite42.com)
Show HN: Typescript library for editing videos with code (github.com/diffusionstudio)
I Tried React Compiler (developerway.com)
JSTinker: An open source clone of JSFiddle (github.com/johncipponeri)
Ask HN: Modern Meteor.js Alternative Stack? (ycombinator.com)
An Htmx Success Story (sheenaoc.com)
Understanding React Compiler (tonyalicea.dev)
React Lua (github.com/jsdotlua)
React 19 Breaks Async Composability (github.com/facebook)
Build Your Own React.js in 400 Lines of Code (beehiiv.com)