r/javascript • • Mar 20 '26

I’m building a Unix-like OS for the browser

Thumbnail y3v4d.com
15 Upvotes

This is not a Windows style clone website or even a website in regular sense!

Even though it started as simple website only imitating the desktop UI, quickly evolved into something much deeper.

It's an OS project with a purpose of creating a Unix-like architecture. Lean kernel with only basic commands exposed and user space applications that run on top of it in isolated context (currently via new Function(...) but later will use WebWorkers).

What you see isn't just regular Svelte or Vue or React component, every single thing including desktop, taskbar, notepad or task manager is a separate user space application, with an X11-inspired display server application that manages windows as well as proper X11 style window manager that decorates the windows just like Window Manager on Linux would.

I’m currently experimenting with userspace apps running in WebWorkers which will bring true OS-like process isolation and synchronous system calls via SAB and Atomics, but since WebWorkers can’t manipulate DOM by themselves (and has to call the kernel thread via create_dom, modify_dom, remove_dom custom made sys_calls), I’m spending a lot of time of creating my own lightweight JSX framework with fine-grained reactivity (like SolidJS), which will be able to transform userspace written JSX to supported kernel calls.

After that I will add a native compiler application so from there all applications could be written inside the OS itself.

Source code and deeper technical explanation of the current release can be found on the repository page:

https://github.com/y3v4d/yos


r/javascript • • Mar 20 '26

Stack your own way

Thumbnail github.com
1 Upvotes

**I built a CLI that remembers your stack preferences so you never configure the same project twice**
GitHub: github.com/AndresDeC/stackr
Every time I started a new project I had to set up the same things: Next.js + Prisma + Auth.js + ESLint + Docker... over and over. So I built Stackr to fix that.

**How it works:**

First run — it asks you what you want:

```◆ Stackr — scaffold your stack, your way
? Project name: my-app
? Framework: Next.js
? Database: Prisma + PostgreSQL
? Auth: Auth.js
? Testing: Vitest
? Extras: ESLint + Prettier, GitHub Actions

Second run — it remembers:

**What it generates:**
- Clean project structure, no demo clutter (unlike create-next-app)
- .env.example with the right variables pre-filled
- Docker, GitHub Actions CI, Husky if you want them
- Preferences saved in ~/.stackr/config.json — local, no accounts, no cloud

**Supports:** Next.js, Express API, Node.js CLI tools

It's open source and on npm:


r/javascript • • Mar 20 '26

Sydney's Opal App Sucks, so I built my own!

Thumbnail crystal.woflydev.com
1 Upvotes

Hello! o/

For the Sydneysiders and data enthusiasts of r/javascript, I recently became incredibly fed up with the official Opal app - it's slow, buggy, annoying to use and crashes every time I try to log in on iOS.

So, I built Crystal!

It hooks directly into the Opal ecosystem to track your daily/weekly fare caps, crunch your data into digestible stats, generate travel heatmaps, show you live departures, and track how much of the public transport network you've completed!

Would love to hear your thoughts on where I could take this next. If you're not a Sydneysider, Crystal has a demo mode with pre-populated data so you can poke around too!


r/javascript • • Mar 20 '26

AskJS [AskJS] Tools to Learn JS (as a beginner)

4 Upvotes

Hi all,

I'm a web dev and teacher (sometimes). I've been tinkering with a little tool to help students learn Javascript. Not deeply, but to teach them those initial steps of learning syntax and how to bring things together. Just the basics. I'll probably share it in the near future.

I know there are free resources like freecodecamp and others, and I'm wondering:

  1. What most helped you when you started your journey?
  2. What tools/resources helped?
  3. Which didn't?
  4. What would you have wanted to see out of them that would have made it better?

Any thoughts on this would be very much appreciated. I had a very rough version of a learning framework for a class, but it required you to download some files and run them in your IDE (which worked in the classroom setting). It basically was a series of drills for basic syntax. You try to blast through it as fast as you can, and if you can answer all the questions reliably and quickly, you can be pretty confident you know the basics of JS (loops, arrays, variables, conditionals, etc...).

But I've been porting a version over to web and thinking about what COULD it be...? What SHOULD it be...?

So yeah, please let me know.


r/javascript • • Mar 19 '26

Terms of Service Pages That Explain Themselves with Shadcn/UI

Thumbnail openpolicy.sh
2 Upvotes

r/javascript • • Mar 19 '26

Meta PyTorch OpenEnv Hackathon x SST

Thumbnail scaler.com
0 Upvotes

Hey everyone,

My college is collaborating with Meta, Hugging Face, and PyTorch to host an AI hackathon focused on reinforcement learning (OpenEnv framework).

I’m part of the organizing team, so sharing this here — but also genuinely curious if people think this is worth participating in.

Some details:

  • Team size: 1–3
  • Online round: Mar 28 – Apr 5
  • Final round: 48h hackathon in Bangalore
  • No RL experience required (they’re providing resources)

They’re saying top teams might get interview opportunities + there’s a prize pool, but I’m more curious about the learning/networking aspect.

Would you join something like this?


r/javascript • • Mar 18 '26

We're building a better rich text editing toolkit

Thumbnail handlewithcare.dev
31 Upvotes

Hey folks!

Handle with Care is a software collective that builds and maintains open source rich text editing libraries, including React ProseMirror. We all came from The New York Times’ content management system team, and we spend a lot of time thinking about rich text and collaborative editing.

Now we’re working on something new: Pitter Patter will be a fully featured collaborative rich text editing toolkit, with all of the bells and whistles you need for your own text editor.

The space we’re entering is not devoid of solutions — Lexical, Slate, ProseMirror, and Tiptap are all viable options for building modern, browser-based rich text editors. But we feel pretty confident that we’re going to be able to bring some value, nonetheless.

First of all, Lexical, Slate, and ProseMirror (especially ProseMirror, in our opinion!) are all excellent rich text libraries, but they are also quite low level. You can build nearly anything atop them, but you will have to do quite a lot of the building yourself. Sometimes that’s exactly what you’re looking for — in that case, Pitter Patter can still provide you some value, because we’re going to be releasing individual libraries (like a CodeBlock node view, advanced markdown serialization, and suggest changes) that interop with the existing ProseMirror ecosystem.

But if you want something that’s more batteries-included, you’re mostly left with Tiptap. Tiptap has been dominant in the space for a while, but we think we can do better!

Anyway, we’re posting here for two reasons:

  1. Maybe there are some more collaborative rich text editing nerds here that will be exciting (or not!) to hear about this. Sign up for our newsletter if you want updates!
  2. Maybe there are some companies that are looking for alternative solutions to what’s out there. Consider sponsoring us on GitHub, or reaching out if you want to be more involved!