r/webdev • • 2d ago

Discussion JS on the backend feels weird to me after years of using Spring Boot

102 Upvotes

Ive been working with Spring Boot on the backend and React/Angular on the frontend, so I'm in JS/TS pretty much every day. on the frontend it all makes sense to me when im handlign components ,state, UI in general and i have no complaints there.

But every time I try to build a backend in Node, I hit this weird mental block, with spring I'm used to structure being baked in like DI and clear layering, transactions and validation handled for me, itsl ike theres one dominant path of like this how u handle stuff. In Node it feels like im assembling my own framework from parts i pick a router then a validation lib then an ORM then something for DI, and every project ends up organized differently.

I know part of this is bias. plenty of people run serious backends on Node, and NestJS basically brings the Spring style over with modules, decorators and DI. But a few things still bug me. TS types vanish at runtime, so you need something like Zod to actually validate input, while in Java the framework and type system do more of that work for you. I also trust the JVM more for heavy workloads, with its threading model, profiling tools and mature libraries for things like batch jobs and enterprise integrations.

its like i have a mental block , do I just need to practice more on it more !


r/webdev • • 1d ago

Showoff Saturday Showoff Saturday: a fake fashion shop where the parcel arrives empty

Post image
0 Upvotes
made this over the last few weeks. it's a parody of the big online fashion shops. everything works like the real thing: sales, size picker, bag, checkout. you just pay with play money.


after you order, a tracking page runs for 1-2 days and pings you when the parcel arrives. won't spoil what's inside. ok fine, it's empty.


the idea came from the dopamine shopping sites in korea. half the fun of online shopping is the waiting, so i wanted to see if that part alone is enough.


no signup, your address never leaves your browser, no analytics. there's also a weekly leaderboard for who "spent" the most money that doesn't exist.


it's a parody, not affiliated with any of the brands on there.


https://dopelando.com


would love feedback, especially on mobile and whether the tracking jokes land.

r/webdev • • 1d ago

Showoff Saturday VideoPuzzle, the video jigsaw I launched here two years ago, has now been played over 1 million times

Post image
0 Upvotes

Hey!

2 years ago I posted my game https://videopuzzle.org here. The feedback was overwhelming, even though most of you thought it looked like a horrifying new CAPTCHA ;)

Since then, I have posted over 750 videos to play, and over 1.3 million puzzles have been played! It was also runner-up in the Playlin Games Awards 2025 (Classics Reimagined). I added plenty of new features, such as shifting the entire board with arrows, login and dark mode.

The stack this is based on is relatively straightforward: Vue and Quasar for the frontend and PocketBase for the backend. WebGL is used to split the video into tiles, and a seed is used every day so that everyone receives the same shuffle. This also means every puzzle is different - some can be solved in 10 moves, while some need 12 or more. You can see how the others did and how you compare in terms of the number of moves you used. Traffic has mostly been organic, a lot coming from the post here and from my other games (see https://emplexity.com for an overview).

Happy to answer any questions, and would love to hear your feedback! :)


r/webdev • • 1d ago

Showoff Saturday I rebuilt Discord's profile card in the browser so people can try Shop items before buying

Thumbnail
gallery
0 Upvotes

I built ProfileCord (https://profilecord.com), a free site where you can put real Discord Shop decorations, profile effects, frames and nameplates on your own avatar and banner before buying anything.

Some of the fun parts to build:

  • Matching Discord exactly. Same layer order, sizes and positions as the real app, including the Android and iPhone layouts, so the preview is something you can trust before spending money.
  • Phone screenshot export. It walks the DOM and draws it onto a canvas at 3x, including pseudo-elements and gradient text, so you get a crisp "phone screenshot" of a profile that doesn't exist yet.
  • GIFs in the browser. Animated avatars and banners are decoded and re-encoded client-side, and automatically sized to stay under Discord's 10 MB limit.
  • Colour matching. "Style me" reads your picture's colours and ranks the Shop's ~1,450 items to suggest a matching set.
  • Almost no backend. It's a static site on Cloudflare Pages with a few Functions. Pictures you upload never leave your browser; only share links and gallery posts are stored.

No account needed, no ads. Fan-made, not affiliated with Discord.

An Android app is also in development. It wraps the same site, so every website update reaches the app straight away.

Happy to go into any of it, and I'd love feedback on anything that feels off or slow.


r/webdev • • 2d ago

News Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle join NSA and CISA in pushing faster post-quantum crypto migration

74 Upvotes

The NSA, CISA, and ONCD said frontier AI labs disclosed findings affecting some cryptography in use, with no immediate widespread threat.

Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle backed faster migration to NIST post-quantum standards.

Cloudflare pulled its full target from 2029 to 2027 in Project Quantum Leap, and CEO Matthew Prince called it urgent.

Google also announced Chrome will stop trusting ECDSA P-256 CA keys on March 15, 2027, and plans to roll out post-quantum Merkle Tree Certificates in early 2027.

Nothing is confirmed or broken in the wild.

Rumors point to 256-bit elliptic curves like P-256 and Curve25519 while the FT says RSA-2048 is unaffected.

Meanwhile, a screenshotted deleted Matthew Prince reply answered a "did you crack RSA-2048" question with "There are things worse than that."


r/webdev • • 1d ago

Showoff Saturday I made it snow on every website, and you can build snowmen

Thumbnail
gallery
0 Upvotes

I wanted my browser to feel a bit more like December, so I made an extension that lets it snow on every website.

You can grab snow from the bottom of the page, roll it into a ball and stack three to build a snowman. Your snowmen show up on the New Tab page, where you can dress them up. Santa also flies by now and then, and if you click the sleigh a gift drops. You can even fog up the screen and draw on it.

No account and no tracking, and websites work as usual while it snows.

Would love to hear what you think, or if it breaks on a site you use.


r/webdev • • 1d ago

[Show off Saturday] - I built bantr a fourm, and chat of sorts.

Thumbnail
gallery
0 Upvotes

Hello all, and happy weekend!

I built bantr.live, a real-time forum and chat platform. You can post images, videos, or just plain text. It also features live chat functionality both global and direct peer-to-peer. The mobile applications currently have the real-time forum, and I'm working on getting the web version up to par with the functionality of the mobile apps. This application is in constant development, so if you have the app, updates are coming soon. The platform currently has about 75 users and is growing daily, though it is still kind of a ghost town as of now. If you have any questions, let me know feedback is always welcome.


r/webdev • • 1d ago

Showoff Saturday I ported a Python shadow-geolocation tool to plain JS, no build step, no server

Post image
0 Upvotes

Bellingcat's ShadowFinder works out where a photo was taken from the length of a shadow, but it runs in a Colab notebook. I rebuilt it for the browser: click an object, its top and its shadow tip, and a globe shows every place on Earth that shadow could fall.

Stack is deliberately boring: vanilla JS, no framework, no build step, MapLibre for the globe, SunCalc for the sun position, a strict CSP and bundled libraries so nothing loads from a CDN. The band is computed on a 0.5° grid live as you drag the points. Photos never leave the browser.

Live: https://kluter.github.io/ShadowFinder-Web/
Code: https://github.com/kluter/ShadowFinder-Web

Happy to answer questions :)


r/webdev • • 1d ago

Showoff Saturday Showoff Saturday: 1st three tools from my people factory pipeline

Post image
0 Upvotes

Ive been working on what I've come to call my people factory pipeline. It lets me import a 3d model, mark it up for auto cutting, then take that file to the clothing mesh/makehuman generator which builds it a new outfit from a fresh mesh and automatically refits all the accessories cut from the original model. While there make any adjustments to the fit you see necessary or if you are using an agent use my annotation system to leave notes for your agent with pinpoint accuracy. After that we had on over to the grip tool to equip our hand held props. They are all in active development whole i fill out their pattern libraries. So have plans for at least 2 more modules that will generate and rig hairstyles, and another for running the finished model through.

I set out to solve my problems and create a way to automatically clothe and fit millions of random sized makehuman bodies in over 3,000 outfits and only have to QA each out fit 3 times, Mid and both extremes. I think they are some pretty outstanding tools to that end right now and will only improve so i thought id share with anyone else they might be useful to.

https://github.com/khelevaster-ship-it/MeshTailor

https://github.com/khelevaster-ship-it/Meshshears

https://github.com/khelevaster-ship-it/MeshGrip


r/webdev • • 1d ago

Help with Google's Youtube, Calendar APIs

4 Upvotes

Using Next.js/Typescript/Google node client.

I'm working on a site for a group of content creators that would simply act as a hub for their social media, streaming schedule, and merch. To do this, I need to use Google's Youtube and Calendar APIs. All the info I need is publicly available and readonly (ex: follower count, youtube live status). The content creators will not be using this site to manage anything in their own accounts.

Things I have already tried:

Access data using an API key. For anything with calendars, this does not appear to be allowed. To reiterate, these are public calendars. I even tried to use a "Public Holidays" calendar for testing and this failed.

Set up a project in Cloud Console to use OAuth. I assumed this would allow the web app to authenticate with google's APIs, this seems to be only used for authenticating on a user's behalf. This is not what I want.

Set up a service account. This appears to be used for enterprise-level automation and not something I need. I didn't go very far down this route, but it exists.

These seem like simple things to accomplish and I feel like I'm going crazy. I have already done something similar with the Twitch API. I will do my best to clarify as needed.


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] I built a small PQC check. Not sure the red line is clear.

Post image
0 Upvotes

Chrome says that from March 15, 2027 it will show a full-page warning if a CA key in the chain is ECDSA P-256. That is separate from whether the handshake picked X25519MLKEM768.

I kept mixing those up, so the page says Pass or Fail only for TLS 1.3 plus the hybrid group. The CA key is its own line.

My own site is on Cloudflare. Handshake passes. The CA line fails because the edge cert is Google Trust Services WE1. Not sure that red line works. People may just see Fail and think the whole check failed.

Check it: https://httpsornot.com/tools/pqc-checker


r/webdev • • 1d ago

Showoff Saturday I made a site where you can pop confettis for no reason

Thumbnail
poptheconfetti.website
0 Upvotes

ive always been a huge fan of confetti 🎉

you know when you finish a task or make a payment and a site throws confetti at you? that tiny spark of "yay i did something". i love that feeling. so i thought, why not have a place where you can get it whenever you want?

so i made poptheconfetti.website

you click, confetti pops. thats it, nothing else.

i designed it and used AI to help with some of the code. the confetti itself is canvas-confetti. honestly the hardest part was keeping it simple. i kept wanting to add more stuff and had to keep cutting it back so it stays just one button and a good feeling.

it might seem silly, but if it makes even one person smile its worth it :)

link : https://poptheconfetti.website

would love to hear your thoughts. and whats your best fastest click?


r/webdev • • 1d ago

Showoff Saturday I made a fairy-dust cursor trail for Framer sites

Post image
0 Upvotes

Hi r/webdev! I'm a designer (not a developer) and this is my first code component, built with the help of AI coding tools.

It's a soft cursor trail: glowing particles follow the cursor, drift down slowly like dust in the air, and occasionally catch the light with small glints. I wanted it gentle rather than flashy.

A few things I cared about:

- Never blocks clicks (pointer-events: none on the canvas)

- Works on touch devices

- Everything is adjustable: particle count, size, colors, shape, glow, drift

- Static preview in the editor so it doesn't eat CPU while you design

Live preview: https://glintratio-sparkle-cursor.framer.website

Would love feedback, especially on performance and how it feels on your device!


r/webdev • • 1d ago

Showoff Saturday I've been building a PDF app that never uploads your files since January. Now it's on Windows and Android, and I need honest feedback

0 Upvotes

I started ClientPDF in January 2026 as a small side thing. 4 or 5 basic PDF tools in the browser, and one rule: your files never leave your device. No uploads, no server, nothing.

People used it, so I kept adding. It grew to 31 tools. Then I built a proper PDF reader on top of it. Now it's a full app for Windows and Android, and I'm taking it seriously as a product, not a hobby.

Here's what's in the v1.0 apps right now:

• A fast PDF reader on the PDFium engine. Continuous scroll, single page, spread and text reflow modes. Light, Sepia and Dark paper.

• Annotations: freehand ink, highlights, shapes, movable sticky notes and stamps, with high-res Save As.

• Full-text search with highlighting, page thumbnails, outline/TOC tree and bookmarks.

• Offline read-aloud. It uses on-device speech, and you control speed and sentence.

• Windows: tabs, Split View, a Ctrl+K command palette, a resizable inspector, and a per-user installer that doesn't need admin rights.

• Android: bottom-sheet inspector and thumb-zone controls, built for one-handed use. It doesn't need Google Play Services.

The part I care about most is what I call the Unified Pipeline. Most web PDF tools make you download and re-upload between every edit. Here the file stays in browser memory while you chain tools. For example, compress, then watermark, then sign and add a password, then download once. It never leaves your device, and there's persistent undo history if you want to step back. This is in the web tools today. There's no account, no analytics or telemetry, no ads. The Android APK needs no network permissions. iOS is coming, and until then all 31 tools and the web reader work in iOS Safari.

I'm now working on v2.0. It will bring the 31 tools natively into the Windows and Android apps, offline, plus new tools I haven't announced yet. It's in development, and some of it will be available through optional in-app plans.

I'd like your honest input on a few things:

  1. Would you pay for the next version? If yes, what price feels fair to you? One-time, subscription, or something else?
  2. Which tools or features do you most want in v2.0?
  3. Please install it and try it on your real PDFs. If something breaks, tell me what device or Windows version you were on. I want the bugs more than the compliments.

Downloads (Windows and Android): https://clientpdf.tech/download

Web reader, no install: https://clientpdf.tech/reader


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] A fan map that pins GTA VI videos to the place and second they show

0 Upvotes

I built https://mapunlocked.com/?utm_source=reddit&utm_medium=community&utm_campaign=soft-launch-2026-12 : tap a pin and the YouTube video plays from the second that shows that place. 173 public videos, 337 pins across 47 places. I swapped a neon "game HUD" look for a road-map print style today.

A few choices I'd like opinions on:

  • Map: MapLibre GL. The game world has no real coordinates, so every position is in planar metres, placed as Web Mercator metres in a 65 km square next to Null Island. MapLibre renders it natively and PostGIS can index it.
  • Embeds: every video sits behind a click-to-load poster, so no YouTube script loads until you tap.
  • Data: the catalogue is a JSON file in the repo. Each video ID is checked against YouTube's oEmbed before it can be added, and each pin carries a confidence level and a source.
  • Built by: a team of AI coding agents in parallel git branches, with a producer agent merging PRs. I set the direction and review.

It's an early preview and read-only. What would you change first?

Unofficial fan project, not affiliated with Rockstar Games or Take-Two. Free, no ads.


r/webdev • • 1d ago

Showoff Saturday AsoBeast: see where your app ranks in App Store and Google Play search every day. Open-source, self-hosted alternative to paid ASO tools like AppTweak

Thumbnail
gallery
0 Upvotes

I believe ASO tools (App Store Optimization: getting your app found in store search) should be free to self-host. The data under them is public store search that your own server can run, yet AppTweak's entry plan is $99 a month for 5 apps and one seat.

So for over 3 months I've been building AsoBeast (with the great help of many kind contributors), an open-source alternative to the big paid ASO tools like AppTweak, that you run on your own server. It's been public on GitHub since August 24, and I also run a paid hosted version.

Why bother, even for a side project? Apple says "almost 65% of downloads happen directly after a search." So where your app shows up for the words people type decides most of its downloads. Rank higher for the right words, and more people find your app, which means more users and customers without paying for ads. You can't work on that if you can't see it, and seeing it is what the paid tools charge for.

Paste your app's store link. AsoBeast picks keywords from your listing and checks them right away, then every day after that:

  • Daily rank for each keyword, per country: up to 200 deep on the App Store, about 30 on Google Play because that's all Play shows
  • Keyword inspector: popularity, difficulty and the top 50 apps for any search
  • Action Center: 17 fixed rules queue what to fix first, with the numbers behind each task
  • Draft mode (new this week in 2.1): write your next title, subtitle and keyword field and see which tracked keywords you'd gain or lose
  • Watches competitors, reviews and listing changes, and shows how your ranks moved 7, 14 and 28 days after each change

Self-hosting details:

  • Docker Compose with four containers: web, API, Postgres 18 and Redis 8. Images for amd64 and arm64
  • About 2.5 GB of RAM and 5 GB of disk
  • No telemetry. The only outbound traffic is public store searches and pages, from your server. Your keyword list stays in your own database, and you don't need an account or API key from any ASO vendor
  • AGPL-3.0, with no open core and no license key

To try it:

curl -fsSLO https://raw.githubusercontent.com/AsoBeast/asobeast/main/docker-compose.pull.yml
printf 'POSTGRES_PASSWORD=%s\nAUTH_SECRET=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose -f docker-compose.pull.yml up -d --wait

Then open localhost:3001 and paste your app's store link.

Limits: it doesn't estimate downloads or revenue as the big suites do, and it can't promise a higher rank. It shows where you stand and what to change. Popularity and difficulty are estimates, and the method is published. Google Play ranks in other countries need proxies to be accurate.

Does it use AI? Yes, I built it with Claude Code. Was it a one-shot "Claude, make no mistakes" prompt? No. I researched and planned it before any code was written, then worked like a software house: sprint planning first, then one- or two-week sprints of small tasks. Every task got manual QA and two code reviews, and before each release I run a manual regression pass the night before to catch bugs before they ship.

Repo: https://github.com/AsoBeast/asobeast

Docs: https://docs.asobeast.com

If you run a mobile app, what do you use to track ranks today, or do you just not?


r/webdev • • 1d ago

Showoff Saturday I built a multiplayer card game because I couldn't find one online. 11,343 people played it last month

0 Upvotes

About six months ago I wanted to play UNO No Mercy online with my friends. There wasn't a proper version anywhere, so I built one.

The stack is Vue 3 and Vite on Cloudflare Pages. Each game room is a Cloudflare Durable Object that holds the game state, and players connect to it over WebSockets. Supabase handles accounts and saves results.

A few things were harder than I expected:

  • Latency for India. India is my biggest country, but Cloudflare doesn't run Durable Objects there, so the closest room is in Singapore, around 80ms away.
  • People going idle mid-game. Now there's a 2 minute turn limit, and 3 timeouts in a row puts you out.
  • Guests. Most people won't sign up just to try a card game, so everyone starts as a guest, and if they sign in later they keep their stats.

In November 11,343 people played, about double October. Around half came from Google search.

It's open source: https://github.com/alii13/open-mercy

You can play it here: https://open-mercy.com

Happy to answer anything about the Durable Objects setup or the SEO side.


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] take.news: I built a cleaner X, but for news. Every conversation starts from a story with all its sources

Thumbnail
gallery
1 Upvotes

Hey r/webdev, this is take.news, my attempt at a calmer place to read and talk about the news.

The idea: X without the noise. Every conversation starts from an actual story.

• Articles about the same event from ~3,400 sources are grouped into one story. You see who covers it, from which countries, and how each outlet frames it, with links to the originals
• Under every story: replies, quotes, likes, reposts and your own posts, follows and notifications, X-style

Some things I'm proud of under the hood:

• Clustering at scale: ~5,000 feeds and 100k+ articles a day get grouped into stories in near real time, on a single SQLite database (WAL mode) with Redis in front. No Postgres, no queue cluster.
• 15 language editions, one URL per story. A Dutch reader who opens a Turkish story stays in a Dutch UI. Only the story's own edition URL is indexable; the other variants are noindex with a canonical. Members get their site language picked automatically (reading languages → browser → country).
• Self-hosted translation with a fidelity check before anything is cached: numbers, names and sentence count must survive, otherwise you see the original.
• Coverage maps: per story, how many reports from which countries, plus "blind spots": stories that are big in one region and barely covered elsewhere.
• Small and fast: server-rendered, ~43 KB front page, a sprinkle of vanilla JS, no framework.

Stack (people always ask): plain PHP, no framework, SQLite + Redis, server-rendered HTML with a sprinkle of vanilla JS.

Apps: both fully native, no webviews. SwiftUI on iOS (in App Store review) and Jetpack Compose on Android (live on Google Play). They share one JSON API with the site, and the UI follows the phone's language.

Honest feedback welcome: does the "X, but built around news" idea land? What would make you post here?

https://take.news


r/webdev • • 1d ago

Showoff Saturday I built a Next.js 16 landing page where a globe renders in a Web Worker, and it still scores 100/100 on Lighthouse mobile. Here's how

Post image
0 Upvotes

I left my frontend job last week to work on my own stuff. This is the first project: Kinetic, a landing page built on Next.js 16 + React 19. My goal was a page that feels heavy and animated but still scores 100/100/100/100 on Lighthouse (mobile).

Live demo: https://kinetic-saas-template.vercel.app/

Here's what it took:

1. The globe never touches the main thread. It renders on an OffscreenCanvas inside a Web Worker. The main thread only handles layout and GSAP, so scroll animations stay smooth even with the globe spinning.

2. No strings inside components. Every headline, price, nav link and FAQ lives in typed files in src/content/. Changing the copy means editing data, not hunting through JSX. That's the part in the video where I edit hero.ts and the page updates.

3. Lenis + GSAP ScrollTrigger + React Compiler work together, as long as GSAP refs stay out of render and you let the compiler handle memoization instead of adding useMemo everywhere.

4. No glassmorphism, gradient blobs or neon. I spent the performance budget on motion that actually means something.

Also in there: a ⌘K command menu, strict TypeScript with zero any, and Tailwind v4.

Happy to answer anything about the worker setup or the content-file pattern.


r/webdev • • 2d ago

Discussion Using HTMX alongside any templating engine, how do you deal with the mess that happens when you need to handle both an hx-request and a normal browser request in every handler?

9 Upvotes

I am using askama (uses structs instead of a HashMap for template data) with htmx and was able to make pages out of fragments easily by doing:

{% extends "base.html" %}
{% block title %}Not Found{% endblock title %}
{% block content %}
    {% include "fragments/not_found.html" %}
{% endblock content %}

as in every page being a file that just includes the corresponding fragments, and this worked very well for a long time but made my handlers look like (simplified):

async |HxRequest(hx): HxRequest| {
    if hx {
        NotFound // return fragment if this is an htmx request
    } else {
        NotFoundPage // return full page for normal requests
    }
}

A few lines of code added to every single handler. This is also very much manageable. But later
I wanted some notifications to be hx-partial added to any request which would target a #toasts in base.html and had to somehow make it work with full page loads as well.

With my current solution, fragments carry errors as partials, while for pages I added a block toasts where I add errors, making every page struct have that field and messing with every route handler again.

How are others dealing with this?


r/webdev • • 1d ago

Simplifying the MCP workflow

0 Upvotes

I rather enjoy Laravel - despite some silliness happening with its administration, apparently - and the workflow makes sense to me. But I find that with this kind of architecture - especially when making a basic CRUD app - I'm writing a lot of code that - theoretically - should be pretty simple to generate from some basic rules. For example, for the backend administration:

- Migration specifies database column name, data type, and any relevant constraints

- Model specifies the same migration column names as Fillables

- Controller validates the exact same information from the migration

- Views display textboxes and number inputs with the same information from the migration

...this seems like an obvious place to have some kind of master schema and just have it generate everything in one pass, doesn't it? I cannot believe I'm the first person to think of this, but I'm unsure of how to phrase the question to try to find out if somebody else has simplified this process. Or if Laravel - or another architecture, perhaps? - allows this kind of streamlined simplicity?

I could easily see that perhaps this super streamlined approach would not handle edge cases at all, but if it really WAS that straightforward...what am I missing? Why can't I find an easy way to do this? Or is there, and I've just never heard of it.

Thank you!


r/webdev • • 2d ago

Are there some domain problems that we can explore without being afraid that AI already solved them?

0 Upvotes

I was thinking about classical System engineering (not CSE -Computer System engineering) and I was wondering if AI is good at that level of abstraction? Can it understand complex flowcharts and design what we would call opinionated solutions? Another alternative would be CE, for that hardware+software mix that AI is supposedly not very good at. But yet we have tools that are getting better and better at things like designing digital circuits and "understanding" those mechanisms too. What do you think, should we pursue solving problems with our human creativity on different domains like those that are systems-oriented?


r/webdev • • 1d ago

[Showoff Saturday] A rotatable map of 8,207 chess positions, drawn on a plain 2D canvas

Post image
0 Upvotes

I built Theoria, a map of every named chess opening: https://theoria.up.railway.app

Each dot is a position and each line a move, so a frame has about 8,200 nodes and 8,400 edges, plus labels. Some details that might interest people here:

  • Stack: Next.js App Router, Neo4j for the position graph, deployed on Railway.
  • One payload: a single API route returns the whole graph as parallel arrays (key, depth, x, y, parent, move, family, name). The layout is computed on the server and cached per data revision.
  • Batching: edges and dots are grouped into Path2D objects by colour and highlight level, so the whole graph is drawn with a small number of stroke and fill calls instead of one per node.
  • 3D without WebGL: an orthographic projection with yaw and pitch, where depth becomes a shallow bowl. Plain drag pans; right-drag, Alt-drag or Shift+arrow keys rotate.
  • Picking: brute-force hit-testing over the projected points. At 8k points it's cheap enough on every mouse move.
  • A bug worth sharing: React Strict Mode's double mount in development cancelled my requestAnimationFrame but didn't reset the stored frame id, so the canvas stayed blank in dev only. Resetting the id in the effect cleanup fixed it.

Feedback on performance is welcome, especially from low-end laptops and phones.


r/webdev • • 2d ago

Are there big problems to resolve on the Software Industry?

0 Upvotes

We already have software made for many things, some of them we wouldn't even think were a need, and yet anything is software bloated. AI only made it more accentuated, and instead of coding you will have to (somehow) find a role at some serious company if you truly want to use programming skills for solving real problems. But I am not even sure we have serious software problems to solve in this industry, and that's not because coding is dead (it will be, eventually) but we pretty much invented all the software we can need. What do you think? Do we still solve problems by programming in some specific ways? Or can we just reuse already made solutions with AI tools?