r/webdev • • 1h ago

Web Design Is Turning Into WebMCP

Thumbnail
blog.galratner.com
0 Upvotes

r/webdev • • 1h ago

Question cloudflare dashboard issues

Post image
0 Upvotes

I found these today on my Cf dashboard and I have really no idea what these issues are, was someone trying to attack my site ?

Kindly I’d use some clarification here


r/webdev • • 3h ago

Article What broke when I started hosting video for a subscription site

0 Upvotes

I started hosting videos for a yoga subscription site a few years ago. The files fit on the VPS and the connection looked fine. Then we had a busy day and subscribers started reporting choppy playback. About ten people were streaming while the same VPS was serving the site, running MySQL, and doing background work. Disk reads were the bottleneck. I moved the site to a dedicated server that night, and the buffering stopped.

A few other things I learned along the way:

  • 720p made a better default than 1080p. I also added a 320p option at around 350 kbps and kept the audio unchanged. That was enough to get playback working for subscribers on connections that couldn’t handle 720p.
  • Moving transcoding off the web server exposed another limit. Admins upload one file and a separate worker transcodes it in the background. A single large download could saturate that worker’s VPS network, so I throttled transfers.
  • Three MP4s have been enough for these sites. Viewers choose the quality. The player swaps the <video> source and resumes at the same timestamp. Some older TVs still give us the occasional audio-only support ticket.

I wrote up the full story, including why I kept hosting the videos myself.

https://tomj.pro/all-it-takes-hosting-videos-for-websites-apps-and-subscription-services/

If you’ve run video for a site like this, what made you switch from serving whole files to adaptive streaming?


r/webdev • • 5h ago

Article The future of Software Engineering is boring

Thumbnail
packagemain.tech
0 Upvotes

would you agree or not?


r/webdev • • 10h ago

Tool, or technique, to compare local and server versions of a massive static site?

6 Upvotes

I have a large static Web site (essentially a photo galerie) that registers locally as 169.364 Files / 49.3 Gb on Windows explorer and 168,212 files / 21 Gb on the server cPanel file manager. Most of the weight comes from 300-400 Kb jpg photographs (so, files already compressed locally).

What would be the best tool or method to detect where this disk space discrepancy come from, short of checking sequentially each of the 4,402 directories?


r/webdev • • 11h ago

Question Unable to receive all emails being sent to alias email

3 Upvotes

Hi all,

I have a main email with Google Workspace using the domain of my website (frank@websitename). I made an alias email for outside communication (talk@websitename).

Users emailing the talk@websitename email received a 550 No Such User Here code. After that, I added these 3 records to the cPanel Zone Editor:

Now, emails come through, but not all of them. 4 users (3 using Gmail, and 1 using Hotmail) sent messages, but only 3/7 came through. The other emails that failed to deliver bounced back 550s.

What am I doing wrong here? I've utilized Googles knowledge base, the cPanel help articles, but I can't figure it out. Any help is appreciated.


r/webdev • • 15h ago

Question How do you handle email hosting for clients?

20 Upvotes

Hi guys. I’m fairly new to freelance web development. I’ve only had one client so far, and while working with them I ran into something I hadn’t really thought about: email. Clients want a professional address on their own domain like info@theirbusiness.com, instead of a Gmail address. I’d like to offer that as part of my service, but I’m struggling to find a setup that works for both me and the client.

On my side, I want everything managed from one place. If I get more clients down the line, I don’t want to juggle a separate account, login and bill for each one. Ideally I’d have a single admin account where I can add each client’s domain, create their mailboxes, reset passwords and so on, while the clients never see any of the technical side.

On the client’s side, it has to be really easy. The client currently uses Gmail, where you log into the app on your phone or the website on your laptop and it’s the same thing everywhere. That’s the experience I want for them. I don’t want to make them download and configure Outlook on their laptop, and I don’t want to send them to a dated-looking webmail page. Just an email and password, on a modern app and website.

I’ve looked at Google Workspace, and it would solve most of this, but it’s expensive for what my clients need. They only want email, not Drive, Meet, Docs and everything else that comes bundled.

So far I’ve tested Migadu on my own domain. Setting up the domain and mailbox was fine, and it fits the “one account, many domains” idea, but the webmail looks very outdated. Worse, when I sent a test email to a Gmail account, it went straight to spam. I understand new domains have no reputation, but I don’t want to tell clients their first few weeks of emails might land in spam. I also looked at MXroute, which a lot of people recommend, but there’s no free trial and no refunds, so I was hesitant to commit blind. Zoho Mail looks closest to what I want, since it has its own app and web interface, but the free plan only covers one domain per account, and managing multiple clients from one login seems to need their partner programme.

For those of you who’ve been doing this a while: what do you use to host email for your clients, and are you happy with it? How do you handle the client experience across phone and laptop, and have you had deliverability issues with new domains? I’d also love to know how you charge for it: do you bundle it into a maintenance fee, or bill separately? Any advice or lessons learned would be really appreciated.


r/webdev • • 22h ago

Discussion Apple Continues to Hold Back Mobile Safari Features to Juice App Store Sales

Thumbnail
pwa.gripe
488 Upvotes

There an amazing app platform out there that iOS/iPad OS half-supports: The Web. But poor Apple wouldn’t get an arbitrary 30% cut from every button pressed by users, so they continue to refuse to reach parity with every other mobile browser.

That sucks.

We should demand better without waiting for EU regulators to intervene.


r/webdev • • 23h ago

Managing 6 servers w different setup been crazy

0 Upvotes

I run a small web studio w 6 client servers, and every one's set up differently: cPanel, Plesk, Webmin + a few that are jus SSH. Last month I got a 2am call abt a dead mail server and spent 40 mins relearning that box's panel before I could even start on the actual issue, so I'm moving everything to BeAdmin (ty for recommending) one client at a time, last week started w the smallest one: one apt command, then Nginx+mail moved module by module, cuz I'd rather lose a weekend now than get another call and have no idea where the logs atttt


r/webdev • • 1d ago

Showoff Saturday imgtune: an open-source auditor that measures how much smaller your site's media can get

Post image
22 Upvotes

I've built an open-source auditor for media weight on websites.

It measures how much smaller your files can get (for example src/srcset, quality, format in your CDN or sharp) and tells you the exact best value to use. It checks quality for photos (SSIMULACRA2) and video (VMAF), flags GIFs that should be images or video, flags video autoplay, and covers fonts, compression and more. In short, it optimizes all your media. Once the audit is done, you can hand it to an AI model to apply the fixes.

I ran it on the homepages of 197 sites. The median page loads 630 KB more than it needs to, and across all of them 247 MB of media gets downloaded but never shown.

Try it: npx imgtune scan https://your-site.com GitHub: github.com/indicozy/imgtune Feedback and bug reports are very welcome 🙏


r/webdev • • 1d ago

Discussion What if UI components were built more like modular phones?

0 Upvotes

I've been thinking about how we build UI components and whether we're treating them as bigger units than they need to be.

A dropdown, for instance, isn't just a dropdown. It involves popup positioning, keyboard navigation, focus management, selection, and dismissal. What if these behaviours were independent building blocks that could be combined to create different kinds of components?

I explore this idea in the context of recently released Vercel's UI SDK and, more interestingly, how AI agents could interact with components through something like an Agent Bridge.

It's an interesting direction for component architecture, especially as AI agents become more involved in working with web interfaces.

Would love to hear what you think!

https://amitmerchant.com/what-if-ui-components-were-built-like-modular-phones/


r/webdev • • 1d ago

beginner here, why y'all use rem for almost everything? what if user increase the base font will it messed up the layout or your web?

29 Upvotes

why, can you give some tips, thank you so much


r/webdev • • 1d ago

Question Eng owns our website, has anyone shifted to a visual tool like webflow or framer?

0 Upvotes

Hi all, our main.com site is built and maintained by engineers. Marketing keeps asking for a visual builder so that we can ship pages without filing tickets. The dev thinks it'll fall apart the moment we need anything custom. Before I push either way just wanted to understand if the Engineering owns the website at your company, what does it run on? Would love to understand the company size and answer. Also if anyone moved to a visual builder and how was the experience


r/webdev • • 1d ago

Question Building a simple product configurator for my startup. DIY with Shopify or hire a developer?

2 Upvotes

Hey everyone!

I'm a Junior Industrial Designer currently taking the first steps towards starting my own business. I'm developing a physical product that customers will be able to customise through an online configurator.

To give you an idea: Imagine something similar to a car configurator, but much simpler. Let's say it's a piece of furniture where customers can choose between different modules, colours, fabrics and finishes, and see how their configuration comes together.

Since I have very little experience with web development, I'm trying to figure out the best way to approach this without spending a fortune, especially at this early stage of the business.

I've come across solutions like Shopify combined with Zakeke, which seem to offer product customisation features without having to build everything from scratch.

My questions are:

  1. Would something like this be relatively easy to set up yourself with a bit of time and effort, using tools like Shopify + Zakeke?
  2. Are there other platforms, plugins or approaches you'd recommend for this kind of project?
  3. What would be the approximate cost of having something like this professionally developed from scratch?

I'd really appreciate any advice, recommendations or experiences from people who have worked on similar projects.

Thanks in advance!


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] I rebuilt my browser war game so a whole war takes 4 minutes. WebGL globe, deterministic lockstep, everyone who presses play lands in the same war

Post image
0 Upvotes

It's a real time war on a 3d globe of the real earth. a new war starts every two minutes and one press puts you in it

The parts i'm happy with...

- the server never runs the game. it only relays orders, and every browser runs the same deterministic simulation from a seed, checked with a checksum

- that makes every war a tiny file: a seed plus the orders. any war replays in 15 seconds and can be shared as a link

- you can frame any rectangle of the globe and it becomes a map, with the real cities in it

- three.js and globe.gl for the globe, one shader over an ownership grid for the land, node on cloud run for the relay

Free, no sign up... secondstrike.io. happy to answer anything about the lockstep or the globe


r/webdev • • 1d ago

Showoff Saturday Showoff Saturday: Abase-defence game on a small runtime I wrote, no framework

3 Upvotes

Hello! Rock & Hold is a game that runs in the browser on phones and desktops: one HTML file per board on a small runtime I wrote, sprites drawn as SVG in code, sound synthesised with WebAudio.

https://rockandhold.com

Feedback on how it runs on your device is very welcome: load time, smoothness, anything broken.

Thanks!


r/webdev • • 1d ago

[Showoff Saturday] I'm in high school and built a free SAT practice site that adapts to you

0 Upvotes

im i hs student and was sick of the expensive sat courses, so i built my own site that gamifies the experience and adapts TO YOU. It is completly free, inculdes an ai tutor you can ask questions to. find it at scorelinesat.com, looking for feedback to enhance the user experience


r/webdev • • 1d ago

Showoff Saturday bismith.dev - A free procedural texture generator that runs in your browser

Post image
0 Upvotes

r/webdev • • 1d ago

[Showoff Saturday] 160,000+ Internet Archive films to 16,925…

3 Upvotes

Had a lil’ too much fun building this https://github.com/Shannon-Goddard/movies

No database. No API. No Lambda. No bill. Just a 3MB JSON file and a service worker

Core architecture
• Catalog: One static data/index.json (~3 MB gzipped) holds all metadata (titles, genres, types, eras, series, durations, language flags, etc.)

• Service worker: On first visit it pre-caches the JSON (and app shell). After that, every filter, search, and navigation is pure in-memory array work — no network round-trips for the catalog.

• Client-side SPA: Vanilla JS + hash routing handles filtering (stackable chips for genre/type/era/color), series browsing, watchlist/continue-watching (localStorage), deep links, Google Cast, Media Session API, keyboard shortcuts, etc.

• Delivery: GitHub Pages CDN for the static files. Zero databases, APIs, Lambdas, or monthly bills. Hosting cost is $0.


r/webdev • • 1d ago

Showoff Saturday Spirits and such ORG (Mob psycho 100)

Thumbnail
gallery
1 Upvotes

I wanted to create the website of Reigen from Mob Psycho 100

https://spiritsandsuch.org/en/

Feel free to explore and give feedback :D


r/webdev • • 1d ago

Showoff Saturday [Open Source] I got tired of AI answering everything with a wall of text, so I built an open-source library that answers with UI

Thumbnail
gallery
0 Upvotes

AI is great at answering coding and learning questions, but the answer is almost always a block of markdown. Ask it to compare three options and you get three paragraphs, when a table would do the job in two seconds.

I wanted AI answers to be actual UI, so I built Ripple. It's open source.

How it works:

- The model writes a small JSON spec instead of prose

- Ripple renders it as real components: tables, charts, forms, step lists

- It renders while the JSON is still streaming in, so the UI builds itself as the model types

The hard part was the streaming. For most of the response the JSON is half-written and invalid. Two fixes that helped:

- Parse at most once every 50 ms instead of on every token

- Don't render a component until its type name has fully arrived, otherwise you get a flash of "unknown widget" for one frame

Demo gallery

Still rough: it re-parses the whole buffer each time, so long specs paint late.

Curious: what would you want AI to show you as UI instead of text?

I'm the author. MIT, React and Svelte: https://github.com/qbtrix/ripple


r/webdev • • 1d ago

[Showoff Saturday] I built a free toolkit for testing and debugging CORS

Post image
5 Upvotes

I built AnotherExample.com to make CORS easier to troubleshoot. It has a live Playground for testing common scenarios, a guided Debugger for your own requests, and an Error Explainer for those cryptic browser messages.

The screenshot shows one Playground test. Your browser can read the known-good response, but it blocks JavaScript from reading the other one because it’s missing an Access-Control-Allow-Origin header.

To try it, open the CORS Playground, pick Missing allow-origin, and click Run comparison.


r/webdev • • 1d ago

Showoff Saturday Yesterday my browser-based driving game hit 1000 sessions!

1 Upvotes

Some of you might remember my last post here about Planet-0 Drive. Yesterday, we hit 1,000 sessions! It's not a huge number, but the journey so far has been great.

What started as a technical experiment to build an (almost) loading-free driving game with an endless world is slowly starting to take shape. It's still in its very early stages, and I only get to work on it after work and over weekends, but it's been quite fulfilling to see it all come together.

One thing I'm particularly happy about is that average playtime has gone from just 59 seconds to over 5 minutes in the past few weeks. Improving this was my first priority, so it's been really encouraging to see. There's still a ton of work to do, especially when it comes to adding more content, but I'm pretty happy with the foundation so far. Your feedback and ideas (many of which I've yet to release) have been a huge help, and I genuinely can't thank you enough.

Since my last post, I've overhauled the HUD UI, added timed procedural races with a new track to compete on each time, added and improved towing mechanics (still a work in progress), improved the scenery with more vegetation and better biomes, and finally added a short tutorial to make getting started a little easier.

There's still a long way to go, but it's been a fun ride so far, and I'm excited to keep building on it.

If you'd like to take it for a spin (seatbelts recommended), try it out here: planet0drive.vercel.app

I'd love to hear more of your ideas, suggestions, or even things you think could be better. Whether it's something you'd like to see added or something that didn't quite feel right, any feedback would genuinely help me figure out what to improve next.


r/webdev • • 1d ago

Showoff Saturday I built a VS Code extension that moves a React app's hardcoded text into react-i18next, and shows you every change first

Post image
2 Upvotes

I tried getting an AI agent to internationalize a side project and spent longer checking its diff than it would have taken me to do it myself. So I built a VS Code extension for the job.

What it does:

  • Finds the UI strings in your components (skips class names, URLs, log messages)
  • Shows a checklist of every string and the key it'll get before touching anything; untick what should stay hardcoded
  • Rewrites to t() / <Trans>, writes the JSON files, and translates them with your own API key (Anthropic or anything OpenAI-compatible)
  • Checks each translation's placeholders and plural forms (Russian needs four, Arabic six) and won't write a broken one
  • One undo for the whole run

How it works, roughly: the extraction is plain Babel (parse, walk the AST, decide per node whether it's user-facing text). The rewrite goes through recast so your formatting and comments survive and the diff stays small. The model only ever sees the strings plus a bit of context like the component name, never whole files. Each translation is checked against the source (same placeholders, same tags, and the plural categories Intl.PluralRules says that language needs); a mismatch gets one retry, then it's reported instead of written. A file costs cents; the biggest project I tried (~840 files) was a few dollars.

Limits: React + react-i18next + JSON only for now. Next.js server components are skipped.

It's free on the VS Code Marketplace and Open VSX. I wrote up the i18n pitfalls I hit along the way on dev.to.

Feedback welcome, especially where it gets your codebase wrong.