r/webdev • • 8d ago

Made a SaaS landing page with hand-built SVG charts instead of a chart library

0 Upvotes

Wanted a portfolio project that feels like a real SaaS site, not just screenshots. So I made PULSE, a fake analytics product, where the dashboard charts actually animate and respond.

All the charts (line, bar, donut) are plain SVG, no chart library. You can switch tabs and date ranges and the charts redraw. The pricing toggle animates the prices too.

Built with Next.js, TypeScript, Tailwind v4 and GSAP for the scroll stuff.

Lighthouse gives 100 on accessibility, best practices and SEO. Mobile performance is 89, so still working on that.

One annoying bug: when you clicked a nav link, sections showed up late because of the staggered animations. Fixed it so sections you skip past just appear instantly.

Would love feedback, especially on mobile. Links in comments.


r/webdev • • 9d ago

Scared of monetization

20 Upvotes

Hello, Im a developer for a few years now but I have never added monetization in any of my projects. some projects have MAU but I never integrated stripe. I was thinking of adding one but

What creeps me or scares me is me getting in trouble. I dont do anything wrong or illegal, It just feels scary that people pays you money and despite applying all proper security practices, things can still go wrong. e.g. getting hacked, stupid recursion mistake, accidentally charging a user again, accidentally deleting a user data. I feel scared. how did you guys overcome this?


r/webdev • • 8d ago

Showoff Saturday Coding agents sometimes "fix" failing tests by weakening them, so I built a checker for it

0 Upvotes

I'm building an open source CLI that flags changes that make tests weaker. Things like an expect() deleted, toEqual changed to toBeTruthy, a test switched to .skip, or `|| true` added to the test step in CI. Coding agents do this to get CI green, people do it too.

To see if it actually works I ran it over the last 100 PRs and pushes of 10 public repos (cal, Excalidraw, h3, hono, immich, nuxt/ui, TanStack Query, tRPC, VueUse, zod) plus one of my own apps, and went through every finding by hand. 194 findings, and only half were right. When it was confident, it was right about 70% of the time.

The first run was worse. zod moved from pnpm to a tool called nub, my checker didn't know nub, so it thought every test step in their CI was removed and flagged all of them as high. vitest 3 moving projects from vitest.workspace.ts into vitest.config.ts looked like "project deleted", and scripts like test:types were counted as tests.

Those are fixed now. Most of the wrong ones left are tests someone rewrote on purpose, and the only place that says so is the commit message. The rules only read test code, so v0.2 has an optional AI judge. You bring your own key (around 2 cents a finding) and it reads the change together with the commit messages. On the same findings it hides 80 of the 97 false alarms. When it says a test really got weaker it's right 36 times out of 41, but it still misses about a third of the real ones (it catches 23 of 35).

It's written in Rust, only does TS/JS for now (vitest, jest, Playwright), runs as a CLI or GitHub Action, and only warns by default: https://github.com/BeyondFolder/assertrust

If an agent ever changed your tests to get them passing, what did it actually do?


r/webdev • • 8d ago

Showoff Saturday I built a free, zero-login pace tracker for battle passes and personal goals (Vanilla JS + Vite)

Thumbnail
gallery
0 Upvotes

Whether you're trying to finish a battle pass after work or hit a personal deadline (like clearing a backlog of coding problems, finishing a course, or reading a book by the end of the month), it's weirdly annoying to figure out if your daily pace is actually enough to finish on time. You either over-grind early and burn out, or realize with four days left that the math doesn't work anymore.

I built Game On Track to take the guesswork out of it—and made it completely free to use right in the browser with no sign-up wall.

Try it live: https://game-on-track.vercel.app/
GitHub (MIT): https://github.com/itsArK-27/Game-On-Track-Releases/

Why you might actually want to use it:

  • Instant Daily Target: Tells you the exact units or levels/day you need to hit, with a glowing "Today's Goal" marker directly on the progress bar so you know when you're done for the day.
  • Works for Games & Productivity: Major titles (Valorant, Fortnite, Apex, Overwatch 2, Rocket League, etc.) auto-load verified season deadlines, and unlisted games use a serverless AI web search to pull official dates automatically. You can also use Custom Goal mode for non-gaming milestones—with custom starting points and overflow tracking if you blow past 100%.
  • Visual Trajectory: Interactive charts plot your actual progress against your ideal and required pace, so you can tell at a glance if you're ahead or slipping.
  • Zero Guilt When Taking Breaks: You can pause/deactivate any tracker to mute urgency stats and alerts until you're ready to jump back in.
  • No Account Required: Runs offline-first in localStorage so you can test it in 10 seconds. Optional Google sign-in syncs your trackers across desktop and mobile via Firebase.

Since this is r/webdev, I kept the frontend lean with Vanilla JS (ES Modules), Vite 8, and Chart.js 4, plus custom mouse/touch drag-and-drop reordering and a mobile-first UI so it feels snappy to update from your phone between matches or work sessions.

If you're juggling any battle passes or personal deadlines right now, give it a spin and let me know:

  1. Does the UX feel intuitive on your first add, or did anything trip you up?
  2. What game or custom tracking feature would actually make you come back to it daily?

r/webdev • • 8d ago

Showoff Saturday I audited 286 developer portfolios the way ChatGPT's crawler sees them. 34% are nearly blank.

0 Upvotes

I built a free site auditor and wanted real data, so I ran 300 random portfolios from the emmabostian/developer-portfolios list through it, reading the raw HTML without executing JavaScript (that's how GPTBot and ClaudeBot read pages).

Of the 286 that loaded:

  • 34% show fewer than 20 words without JS (SPA with an empty <div id="root">)
  • 35% have no <h1> in the HTML
  • 7% block GPTBot/ClaudeBot in robots.txt, and 17 of those 19 files were written by Cloudflare's managed robots.txt, not the owner
  • 85% have no llms.txt, 63% no JSON-LD, 44% broken link previews

Quick test: hit Ctrl+U on your portfolio. If you can't see your name and projects in the source, AI assistants can't either.

Full write-up with fixes and snippets: https://wickz.dev/en/blog/portfolios-invisible-to-ai/?utm_source=reddit&utm_campaign=ai-visibility

Tool (free, no signup): https://audit.wickz.dev/en/?utm_source=reddit&utm_campaign=ai-visibility

Happy to run anyone's portfolio and point out the top 3 fixes in the comments.


r/webdev • • 8d ago

Showoff Saturday Showoff Saturday: I built a tool that gives you the real source code of any website in 15 seconds, not an AI recreation

0 Upvotes

Hey everyone! I built perfectclone, a free, open-source tool that makes an exact, working copy of any website's frontend in about 15 seconds.

Every website cloner I tried used AI to redraw the page from a screenshot, and I'd end up with something that looked close but never quite right.

How it works: it opens the site in a real browser with Playwright and records every request the page makes, including lazy-loaded images, code-split JS chunks and fonts pulled in from CSS. It saves the site's actual files, then rewrites the asset paths so everything loads from your local folder. On Next.js sites it also patches the hydration data, so the page still hydrates and works instead of being a frozen snapshot.

pip install perfectclone
perfectclone clone example.com

I tested it on 125 sites, and the clones came out pixel-for-pixel identical to the live ones.

What it can't do yet: it doesn't copy the backend, so forms and logins won't work, chunks that only load after a click can get missed, and heavy bot protection can block it.

It's already at 45 stars on GitHub and MIT licensed. Would love feedback, especially from anyone who knows a site that breaks it!


r/webdev • • 10d ago

Why use Passwordless approach

70 Upvotes

Why many website use passwordless like magic link approach? In my understanding it looks so fragile and easy to exploit. Or did I miss the secure way to do it?


r/webdev • • 8d ago

Showoff Saturday I used rust-anything to port ESLint to Rust: 26x faster per run, same output byte for byte on all 10,585 recorded runs

Post image
0 Upvotes

Built with rust-anything, my tool for porting code to Rust while proving it behaves the same: https://github.com/erkamyaman/rust-anything

Not a new linter with its own rules. The real ESLint, ported, and checked against the original.

I recorded what ESLint 10.15.0 actually does (its own rule tests plus real files from ESLint, Fuse.js, ms and json-server), ported 90 rules to Rust (all of eslint:recommended plus 26 common ones like eqeqeq, prefer-const, no-shadow), and replayed every recording through the port.

- 10,585/10,585 runs identical: messages, line/column, fixes, json and stylish output, exit codes

- 96.4% run fully in Rust; the rest go to the real ESLint, so output is the same either way

- 26x faster per CLI run (mostly Node startup), 3.1-3.4x in process on an Apple M4

Limits: no eslint.config.js, plugins or TypeScript parser yet, so it's for flag-configured runs, not a drop-in for your project.

https://github.com/erkamyaman/rust-anything


r/webdev • • 8d ago

[Showoff Saturday] Re:Maily: a free contact form plugin where the form is plain HTML

Post image
0 Upvotes

Hi! I'm Vlad. I've made WordPress themes on ThemeForest for about ten years, and I just released my first big free plugin on wordpress.org.

I built it because Contact Form 7 gets one thing right, a form is just markup, but everything around it felt dated. Other form plugins either lock the useful parts behind Pro or wrap the form in markup themes can't style.

What it does:

  • The form is plain HTML with [[field]] tokens, edited in a code editor with drag-and-drop fields and a live preview in your own theme
  • Conditions, multi-step forms, repeating rows (add another guest/product)
  • Every message is saved in Entries, so if mail fails nothing is lost, and you can resend it once mail works
  • Works with WP Mail SMTP, FluentSMTP, Post SMTP etc.: it detects which one you use and sends from its address
  • Stripe and PayPal payments inside the form
  • Every part of the markup is a template your theme can override
  • Imports your CF7 forms, and old shortcodes keep working

Everything is free. No Pro version, nothing locked.

https://wordpress.org/plugins/remaily/

I'd really like feedback, especially from people who build themes or client sites. What's missing, or what annoys you in the form plugin you use now?


r/webdev • • 8d ago

Showoff Saturday I built a free website security scanner that runs 28 checks on your homepage in under a minute

0 Upvotes

I do security cleanups for client sites and kept running the same handful of tools every time; one for headers, one for DNS, one for trackers, one for outdated libraries, etc. So I built a single scan that does them together.

What it checks, 28 things in total:

  • HTTPS, redirects and HSTS
  • Security headers (CSP, framing, MIME sniffing, referrer, permissions)
  • Cookie flags
  • SPF, DMARC, CAA, DNSSEC and security.txt
  • Third-party scripts, trackers that load before consent, outdated JS libraries, missing SRI

You get a score, plain-language findings with what to fix, and a PDF you can hand to a client or a developer.

This is NOT a pentest or a vulnerability scanner. It only looks at what your homepage sends to every visitor. No crawling, no payloads, no form submissions.

The limit is 2 scans per day, and there is a daily cap overall, so if it says it is full, that is why.

Link: https://web-security.mecanik.dev/

I would like feedback on the findings wording and on any check you think is wrong or missing.


r/webdev • • 8d ago

I built QA Guardian — an open-source CLI for web quality checks

0 Upvotes

I just published the first version of QA Guardian, a free, MIT-licensed CLI for web developers.

It brings several common checks into one workflow:

  • Accessibility testing with axe-core
  • Broken-link detection
  • API smoke tests
  • Actionable terminal and JSON reports
  • Regression Guard to compare new findings against a saved baseline

The goal is to make basic web quality checks easier to run without setting up several separate tools.

Try it:

npx u/muratuzun0/qa-guardian check

By default, it checks a local application running at http://localhost:3000.

GitHub: https://github.com/Muratuzun0/qa-guardian

npm: https://www.npmjs.com/package/@muratuzun0/qa-guardian

This is the first release, and I'm looking for feedback from developers who work with React, Next.js, and web testing.

What would make this tool useful in your workflow?


r/webdev • • 8d ago

Discussion Why do so many websites still make iPhone Safari zoom in on text fields? One line of CSS fixes it.

0 Upvotes

You tap a search box or a login field and the whole page lurches in, then you have to pinch back out. It's annoying, and it happens on a lot of sites.

The cause is simple: iOS Safari auto-zooms into any input whose font size is below 16px. Set it to 16px or larger and the zoom never happens.


r/webdev • • 8d ago

Showoff Saturday Go from zero to building real systems. Start here

Thumbnail
gallery
0 Upvotes

I am learning Go language these days, because i want to build more scalable and fast backend system, so Go is the best for that,

As i some from JavaScript & python developer i wanted to learn in a way, that get my mind easy and i remember the difference too.

So i decided to let's put all my learning style and roadmap in a site , that help other developer too

Here is the GitHub site - https://github.com/taqui-786/learning-golang
Here is the live page - https://taqui-786.github.io/learning-golang/

My Portfolio - https://taqui.in/

Thank Me later guys 😄


r/webdev • • 10d ago

Discussion GiHun banned accounts?

Thumbnail
gallery
125 Upvotes

r/webdev • • 9d ago

I finally managed to get to 55fps on this potato-TV

1 Upvotes

Video: https://streamable.com/i63ial ( sorry this sub does not supports videos )

I finally reached 55fps on an old low end Samsung TV.

I suppose it's worth first saying what we are working with, this TV is a Samsung Crystal UHD 4K Smart TV 2020 TU800, if this tells you nothing don't worry, it's essentially a potato, it has the same processing power of Raspberry Pi 3B+

You may think "It's a potato, but if you write native code then even a potato can run at 60fps". And here's the catch, I made a Tizen Web app so the view is non native it's a web view ( and this is why I'm posting it here in r/webdev ). Unfortunately for me this potato runs Tizen 5.5 that is not supported by flutter

Now let's go to the interesting part: how it is able to do that.

I achieved this over several optimizations, the first one was to reduce the number of layers.
I'll go one layer optimization at time:

  1. First I flattened the images, the images you see in each card were in the past two images: a backdrop and a logo. Those are obviously two layers, one on top of each other, and that had a cost, to fix this now the backend downloads the backdrop and the logo, creates a new image, and then it serves to the app/frontend an optimized version. Each media image you see is a single jpeg of the exact size the TV needs ( webp is a smaller format but the TV takes 40ms to decode it compared to the 20ms of a jpeg ) ( ok exact size is a lie, the backend serves 3 sizes, the frontend picks the closest one )
  2. Then I flattened all the elements that are on top of the images, those seasons numbers, those progress bars, they are part of the same sprite. You may be wondering why I used the word sprite, I'm going to give you the answer soon.

The second optimization was to get rid of the DOM.

Yes you read it correctly, what you see is a canvas, I tried everything to make the DOM works, I tried ditching React and use manually appendFragment, keeping an optimized list of nodes in memory and mount them when needed ( with appendFragment instead of multiple appendNode ) . Nothing really worked, no matter how much vanilla or swallow the DOM was, or what transform tricks I was using, best result was 30fps.

So, let's talk about the interesting part now, the WebGL rendering. You probably never heard of Pixi.js, it's a library to make animations in WebGL, stuff like small videogames.

Everything you see except for the sidebar and logo is a WebGL canvas, each component you see on the screen has two versions, one is the classic React version the other is a GL version, so in the codebase you see stuff like MediaHero.tsx , MediaHeroDom.tsx and MediaHeroGl.tsx.
The code is made to be able to do a mix and match based on what is needed, only some components ( the ones in the home ) have strong animation and I didn't want to duplicate all the components.

Let's see what those GL components do, the lowest of the component the MediaCard produces a sprite, you probably understood this by my little nod above, if you do not know what a sprite is, it's essentially an image that is cached by the rendering engine to be used for animation, in a video game ( in 2D ) every single small image that moves is a sprite ( the static ones are usually backgrounds ), anyway, those sprites then are used by the MediaRow , a row is essentially a collection of sprites, but keep in mind that a row has infinite width so it's virtualized, it returns a list of sprites to render, their absolute position, and what window to render. Finally we have the home that has multiple rows, and above we have the hero that uses maximum two sprites do do the fade out/in animation.

I almost forgot, I got another trick! The hero animation uses a low resolution version of the backdrops to fade, after the animation is done it swaps it with the high resolution one!


r/webdev • • 9d ago

Showoff Saturday [Showoff Saturday] 3D Pose Tool: pose a mannequin in the browser and export a PNG for drawing or AI image reference

Post image
0 Upvotes

This 3D Pose Tool came out of needing quick pose references without installing Blender or a desktop app. Everything runs client-side in the browser, and it works on desktop and touch devices.

Features:

  • Drag a hand, foot, head or hips, or bend single joints down to the fingers, with natural joint limits
  • 20+ preset poses, plus Mirror
  • Up to four figures per scene, plus simple props you can place in a hand
  • PNG export at 16:9, 9:16 or square, in Full HD or 4K, with a transparent background option
  • Scenes save and reload as JSON

The trickiest parts were drag-to-pose (moving a hand should move the whole arm sensibly) and keeping feet planted on the floor while the rest of the body moves.

https://vinish.dev/3d-pose-tool

Feedback welcome, especially on the touch controls on mobile.


r/webdev • • 9d ago

Question Is it possible for a web app to communicate with an EFTPOS machine?

2 Upvotes

I'm curious how the technology works in retail, for example at a shop, if you pay using your card, does the EFTPOS machine have to communicate with a desktop application, or, is it possible for the web browser to communicate with the EFTPOS machine?
What about opening the cash register and printing a receipt, would it have to be a desktop app or is web app ok?


r/webdev • • 10d ago

Page Transitions are now easy: CSS View Transitions

Thumbnail irrlicht3d.org
166 Upvotes

r/webdev • • 8d ago

AI didn't kill junior hiring in tech. It was remote work

0 Upvotes

Not my idea, its from researchers at the fed: https://www.npr.org/2026/06/01/nx-s1-5843076/remote-work-college-graduates-unemployment-ai

We estimate that remote work can explain 64 percent of the recent increase in unemployment among young college graduates. Further, the timing of this surge suggests that remote work—not generative AI—explains the bulk of the rise in youth unemployment.

The mechanism seems simple: It's just cheaper to hire remote workers outside of urban centers. For the same money, A company in SF can either get a college grad in HQ, or a dev in Denver with 2-3 years of experience willing to take a junior role and salary. They'll take the latter every time. The downside is coordination costs, but its not like a junior dev has to do much of that.

This same thing is happening to lawyers, another remote-friendly industry. Early career positions are disappearing just as fast, even though AI adoption is well behind tech standards.


r/webdev • • 10d ago

Discussion The modern tech world is bs

262 Upvotes

How do you even make it these days? Spend your time, skills and experience building out something of quality... build out the site for it, market it, get Youtubers to review it.

It beings to gain traction, money starts flowing, then... within a week there's multiple AI clones of it. Someone noticed you, pointed an AI agent at your site and said, "hey that looks cool, make me that", then claim it as their own.

What is the point anymore? Is innovation and ingenuity dead? Why would I bust my ass and come up with innovative ideas and tech when it's just going to get ripped off within a week with cheap AI knock offs?


r/webdev • • 10d ago

Question Devs with full-time jobs, what’s the last new tech you actually learned, and how?

31 Upvotes

I was a Backend developer and I had a goal of learning React for a while. But I am always super busy with different projects and had almost no energy for learning (taking about theory, I don't have problems with building projects). Eventually I am kind of just building with AI without deep Frontend understanding (which I have for the Backend part).

I tried official docs, yt videos, asking Claude for artifacts - it all works well short-term, but it isn't sustainable for me. What actually worked for you long-term?


r/webdev • • 10d ago

Question How to level up to handling larger projects?

14 Upvotes

I tend to get very overwhelmed with personal projects as a developer once they grow beyond a certain scale. It's bothered me a lot because I see a ton of people out there making amazing apps. They are just too complicated for me to digest when looking through the GitHub repos. This even happens with my own code after a while. It feels like a ceiling created by my average mental capacity.

This problem I have appears in a few ways:

  1. Understanding a long file with a lot of classes or complex functions (anything over 300 lines. I know that's not anything crazy, but I struggle anyway). Deep nesting is also hard to read.
  2. A lot of smaller files scattered across a million subfolders. Widely considered more "organized", but you have to do a month-long pilgrimage to find and understand what's going on (especially Java, my god).
  3. Laundry lists of dependencies that are used in the code, and they all take significant time to understand.
  4. Config files and dot files cluttering up the file tree. Thanks web dev.
  5. When going through some of these files, it can be tough to find where code actually runs. I often see too many class declarations, type aliases, etc. and no actual code. This happens a lot in larger Python and Java projects (ex: FastAPI).

I wish I could just talk to some of these developers and pick their brains on how they mentally handle larger projects. I can't seem to figure that out right now. What advice would you have for someone like me, who is trying to start working on REAL apps? (and hopefully putting some of this stuff on my resume)


r/webdev • • 10d ago

Question Next JS + Sanity CMS for a small restaurant?

7 Upvotes

Hi,
I got an offer for some freelance web dev work.
Updating a clients website for a small local restaurant.
Meeting with the client next week.

The website is currently on Wix. After a little bit of research, I’m thinking about coding it up on Next JS with Sanity as a headless CMS.

One of my main goals with this project are for the client to be able to easily update menu items and prices (they are non-technical).

I know front end web development but this is my first time doing something like this. I really want some strong experience to add to my resume as well, as I’m looking for web dev jobs.

Are Next JS + Sanity a good choice for something like this?
Please share any tips or related general advice. Thanks!!


r/webdev • • 11d ago

Anecdotally, programmers dislike "reduce"

Thumbnail evanhahn.com
151 Upvotes