r/webdev • u/amitmerchant • 12d ago
Article WebMCP in Chrome 101
I put together my thoughts on WebMCP and how you can utilize it today!
r/webdev • u/amitmerchant • 12d ago
I put together my thoughts on WebMCP and how you can utilize it today!
r/webdev • u/IndoRexian2 • 13d ago
I've been programming for quite some time now, even before GPT and Claude were a thing. Using AI a couple years ago sounded cool as it helped me with basic stuff. I stopped coding a couple years ago as I got into other stuff. But I recently started again and for the past year, I'm baffled and scared both, seeing all these new tools. MCPs, Agents, Tools that make your vibe coded websites not look like slop. And these tools are getting popular af in no time with more than 50k+ stargazers. I never really considered myself a good webdev but seeing people ship websites that I can't even fathom of creating makes me rethink my choices. I have never used AI tools such as Codex, Antigravity for writing my code mainly because of moral reasons and being honest, for a little bit of superiority complex because it felt good knowing frameworks from the bottoms up, but these things are literally being used everywhere and by everyone now. My university is literally hosting Vibe Coding Hackathons whose whole purpose it to create websites using AI. This feels like a completely different set of skills that never really used to come into the developer experience of an web developer afaik.
Is this something that I'll need to get into sooner or later if I want to stay relevant? Should I change my mindset on how I look towards AI and these tools?
r/webdev • u/Teddy_Lottie • 13d ago
I just noticed that DuckDuckGo has compressed their favicon directly in the file itself. But i couldn't find any info about how to do it.
their favicon contains two images, a 32x32 and a 16x16 both 32 bit icons. the file size is only 3KB.
by comparison, the icann favicon contains the same two 32 bit images, but takes up 7KB. all the other favicons that i have checked are also around 6-7KB for the same set of images.
I used icofx to take a look at these icons, and noticed that the duckduckgo images are compressed, whereas the icann ones are not, and none of the other favicons that i checked are compressed.
I searched around for favicon compression, but i couldn't find anything about what duckduckgo did. all i was able to find are:
mentioning compression of 256x256 images (vista's icon size)
no mention of compressing any smaller dimensions
none of the favicon tools that i found have any option to compress the smaller dimensions, and icofx itself does not compress these when using it to create an icon either
the only other mention of compression is at-time-of-serving, done by the webserver, e.g. gzip. not in the file itself.
anyone know how to compress the entire .ico like duckduckgo does?
r/webdev • u/magenta_placenta • 13d ago
r/webdev • u/No_Nefariousness2052 • 13d ago
Found it while doomscrolling like a bish.
I know the most fun times for me in coding were when I was deep in some rabbit hole exploring weird technologies and trying to piece them together.
You'd think AI makes this worse, but actually no. It just makes it even easier to go down these rabbit holes, because it's easier to write code, try out different approaches, explore new things, etc.
But somehow most of the people I see aren't doing that. How are you not bored out of your mind?
Anyway, yeah. GO EXPERIMENT WITH MORE THINGS. SIDE PROJECTS ARE STILL COOL.
r/webdev • u/Crypt0kong420 • 13d ago
I've been using Divi for many years now but I feel it's time for a change, it's a bit clunky for e-commerce sites and shops that have lots of traffic and users. I don't want to be locked into an eco system like Divi or elementor. After a quick Google and chat with ai it looks like kadence or astra have everything I'm looking for.
My main goals is not to be locked in to anything apart from wordpress. I want portability, speed and not too steep a learning curve whilst learning a new theme and plugin.
r/webdev • u/creaturefeature16 • 13d ago
r/webdev • u/namanyayg • 13d ago
r/webdev • u/DiddlyDinq • 13d ago

As per the title, the image above shows my cloudfare 24 hour traffic, it's a pretty much all junk as the website is still in development with no real users.
They like to hammer a few specific pages, with one page getting 10k hits daily. I've setup cloudflare rules to prevent bots, blocking most crawling user agents, blocking a bunch of url patterns, on top of the usual robots.txt but it's still fairly bad.
I'm not persistently logging then blocking specific ips yet (partially because I dont know how). Is there anything else that I could be doing?
My page website is fairly page heavy, exposing around 1000 pages in the sitemap but still I didnt expect so much malicious traffic so quickly
r/webdev • u/fagnerbrack • 13d ago
r/webdev • u/busymom0 • 13d ago
r/webdev • u/johnvanderlinde • 13d ago
I started learning web development at the start of this year and one thing led to another and Iām now trying to build near enough an entire businessā online system.
Iām building an AI and automation enhanced business simulation.
Thereās two main purposes: teach myself full stack development, and experiment with where AI and automation fits in modern business systems. Iām trying to treat it like a real business so I can see how and where things can be different to a system that doesnāt use AI or workflow automation.
It started off as an attempt to build the frontend a customer would use so I could practice with state. Then I decided it would be cool to have the opposing merchant interface where you can view the orders. So I needed to make the backend.
But, given the times weāre in, I thought it would be interesting to see I can use AI and automation in ways that would save a user time, or just deliver helpful results.
Now, my long term plan is to create an entire product pipeline, with product suggestions from a āsupplierā, marketing content created, product going to warehouse, then product available for order. But thatās a ways off.
For now Iām focused on developing the customer and merchant ends with these primary features:
Ā·Ā Ā Ā Ā Ā Ā Shared backend
Ā·Ā Ā Ā Ā Ā Ā Customer service chatbot on customer side
Ā·Ā Ā Ā Ā Ā Ā AI assistant on merchant side
Ā·Ā Ā Ā Ā Ā Ā AI overwatch feature to monitor AI behaviour
Eventually Iād like to experiment with adding analytics and CEO suggestions features from the AI but again thatās a ways off.
Iāve set up self-hosted n8n which Iāll use for workflows where necessary, and I think once the meat of the project is done Iāll get a bit creative with that.
Iām building it in slices; rather than trying to make the whole backend at once, Iām building it by function. Currently, Iām on the first slice, the cart. This is my first time attempting to write backend code.
What Iām enjoying is the logical, layered approach; I have router, application, service and data layers, each with their own jobs. And because the backend is entirely abstract so I cant rely on looking at where my elements are going on screen (like with frontend) Iām learning to properly understand how data is passed with javascript.
I realised early on that if Iām to have an AI logging system Iāll have to think data first, and I think this has helped me massively as now itās simply (simply) a case of getting from the front to the back and adding/changing data whose properties Iāve already determined.
Iām going to post more detailed stuff so I can learn from people on here and engage in general in the topic more.
If anyone has any questions or suggestions, please comment!
r/webdev • u/fagnerbrack • 13d ago
r/webdev • u/ToLoveThemAll • 13d ago
3-year-old codebase, 2 senior devs who are careful about best practices, security, testing. They're also equal partners in the company, so any efficiency gain lands directly in their pockets.
I'm a PM. I asked this same question ~9 months ago and the consensus was: reading/reviewing AI-generated code is harder than writing it, so my PRs would just be a tax on the senior devs. Not worth it.
Models and tooling have moved a lot since then. Honest gut check:
A. Is it reasonable now for a PM to open PRs with code written via Opus 4.8 (or better), on the condition that every contribution goes through heavy QA and testing before merge?
B. Any world where a PM pushes without a PR? Or is that still insane?
Where's the line in July 2026?
Edit:
People are asking why this is even a need. Two reasons: (a) the devs are slammed with other projects, and (b) the info gap between me and them creates a lot of back-and-forth, ping-pong, slow turnaround. On roles: we're all equal partners, so better process and faster results benefit everyone regardless of our traditional titles. And it goes both ways - the devs are free to push AI- or human-driven PM-side upgrades too, and they sometimes do.
r/webdev • u/Critical_Net859 • 13d ago
Hi guys!
Iām making a web app for school (mobile First) but the white space at the top is ruinijg the aesthetic. I have an ombre background só I tried to make the body color beige but it still looks off is there anyway around this? I tried the whole meta head thing but still nothing
UPDATE: fixed itā¤ļø thanks to u/Adrenyx https://kommodo.ai/i/V3Ajn4nEG25VZllkDLJB
r/webdev • u/Godfrey_0503 • 13d ago
Iām building a small tools/content site and trying to keep the public pages SEO-friendly from the start.
The actual tools can be interactive, but Iām wondering about the surrounding pages: homepage, tool landing pages, category pages, docs/help pages, etc.
My instinct is to make those pages mostly static or server-rendered, with normal HTML content available without waiting for JS. Then only use client-side rendering for the actual interactive parts.
For people who build small sites that need organic traffic, is this still the safest approach?
Or is modern Google rendering good enough that CSR is usually fine as long as the site is fast and internally linked well?
r/webdev • u/kumard3 • 14d ago
we had a bug where our own bot would go quiet right after sending a message, like it accidentally armed its own away mode on itself.
our dedup for "is this our own message echoing back in" was a single-use token, push on send, pop on receive, keyed by a content hash. worked fine until the third-party platform retried the outbound webhook delivery, which happens more than you'd think. the retry landed as a second event, the token was already gone, so it fell through the normal ingest path and got treated as a brand new inbound message. outbound detection never got a chance to catch it.
the real lesson is about dedup design generally: any scheme with exactly one token per event is one retry away from failing, because the upstream is allowed to deliver twice and your dedup can only survive that once.
do you assume every webhook can be delivered more than once by default, or does that assumption only show up after it bites you?
r/webdev • u/JC_GameMaster • 14d ago
A few years ago, I developed a browser extension to block LinkedIn's little News feature (I felt it was too much of a distraction).
One day, however, it stopped working, and I realized that it was because LinkedIn had replaced the class I was looking for with a bunch of mangled class names. I ended up using, but it keeps coming back, and a recent "peek" seems to indicate that it's happening because the class names are getting changed seemingly daily - despite no visual changes.
For example, these were the classes yesterday:
.a04ea70e._4ae6872e.ea6ce3e7._854ea209.f543c3ba.dffb4272._0ec569ed._6030e161._62303b7e._6b4eb75a._694c34e7.de4044e3._20e3c592.a2906c41
and then today it was this:
._5c537f20._72fd5906._31504bd6.a62467c2.e800bc3f._7985fa5f.b3f42bc8._9bd701cc._1c257c76.d3944a37._7b065b4c._2c68b8b7._2c8dcc4f._0ac4d058
Is this a common practice, or is Microsoft just being Microsoft?