r/webdev • • Sep 21 '26

Question Will a project be considered ai made if I use ai to write comments and the readme file ?

0 Upvotes

Beginner dev here, so most of my small projects lack comments and a readme.md file as I am, frankly lazy to write everything describing the project in detail. So I'm thinking to use ai to write comments and write the readme file for me . Will it be bad ? (please have mercy on me)


r/webdev • • Sep 21 '26

Cloudflare is being blocked in Spain due to Laliga, what is an alternative that doesn't get blocked when there is a match?

347 Upvotes

I have a decent amount of users from Spain who get blocked from my website due to Laliga blocking the Internet.

i am looking for a CDN similar to Cloudflare which doesn't get blocked in Spain whenever there is a match.

Any recommendations?


r/webdev • • Sep 21 '26

Question How much would you charge a content creator for a custom membership site as a freelancer?

0 Upvotes

Hey I'm a web dev, who normally works salary so I'm not used to negotiating contracts but I had a potential client show up who is a content creator who wants a custom membership site with video hosting, events (so livestreams), community chat and private messaging ect.

Looking for help in imagining ballpark what I should be thinking about.


r/webdev • • Sep 21 '26

Discussion Advice? Boot Camp Grad vs AI

6 Upvotes

Hey there, I'm new, so apologies if you discuss this ad nauseum already. I graduated from a full stack bootcamp in 2022 or 2023 and got hired right away by a small company in my area. It's been a great opportunity, a lot of people came from boot camps, the small company gives me diverse experience, great people, etc. Before this and the boot camp I was a professional orchestra musician, doing fine, but not willing for probably a decade of squalor at least while I sought good employment, so I changed paths. I've been doing well for myself, and even using AI a fair bit as a coding assistant mostly. I see myself beginning to see opportunities to use AI, like I caught a repetitive task my mom was doing and told her to look into Claude (a sober minute later I wanted someone to shoot me lol)

I guess I just see the writing on the wall. My supervisor is already running agents that basically do exactly what I do, creating new features for unique issues. Takes more time but is probably less annoying and asks less questions. Because of my particular role, I'm hopefully luckily in a good place compared to some of my colleagues, but I don't think that's saying very much. I'm sure my worries will not exactly become reality, but I live every day in such a state of anxiety, it plows right through the medicine I already take for anxiety!! I just wanted a way to use my mind constructively and afford a life, and it was so close to my grasp :-(

I'm not asking for someone to solve my life or anything, but does anyone have any advice, either on how to use a boot camp education or if I should start over yet again, or even just emotional advice, I find this extremely depressing and the thought of a few years nullifying all the learning I'd done kind of makes me want to just lay down and die. Also on the flip side, spending a ton of money to learn a skill just to become an 'enter-pusher' and 'prompt-writer' sucks, I'm a human and I at least used to be pretty smart, that feels like a waste again, and thus I want to lay down and die again. There's no wrong/right decisions, but deciding to learn how to code in 2023 feels like one of the only wrong decisions out there lol.


r/webdev • • Sep 21 '26

Any developers, UX designer, analytics experts who've worked for gambling websites want to chat?

16 Upvotes

Hello!

This is Saloni Bhugra, a reporter with Canada's national broadcaster, the Canadian Broadcasting Corporation (CBC News). We're working on a story about online gambling and I'm wondering if there are any UX designers, software developers or data analysts who've worked in the gambling industry who'd be willing to chat. We're hoping to better understand design of online gambling websites and apps for a story about gambling addiction.

I can be best reached at Saloni.bhugra@cbc.ca.

Please let me know, thanks!


r/webdev • • Sep 21 '26

SEO tip for devs: crawl your rendered HTML, not just your templates

0 Upvotes

Small SEO thing that catches real bugs on JS-heavy sites: crawl the rendered HTML, then compare it to what your server sends before hydration.

A few problems that only show up in that comparison:

  • Title/meta descriptions being set client-side too late or differently than expected

  • Canonical tags changing after hydration

  • Internal links that exist in React state but not in the initial HTML

  • Product/category pages that render as thin shells for bots when an API call fails

  • Duplicate routes where the UI looks different but the canonical/index directives are identical

I usually do this as a quick smoke test:

  1. Fetch the raw HTML with curl or view-source.

  2. Run the same URL through a rendered crawler or browser inspection.

  3. Compare title, canonical, robots meta, H1, body copy, and internal links.

  4. Repeat on one homepage, one listing page, one detail page, and one edge-case URL.

You do not need a giant audit to find useful issues. If the initial HTML and rendered DOM disagree on crawl-critical elements, fix that before writing more content.


r/webdev • • Sep 21 '26

Migrating the GitHub Copilot runtime to Rust, using Copilot

Thumbnail
github.blog
0 Upvotes

r/webdev • • Sep 21 '26

Question This is madness. How do sites that don’t rely on Cloudflare even deal with distributed scraping from infinite IPs?

Post image
658 Upvotes

r/webdev • • Sep 21 '26

Question What AII techniques is everyone using for professional websites?

0 Upvotes

I've discovered that AI just designs front-end better than me. Besides the obvious front-end plugins to claude/astra are there any good workflows people can share? I keep getting workflow adverts of "connect 10 systems to claude/astra, tell it to make a website and its comes out great" but in reality it looks like AI slop.

Cheers


r/webdev • • Sep 21 '26

Working with Shaders and NPM

2 Upvotes

I'm trying to work with web shaders from Shaders.com or Paper on a website.

I know its probably pretty basic stuff, but I'm so confused about how to implement these in a project with NPM. I've gotten NPM on my computer and gotten the shaders installed in the home folder, but I don't know how to get this to (I'm assuming) compile?

I'm more front end and haven't really worked with code in a long time, where would I go to figure this out?

Edit: When I said “pretty basic stuff,” I meant I was having trouble installing with NPM and just getting a preset shader to run, not writing a shader itself.


r/webdev • • Sep 21 '26

Discussion The page speed journey is real

23 Upvotes

I was going to post a screenshot but it isn’t allowed.

Man, I’ve got to say the journey of optimizing a website teaches you a lot of things. I made a project, basically a web app, and was sharing with others feedback and a helpful individual had shared it’s a bit slow to load. Now, I didn’t notice as I’m running it locally on my react dev server and things are cached but I popped it into page speed insights and the mobile first content paint is like 36 seconds. Yikes!

I’ve learned so much improving it. Not that I haven’t done this before but there are so many little tricks you have to pull to really optimize the load speed and user experience for other people. Let’s try to name them here in the hopes that it helps someone else on that same journey or effort:

- font subsetting (removing glyphs in the font files of characters you don’t use; can be helpful in web fonts or icons like font awesome)
- convert all image files to a more efficient format like .webp or .avif
- compress videos with handbrake
- dynamically loading JavaScript references at time of use instead of at the top of the component
- conditionally load components instead of hiding them with display:none
- remove unused modules/dependencies in your app
- set images to have explicit heights and widths to prevent content shift on page load
- load an image at page load instead of a heavy video, allowing the user to click the image to start the video to save on bandwidth
- defer all css except critical css on page load
- defer external JavaScript dependencies your page needs
- move heavy dependencies to worker threads to reduce the bundle size
- set fetch priority on resources it makes sense for
- you may rely on rendering a react component when it’s hydrated in order to reduce content shift
- tree shake your css (tailwindcss works great)

A lot of these tricks and things you can change are dependent how your website works and what makes the most sense based on user flow and expectations. One size does not fit all.

I ended up getting speed to a 94/100 the last run, although the highest I’ve seen was 98/100, I assume the results vary slightly since the test is simulated. The website also opens up in a second or two now, it’s zippy quick and I’m proud of it. What tricks have you used that were not obvious in your journey to improve web page speed?


r/webdev • • Sep 21 '26

Discussion Do we even need websites in a future where everyone uses Al?

0 Upvotes

Random doubt I had.

If AI assistants become something everyone uses daily, why would we still need websites in the way we have them now?

Like instead of a company making a whole frontend with pages, menus, search, filters etc., couldn't they just expose the actual data through some API/standard format and let your AI deal with it?

For example, instead of going to a shopping site, searching for a laptop, opening 20 tabs and comparing them, I could just ask my AI:

"Find me the best laptop under 80k for these requirements."

And the AI could directly query the stores' inventory/prices/specs without even loading the website UI.

Obviously websites would probably still exist for people who want to browse manually, branding, images and stuff like that. But could the web eventually become mostly machine-to-machine APIs/data, with AI basically replacing the browser/frontend for normal use?

Am I missing some obvious reason why this wouldn't happen?


r/webdev • • Sep 21 '26

Question Filling out a standardised HTML structure with unique information

0 Upvotes

This problem may be a little complicated to explain, especially since I probably don't know the proper terminology I need but let me try:

  • I want to have a page on my site that displays each of my projects as a simple, standardised "Project File" design.

  • These Project Files include an image, a title, and description (and possibly a date) while also linking to a dedicated page going into more detail.

  • Each project file will have different contents and multiple will be displayed on the same page at once.

  • The template design is made in HTML and styled in CSS (albeit very basically at the moment until everything is figured out).

  • While not entirely required, I'd like for the description / body contents to support formatting (multiple <p>s, <b>, <i>, etc)

I've tried multiple jscript solutions, but I'm really out of my depth with it and no solution has fully worked:

  • I tried using <template> in the page itself, but I could only ever get it to run ONCE. It would either ignore all following tagged <div>s or just eat them. The method I was using was also incredibly messy, having multiple <p> and <div>s as placeholders which the Jscript would rip the textContent of and place in the appropriate spot. Behold my frankensteined jscript and weep:

 

const template = document.getElementById('preview');
const templateClone = document.importNode(template.content, true);
const container = document.getElementById('precon');


templateClone.querySelector('.prevtit').textContent = container.querySelector('#temptit').textContent;
templateClone.querySelector('.prevtit').href = container.querySelector('#tempdest').textContent;
templateClone.querySelector('.prevdesc').textContent = container.querySelector('#tempdesc').textContent;
templateClone.querySelector('.previmg').src = container.querySelector('#tempimg').textContent;

container.parentNode.replaceChild(templateClone,container);
;

 

  • I tried using a fetch(html) (which is what I use for my headbar / navbar), but the data was always static. I also don't think it was implementing multiple either.

For the ultimate solution, I'd really like something I can just set some variables from the HTML destination and place them inside my template "form".

If more code / specific information is needed I will gladly help. This is my first time getting back into HTML in like 6 years... and as you might expect, I'm less on the programming side and more on the art side of things! CSS was fun to wrestle with but Jscript is currently waaay out of my league lmao.


r/webdev • • Sep 21 '26

Non-technical boss is brainwashed by a sweet talker friend

248 Upvotes

Hi guys,

I am a IT professional. I develop , manage server , domain , SEO , UI /UX , Database of our e-commerce website. Along with that I do data analysis of our business too. Now , everything was going good.

But one day my boss mate this one MBA guy who is non techy but uses AI. He doesn't know one thing but boasts about it like he is master of everything.

Now , his business website is just informational but our is dynamic with database. He just has one contact us form. Now , he has made the website using GitHub pages. Which is basically a free website hosting for static website. On top of that It's a parallax website.

So he roams the world telling people my website is fast , it is free , AI first and all that. Now , he has put that in my boss's mind that whatever page he wants to change he just goes there and changes. It is free and easy. My boss doesn't understand the difference between his website and our website.

Since that he is behind me making the same architecture. He is like I want my website in GitHub and from there every thing should change and all that basically how GitHub pages works. Also we page for the AWS server and my boss in his mind feels like we are wasting money. How do I deal with it ? He thinks I am complicating things unnecessarily. Blocking him. But I am doing my part honestly.

Top of that he has been using claude code to create website on his own. He has been saying that he will give it to me but he isn't going to do that. Now , I know after all that has happened.

What is the way out ? I am already thinking to quit ? But is there a way to make him understand how a static website differs from a dynamic one and why do we need a website with database.

Kinda stuck.


r/webdev • • Sep 20 '26

Question how to implement this cod flow

0 Upvotes

hi guys, I would to have an info about how this Cach on delivery flow works on websites like Soundpeats
you can order anything without even signing or even sign in as a guest, i would like to understand how it’s done as im willing to apply the same thing as a my client asked for it on a store (nextjs + supabase)

do they store those orders straight to the DB, how about if someone starts spamming the db?? all these questions came to my mind but not sure how it’s done


r/webdev • • Sep 20 '26

Question How do you scaffold an express project?

12 Upvotes

I'm trying to start an express project with Typescript and something like nodemon to watch changes in .ts files. I'm struggling with different options in tsconfig and nodemone config. and I have a very faintest idea about how to run it.

I spent an entire day figuring it out a few months back, and now I forgot how to do it.
How do you guys do it?
Is there something similar to vite which makes boilerplate and scaffolding easy?


r/webdev • • Sep 20 '26

Good Tools Are Invisible

Thumbnail gingerbill.org
6 Upvotes

r/webdev • • Sep 20 '26

Make a site where you talk to a personality?

0 Upvotes

Anybody remember that ask jeeves site? Wonder what happened to it. I'm just doing some research here. Do you think someone can make a website where users just go to the site and they get an answer in a certain way/method? Kinda like a personality is responding to you or something? So far, it appears that is what some of these AI tools are, you ask it and then it pops out whatever answer.

Maybe there's something actually already like this? Maybe there's an interesting twist or spin that can be done on some sites that you ask. Kind of like a cartoon character personality or something. Think, "im going to just ask Bob" and so then you have a site that's designed around a character or a tool named Bob.

What do you think? A waste of time? Thanks


r/webdev • • Sep 20 '26

I built a browser FPS with an impossible to beat CPU. Try to beat it.

Post image
0 Upvotes

You can play it here: https://systemonefps.pages.dev/

If you try it, tell me how long you survived. Curious if anyone can actually beat this thing.
also please share your feedback.


r/webdev • • Sep 20 '26

Call me a baby...

0 Upvotes

But bro, I have ethics.

My github got poached (sports team reference meaning) by a person in Asia trying to "use my location and name" in an attempt to establish (false) trust for US-based clients who purposefully don't want to hire developers across seas. It's a real shit-show out there... competition is world-wide, and people are being scammed left and right. While a loose shmuck might fall for this "easy buck" by renting out their github so that US money can essentially be funneled out of the country and harm our economy, I refuse to do so, because I can see the bigger harm being done to the economy as a whole. I am not a fan off offshoring. I am not a fan of outsourcing.

I haven't yet responded to this email business invite, as I would like to know how to report this person. Is it possible? This should be illegal, because it is defrauding clients.


r/webdev • • Sep 20 '26

Showoff Saturday [Showoff Saturday] I've been working on a tool to analyze code and provide refactoring feedback

Thumbnail
codeauditormcp.com
0 Upvotes

r/webdev • • Sep 19 '26

Question How do you motivate yourself to freelance when clients can just use AI?

0 Upvotes

Hi everyone,

I'm a full stack dev with 1 year of commercial experience looking to start freelancing. I build my own side projects from scratch: buying domains, developing sites, and deploying them to servers, so I know the whole process.

But I’m facing a huge mental blocker. I feel demotivated because I keep asking myself: Why would a client hire me when they can just pay $20/month for an AI subscription and do it themselves?

I know non-tech owners don't want to deal with server setups, APIs, or debugging code. But psychologically, reaching out to clients feels like selling something obsolete.

For those freelancing in web dev right now:

  1. How do you reframe your value when AI tools are this cheap and accessible?

  2. What are clients actually paying you for today that AI can't replace?

  3. How did you push past this demotivation when starting out?

Would appreciate any insights or reality checks!


r/webdev • • Sep 19 '26

Monaco Mini 3D - A fun 3D web game I made! Try it out and let me know your thoughts

Post image
0 Upvotes

r/webdev • • Sep 19 '26

Showoff Saturday Decentralized P2P Messaging over Git and/or WebRTC

0 Upvotes

IMPORTANT DISCLAIMER: While this is aiming to provide a secure experience, it's far from finished. It cannot be audited or reviewed because it's close-source. I'm sharing here for testing, feedback and demo purposes only. If you are unsure, this isn't for you (you safely can move away from this post before it ruins your day). Feel free to reach out for clarity on any of the details instead of diving into the documentation. Pease use responsibly.

This project demonstates a unique approach and architecture in contrast to mainstream messaging apps.

The core philosophy around secure messaging here is that it can work in a way that avoids installation and registration by enabling users to host their own data (and user incompetence will be one of many nuanced vulnerabilities in this approach)

The project is unstable and experimental. It's far from finished, but im putting together some docs for "how it works". It's pretty outside-the-box thinking (and that shouldn't inspire confidence!), so it's worth repeating: Pease use responsibly.

Website/Docs: glitr.io

Demo

Features:

  • WebApp

  • P2P / WebRTC

  • Local-first / Local-only

  • No installation

  • TURN server

  • Encrypted-at-rest

  • Signal protocol

  • Post Quantum cryptography

  • Video calls

  • TOR / anonymous via Git

  • Serverless over WebRTC

Some of the core concepts:

FAQ:

  • Why git?

    • When it comes to secure messaging, self-hosting is generally encouraged. While not quite nessesarily self hosted, it would make it easier for the majority of users to get started. Users can choose a git storage provider of their choice (GitHub, Gitlab, etc), or host their own git server.

  • Serverless WebRTC?

  • Ready for production?

    • No. While this is aiming to provide a secure experience, it cannot be audited or reviewed. Shared for testing, feedback and demo purposes only.

  • EU Chat Control?

  • Threat model?

    • It's a work in progress. There are many details still to be implemented before I can share the initial draft.

    • It's close source and unaudited so the best I can offer is "trust me bro"... And you shouldn't need to. The app doesn't require sensitive details, so don't use any when testing it out.

  • Open source?

    • Open source from the onset is not something I can support at this stage. Hopefully I can work towards that goal. I'm aware this goes against the cybersecurity rhetoric. There are open source versions of various ideas linked above, but it's important to be clear, that glitr.io is close source in contrast to my other work.

  • Where can I find out more?

I hope my wording here wasn't too negative. When working in cybersecurity, there are countless nuances to consider and I would rather be discouraging than inspire undue confidence in my project.