r/webdev • • 7d ago

How one connection kills a database

Thumbnail
planetscale.com
8 Upvotes

r/webdev • • 8d ago

News JavaScript Gets a New Set of HTML Insertion APIs

Thumbnail
amitmerchant.com
181 Upvotes

Chrome (and Edge) is introducing a new set of HTML insertion and streaming methods that provide a more descriptive way to insert HTML into an existing element, along with the ability to stream content directly into the DOM.


r/webdev • • 7d ago

Question is a CSS overlay label on AI-generated images enough, or does the label need to be in the image file?

0 Upvotes

Our marketing site uses realistic AI-generated photos: office scenes with invented people. Under Art. 50(4) of the AI Act these seem to count as "deep fakes", so they need a visible label.

Instead of editing every image, I'd add the label with CSS:

<img src="/images/team-at-work.webp" class="ai-img" alt="AI-generated: support agents at work">

Is anyone relying on an overlay like this, or are you all embedding the EU icon into the files? If you embed it, how? A script, your image pipeline, a CDN plugin?

the ai-img class does add a relative text on the bottom-right of the img.


r/webdev • • 8d ago

Question Looking for a Full stack developer course. (Not a beginner)

19 Upvotes

I am not a beginner. I have good knowledge of with HTML/CSS/javascript and some other stuffs like PHP with MySQL.

Now I want to get into full stack web development.


r/webdev • • 8d ago

Question Looking for a CSS/JS buddy to talk me through a small scale creative project

3 Upvotes

Hi, I hope this is appropriate to reach out to. I’m an artist and designer with a very basic understanding of webdev and I’ve been looking for someone to help translate the content I have to my site. The major problem I’m having is that there is a bunch of narrative context attached to it that it would be considered more of a game than a website, and I’d really like to find somebody that would be willing to get stuck in with me and talk me through what might be the best way to do it. I’m willing to pay, I’m desperate to get this off the ground.

Please feel free to DM me for more info, but I currently have a domain on Obsidian Publish/Cloudflare and plan for this to be executed on Cloudflare’s JS workers. In essence, it’s a personality test with 16 possible results, with the questions being simplistic in design but atmospheric looking enough that it could belong to a game. Still in the middle of doing visual mock ups, but most of the questions have been made already, I’m just having trouble attributing and calculating the points for each answer (the number of answers varies per question), and more importantly how to structure and program that. Thank you!


r/webdev • • 9d ago

Discussion PHP in 2027?

16 Upvotes

Is it still worth learning for self taughts? Are there jobs despite AI?


r/webdev • • 9d ago

Showoff Saturday Bypassing iOS Safari’s 60 FPS Limit to Build Web Applications That Feel Native

Thumbnail
rida.dev
416 Upvotes

I just posted a new blog post on my website! Check it out!

The entire post is an interactive experience. Do note that if you're trying this on an older device, I'm still clearing some issues off the main thread - so it may be laggy for a few more hours. Lag mostly resolved outside of a few stickier hitches! If you run into any issues, let me know what device you're running and I'll look into it!

Otherwise, enjoy!


r/webdev • • 9d ago

Discussion What separates a professional software development agency from a freelancer with a portfolio?

31 Upvotes

I'm involved in building a software company and have been thinking about what actually makes a development partner trustworthy.

Is it:

  • Code quality?
  • Communication?
  • Documentation?
  • Delivery process?
  • Maintenance and long-term support?
  • Understanding business requirements?

Developers and agency owners: what do you think clients value most, and what do agencies usually get wrong?


r/webdev • • 9d ago

Discussion I'm going to get VPS for the first time in my life and I have couple of questions about it. I'll be grateful if someone could share their experience

7 Upvotes
  1. Do I need something like Coolify? Lots of people recommend this and it seems to be great tool. The thing is, I've read that it had some security patches recently, so potentially it can have more in the future. If I will just use SSH to control my server, will it be much more difficult and time consuming to maintain it? For the sake of having one less attack vector for hackers
  2. Should I get something like Tailscale if I'll use SSH?
  3. I have couple of Next.js apps on Vercel. It works flawlessly and their Analytics service is great, but unfortunately monthly bill is getting higher. Do you think it's a good idea to migrate to VPS + Cloudflare CDN + Umami? This is my current plan after some initial research. VPS would handle mostly SSR and backend stuff while Cloudflare would be in front of it, caching static data and protecting my VPS against DDos attacks. Theoretically. I never tried it.

r/webdev • • 9d ago

Showoff Saturday I implemented YouTube's SABR protocol in my open-source self-hosted YouTube client

Thumbnail
github.com
23 Upvotes

I've been working on TubeHaus, an open-source self-hosted YouTube client focused on privacy and account-free viewing.

Over the last few days I spent a lot of time digging into YouTube's SABR streaming protocol and finally got it working reliably inside TubeHaus.

Most alternative YouTube frontends rely on approaches that have become increasingly fragile as YouTube changes how playback works. SABR was one of the biggest missing pieces for long-term compatibility, so I decided to implement it directly instead of relying on older playback methods.

The result has been surprisingly good:

  • Much more reliable playback
  • Better handling of newer YouTube streams
  • Improved compatibility with recent platform changes
  • Reduced dependence on legacy playback paths

The implementation was based on existing reverse-engineering work from the community, but I had to fill in a number of missing details before I could get consistent real-world playback.

I'm curious if anyone else here has been experimenting with SABR or reverse-engineering YouTube's newer streaming stack. I'd love feedback from people who have worked on media streaming, video delivery systems, or alternative YouTube clients.

Project: https://github.com/biolend83/tubehaus


r/webdev • • 9d ago

Resource Looking for someone's who has created a website as a mentor.

9 Upvotes

I'm a 1st college student, I'll be attempting to create a website for a very specific use. I've got about a month starting November 29th. The plan is I'll share the roadmap I'm following with the mentor and start building the website. I've done front end earlier so HTML and CSS is down. I'll be needing guidance about the backend part specifically. Only in the form of doubts answered once a day at any time convenient to them. Over reddit. I don't have problems with staying on track or motivation, I just require someone to tell me if I'm putting efforts in the right direction. Please dm me if you are willing.


r/webdev • • 10d ago

got a web page to read any site's response with no CORS restrictions and no backend, by running Tor through WASM

11 Upvotes

most of the time when you fetch an something like an API, the server sends no cors headers, and the browser throws the response away. the simple fix is a CORS proxy, which means a server you have to run and pay for.

i wanted to see if i could skip it all entirely. my project runs Arti, Tor's rust client, in WASM, and reaches Tor through Snowflake (WebRTC or WebSocket), so cors never comes up.

its crazy slow but nonetheless cool to see

demo at https://kitakitaaura.github.io/nukemichi/demo/

repo: https://github.com/kitakitaaura/nukemichi


r/webdev • • 9d ago

Discussion How are you actually managing your workflow with AI coding agents?

0 Upvotes

I've been using AI coding agents more lately, and I'm curious how other developers are organizing their workflows around them.

Writing code is easy now, but once you have agents working on multiple tasks, there's a whole other set of questions:

  • How do you decide what to delegate to an agent?
  • How do you keep track of what it's doing without constantly checking?
  • What happens when an agent gets stuck or needs your input?
  • How do you handle code review before merging?

Are you using GitHub Issues, Jira tickets, custom scripts, dedicated tools, or just a bunch of terminal sessions?

I'm especially curious about people working in small engineering teams.

To me today manage multiple repos + multiple Claude Code sessions on terminal is really chaotic + babysit agents.

What's your actual setup, and what's the most annoying part of it?


r/webdev • • 10d ago

Showoff Saturday An app to draw and annotate on maps

Post image
57 Upvotes

Hey folks. Some time back in 2022, I started working on craftbase (a 2d whiteboard app), revamped it later, and recently some months back I forked it and had begun work on mapcursor (You might have come across my post in r/webdev about craftbase some time back).

Now to implement, using the same 2d SVG renderer (two.js ) which was the platform for craftbase and to let "map" be a backdrop, I imagined if we can make this a map annotation tool given craftbase had "base" and SVG renderer for rendering elements on surface.

I swapped "Whiteboard Base" with "Map Base", elements live in plain Two.js surface space, and has specific anchor glue so map keeps in sync beneath it. Fast forward last month, I hosted the web app here - https://mapcursor.com

Original Inspiration:

There were lot of areas in my city which were prone to waterlogging. So to describe to the community, it lacked a way for me to have a proper tool and having ability to share it with others. Nonetheless, I am geography enthusiast (not hardcore) and in my college's final year project I had created google maps transit project (back in 2016).

Tech Stack

It uses react (frontend), hasura (API layer), node.js (backend) as part of core primary tech stack.

Additionally, it uses CARTO for map tiles fetching and "nomanitim" for place searches. You can read more on privacy here - https://mapcursor.com/privacy

As long as you are on home page (/) , all of the data is stored locally on your machine (whether machine's browser or mobile's browser).

Use case:

I am still figuring out the exact and niche use case this can serve to.

I mean it could serve for surveying, clustering on areas, creating hotspots (like marking illegal activity hotspots in a city ) , marking highway corridors/inter city transport routes or I can image road trip memory (since photo upload is supported locally only). Would love some serious feedback on this project. Thanks for dropping by.

Btw, the code's open sourced here - https://github.com/meetzaveri/mapcursor


r/webdev • • 10d ago

Discussion Is the internet falling apart, or do we just notice it more?

Thumbnail adriankrebs.ch
89 Upvotes

r/webdev • • 10d ago

Why I built my own programming language

Thumbnail davegebler.com
4 Upvotes

r/webdev • • 10d ago

Showoff Saturday [Showoff Saturday] Transpose PDF Sheet Music in Seconds Without Notation Software

Post image
12 Upvotes

I'm a freelance musician based in Los Angeles, and I've always been disappointed with the tools for transposing sheet music. You have to scan it into a new format, open it in notation software, fix a bunch of mistakes, and then transpose. It takes way too long and too much effort to be genuinely useful. I also work as a freelance web developer, so I decided to take a crack at it myself with a different approach.

My solution edits the PDF directly, using a mountain of Python and a huge set of specific rules I've written over a number of months. For scans and images, I trained my own object recognition model to detect noteheads, accidentals, and clefs. Other than that there's no AI involved (no LLMs at all). The result is a much faster and (usually) more accurate transposition.

You can try it without an account on the homepage at newkey.app, and there's a free trial with no subscription needed. Any and all feedback is welcome, especially if you can find a chart that breaks it!


r/webdev • • 9d ago

Try Scroll - a language for scientists of all ages

Thumbnail
try.scroll.surf
0 Upvotes

r/webdev • • 10d ago

Showoff Saturday My portfolio: static Astro + Sanity on Cloudflare Workers, with live previews of client sites

9 Upvotes
portfolio header
  • Static Astro, no JS framework, PL/EN. PageSpeed Insights: 100 / 100 / 100 / 100 on mobile and desktop.

    • On desktop, the small page the hero draws leaves the hero and travels down the homepage as you scroll: it comes apart into its layers, gets restyled in a mock Webflow Designer, runs an A/B test and a speed test, then fans out into client websites and lands in the first one. Plain TypeScript driven by the scroll position, no GSAP; off on smaller screens and with prefers-reduced-motion.
    • The "Websites" section shows client sites at 1440 px in a scaled browser window. Until you click, it's a cropped snapshot; the click loads the real site in an iframe, so no third-party scripts or trackers run before you ask for them. At build time it checks X-Frame-Options / CSP frame-ancestors and keeps a full-page screenshot for sites that can't be framed.
    • On desktop the sites form one strip that moves sideways as you scroll down the page. On phones they stack, and a tap opens the real site.
    • A free homepage scan (SEO, speed, accessibility, AI visibility, ~30 s), streamed from a Worker.
    • Every page gets its own share card, generated at build time (satori + sharp).
    • Content in Sanity with a click-to-edit live preview, while the public pages stay pure static.
  • https://sergiuszrozycki.com/en/

Feedback welcome, especially on whether the scroll animation helps or gets in the way, and on mobile.


r/webdev • • 10d ago

Showoff Saturday [Showoff Saturday] Atlantis: a procedural city you can fly through, in one 96 KB HTML file with raw WebGPU

Thumbnail
gallery
17 Upvotes

Live demo · Source (MIT) · desktop Chrome or Edge works best

It's a city of marble, crystal and canals at golden hour, with no engine, no three.js and no asset files. Everything, including the music, is generated by code when the page loads. Here's how it works under the hood:

  • Culling on the GPU: a compute pass tests every instance against three views (camera, the canals' mirror camera, the shadow cascade), picks a level of detail and writes one indirect draw per mesh. The CPU never touches individual trees or buildings.
  • Baking what never changes: the sun is fixed, so the sky, three large shadow maps and the environment cubemap are computed once at load. Each frame only redraws the shadow cascade around the camera.
  • Cheap foliage: leaves are drawn twice, depth first and then material only where the depth matches. That way a tree crown with about forty layers of leaf cards costs one layer of shading.
  • Dynamic resolution: below 60 fps it lowers the render resolution in steps, using GPU timestamp queries where the browser allows them and frame intervals otherwise. This runs behind the start menu, so it's mostly settled before you enter.

It runs at about 2.5 ms per frame at 1440p on an RTX 5070 Ti on High, and around 28 fps on Low on a budget phone.

The code was written with Claude Code. Prompt, art bible and concept art are in the repo.


r/webdev • • 10d ago

Showoff Saturday I built a collection of 150+ free online developer tools for the small tasks that interrupt your workflow

4 Upvotes

You know how it goes: you’re working on something, then you need to format a JSON response, decode a JWT, test a regex, check a DNS record, generate an Nginx config, or resize an image.

None of these tasks is hard. But they break your concentration. You open a new tab, search for a tool, maybe write a quick script, and then try to get back to what you were doing.

That frustration is why I built DevUtilityKits, which has a collection of 150+ free online tools for the small technical jobs that come up during web development, debugging, SEO, and DevOps work.

It includes utilities for:

  • JSON formatting, validation, minification, diffing, and conversion
  • Base64, URL encoding, JWT decoding, UUIDs, hashes, and regex testing
  • HTML, CSS, JavaScript, and SQL formatting
  • DNS, HTTP headers, SSL, SPF/DKIM/DMARC, and other website checks
  • Docker, Kubernetes, Git, Linux, Nginx, and config generation
  • Image conversion, resizing, compression, and optimization
  • SEO utilities such as robots.txt, sitemaps, redirects, and structured data
  • Timestamps, date calculations, text cleanup, and other quick utilities

Everything is free and does not require an account. Many tools run directly in the browser; for tools that support local processing, your input stays on your device rather than being uploaded to a server.

I’m still improving the site, so feedback from developers who use tools like these regularly would be genuinely useful. What feels useful, what feels unnecessary, and what you wish existed?

Link: DevUtilityKits – Free Online Developer Tools

Question: What small technical task do you find yourself doing repeatedly, and which tool saves you the most time?


r/webdev • • 10d ago

Showoff Saturday CodeDash Pro: a native web IDE for iPhone Duo and iPad

Post image
3 Upvotes

Hi everyone! I’m introducing my side project, CodeDash Pro specifically optimized for iPad and iPhone Duo. CodeDash Pro natively runs npm scripts and builds projects on static site generators like Eleventy and heavier projects like React. It has built in git support (GitHub integration), uses the on device Apple Intelligence model for small file and coding tasks.

Please let me know if you’re interested in beta testing through TestFlight to suggest features and bug fixes!


r/webdev • • 9d ago

Showoff Saturday: a daily map riddle game built with plain JS, MapLibre and Netlify

0 Upvotes

I used to play GeoGuessr all the time and I've always loved riddles, so I built a daily game that mixes the two with a movie twist. Every day you get 5 rhyming riddles, each pointing to a real place from a famous movie or book, and you drop a pin on the map.

Stack: plain JavaScript (no framework), MapLibre for the map, Netlify functions for the backend, and Neon Postgres for scores and streaks. Full honesty, I'm not a developer and built it with an AI coding helper, so I'd love feedback from people who actually know this stuff.

somewheredaily.com

What would you improve, either in the game or under the hood?


r/webdev • • 9d ago

Question Be honest: what would make an icon website so good you’d never open another one again?

0 Upvotes

If you could build your ideal icon website from scratch, what would make it the single best one in the world?

- Quality vs. volume: Do you care about 300k+ icons, or fewer icons with consistent stroke weights and zero clutter?

- Must-have features: Better search by concept/vibe, comparing the same icon across libraries, live stroke/color editing, one-click JSX/Vue/SVG copy, CLI/MCP support, or something nobody has built yet?

- Instant dealbreakers: What makes you close an icon site in 3 seconds flat?

Curious to hear both the dev and designer sides on this.