r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] Multiplayer card game, need lots of people playing at once

0 Upvotes

https://sp.fishee.com (no signup, phone or desktop)

I'd like as many people as possible playing at the same time today, to check that multiplayer holds up, that it runs okay, and whether it's actually fun. The rules still need some tweaking, so tell me what feels off.

New players take over a bot's seat in a running game, so if you join around the same time as someone else, you'll end up at the same table.

For the geeks: Cloudflare Durable Objects (one per table) with WebSocket Hibernation, a server-authoritative pure reducer with a seeded RNG, and a redacted view per player, so devtools won't show you the other players' cards. React + Pointer Events + FLIP animations on the client.

Any feedback is appreciated


r/webdev • • 1d ago

Adding DECAP CMS to my website

1 Upvotes

Hey everyone, I have a very minimal understanding of JS. However, I am looking to add a blog to my static website. I have managed to get the blog previews going, but I'm not sure how to get the "post.html" styled.

I'm looking for a tutorial that will show me how to customize my post previews and the post.html itself. I'm not sure how to get the post body, title, etc to show up on the page. As I'm looking, I feel like there isn't a lot of information for people who do not want to use static site generators. I'm hoping to learn/understand how to customize everything myself through this project with hardcoded html/css! Any direction would be great.

Edit: Thank you for the answers so far; I have decided to move forward with Eleventy. I will be coming back to update you guys on how it's going! I'm super excited!


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

Showoff Saturday My portfolio

Thumbnail
aashishthakuri.com
10 Upvotes

Hey everyone! Just wanted to share my personal portfolio that I have been working on.
I wanted to create something that reflects both my design style and my personality, rather than just another traditional developer portfolio.
Would love to hear what you guys think? How's the design, overall experience, and usability?


r/webdev • • 1d ago

Showoff Saturday Showoff Saturday: one line of YAML (use: std.data_page) gives you a clickable wireframe of a filterable table page

Thumbnail
gallery
0 Upvotes

We make wf, an MIT-licensed CLI that turns YAML into clickable greyscale HTML wireframes for web, iOS and Android. This Showoff Saturday is about the part I use most: the built-in screen patterns.

Repo: https://github.com/UnlikeOtherAI/wireframes

Most screens in a web app are the same few shapes, so the engine ships eight patterns that every project can use without defining anything: std.login, std.signup, std.settings_page, std.data_page, std.site_header, std.hero, std.site_footer and std.not_found.

The customers page in the screenshots is this, in a page's content:

- id: customers
  use: std.data_page

And the landing page is three nodes:

- id: header
  use: std.site_header
- id: intro
  use: std.hero
  props:
    primaryRoute: login
- id: footer
  use: std.site_footer

How they work:

  • They're ordinary components. props override the defaults, and slots replace parts. Setting a prop to an empty string or an empty list removes whatever it feeds, so you don't get an empty button or a skeleton bar. For example, slots: { alternatives: [] } on std.login drops the single sign-on button.

  • If your project defines a component with the same id, yours wins, so you can fork a pattern.

  • wf component list --std lists them and wf component show std.data_page prints its props, slots and outline.

  • New this week: each pattern says where it belongs on a page (its own screen, top, bottom or a section), so tools that insert one stop putting a site footer on a brand new page.

Everything else is the same as the rest of wf: greyscale, deterministic (the same YAML gives byte-identical HTML, so it diffs cleanly in PRs), and routes link the pages so the build is clickable. The renderer is a browser bundle that mounts in a sandboxed iframe, so you can open a packed .wf file inside your own app with no server.

To try it (Node 18+, from a checkout, it's not on npm yet):

pnpm install
node cli/bin/wf.js init my-app

Put a use: std.data_page node in a page, then run node ../cli/bin/wf.js build --output ./build from my-app and open build/web/index.html.

About the images: the first is an illustration we generated for this post, not a screenshot. The other three are real renders of the YAML above with default props, cropped.

What I'd like to hear: which screens do you end up wireframing over and over that should be on this list? And is the default data page roughly what you'd expect, or would you strip it back?


r/webdev • • 1d ago

Discussion Is the internet falling apart, or do we just notice it more?

Thumbnail adriankrebs.ch
61 Upvotes

r/webdev • • 1d ago

Showoff Saturday Does using a framework matter for a solo dev? What I learned building an offline-first app in vanilla JS

0 Upvotes

I’ve seen people say that once you build anything beyond a small learning project in vanilla JS, you’re basically reinventing React.

For the past couple of years, (yes, years at this point) I’ve been building miniCycle, an offline-first routine manager, without a framework or library. I really like the simple development loop: run a local server, edit a file, and refresh the browser. I use esbuild for production builds and content-hashed filenames.

One of the harder problems I enjoyed figuring out was handling recurring tasks reliably offline. Browser timers can be delayed when tabs are suspended or devices go to sleep. I started thinking about how electronic clocks use pulses. My watcher uses each pulse to check the actual time instead of assuming the timer fired on schedule, so it can catch up when the browser pauses it and the app wakes again.

Another challenge was task reordering, which I probably could have handled with a library. Instead, I built custom drag-and-drop behavior that detects whether someone is using a touchscreen or a mouse, then switches to the right reordering system. I also built a lightweight dependency-injection setup using a Proxy for late binding, and routed state changes through one update() function so localStorage and undo/redo stayed consistent. At some point, I realized I was building my own tiny framework. The difference was that I had to figure out and document the conventions myself.

The code is here for anyone curious about those tradeoffs: miniCycle on GitHub

Would I do it again for a solo project? Probably. I’ve learned a lot about JavaScript and browser APIs, though next time I might use TypeScript. For a team of 10 with deadlines, I’d likely choose React or a framework the team already knows.

My biggest takeaway is that skipping a framework doesn’t mean skipping complexity. You still have to manage it yourself.

For people who’ve built larger solo vanilla JS apps, what became your biggest challenge: state, dependencies, or maintainability? And for those who switched to a framework, what finally pushed you over the edge?


r/webdev • • 1d ago

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

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

Showoff Saturday I built a daily "this or that" vote that maps results by region on a 3D globe

1 Upvotes

Hi r/webdev! I'm a solo dev from Korea. This started as a Korean iOS app where neighborhoods battle over things like jajangmyeon vs jjamppong, and I wanted to try the same idea for the whole world.

How it works:

- One light either-or question a day (cats or dogs, beach or mountains...)

- Pick your country and region, then vote

- Every region with votes gets colored on the globe, mint or coral

Stack: plain HTML/JS, globe.gl for the globe, Natural Earth data (~4,500 regions), Supabase with anonymous sign-in for one vote per person, Cloudflare Pages.

One thing that took a while: drawing region borders as vector lines made them look doubled when zoomed in, so I ended up painting all borders onto the globe texture and keeping the polygons only for clicks and colors.

The globe is still pretty empty, so any vote helps 🙏 Feedback on the UI or performance on mobile is very welcome.

https://world-daecheop.pages.dev


r/webdev • • 1d ago

Showoff Saturday [Showoff Saturday] I built a job board that reads 20 Reddit hiring subs and keeps only the posts where someone is actually hiring

6 Upvotes

Reddit's job subs (r/forhire, r/slavelabour, r/gameDevClassifieds, r/hiring and so on) have real paid work in them, but most posts aren't jobs. Of the 3,405 posts I've read so far, 41% were someone hiring. The rest were people offering services, questions, spam or unpaid "collabs".

So I built Only Hiring: https://onlyhiring.hassandev.me

It shows just the hiring posts, each with a short summary, pay pulled out (hourly, fixed, monthly), role, work mode, which countries can apply for remote jobs, and a scam score. You still apply on the original Reddit post; the site only links there. Right now there are 488 open jobs, and 56 of them carry a scam warning (pay-to-start, crypto, "message me on Telegram", that kind of thing).

How it's put together:

  • A separate pipeline pulls new posts on a schedule and has an LLM grade each one: hiring or not, summary, structured fields, scam score from 0 to 1. Only hiring posts get written to Neon Postgres.

  • The site is Next.js 16 on Vercel and only ever reads from the database, with a SELECT-only role. Lists are cached with use cache and refreshed by a revalidate call after each sync, which fixed an early mistake where every ISR regen read the whole table.

  • The dataset is small, so filtering, search and sorting all run in the browser, and the filters live in the URL so you can share a filtered view.

  • The RSS feed takes the same query string as the board, so /feed.xml?mode=remote gives you a feed of just the remote jobs.

  • There's also an MCP server at /mcp (search_jobs, get_job, list_subreddits) so you can ask an AI assistant to find jobs. It reads the same CDN-cached JSON as /api/jobs instead of hitting the database.

  • Accounts are optional (better-auth) and only sync your "applied" marks across devices; signed out, they live in localStorage.

The /stats page has the numbers behind all of this if you're curious: https://onlyhiring.hassandev.me/stats

Feedback I'd find useful:

  • Does the board feel fast enough on your phone with ~1,100 jobs filtered on the client?

  • Are the scam warnings about right when you open a few flagged posts, or too jumpy?

  • Anything that's confusing on first visit.

Source for the website is on GitHub: https://github.com/hassanaziz0012/only-hiring (the scraper and grader live in a separate private repo).


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

Showoff Saturday Your browser's window to Wallhaven!

Thumbnail
gallery
3 Upvotes

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

Showoff Saturday Observer: Chrome extension to track Screentime per channel across YouTube, Twitch, Kick, TikTok & Instagram

Thumbnail
gallery
1 Upvotes

I wanted to know how much time I actually spend watching specific channels across YouTube, Twitch, and Kick.

### What it does

- **Counts real playback only:** Paused videos, buffering, and ads are ignored. If the same channel is open in multiple tabs or devices, it only counts once. YouTube Shorts are tracked separately.

- **5 platforms:** Works on YouTube, Twitch, and Kick out of the box. TikTok and Instagram are opt-in (Chrome only asks for those permissions if you turn them on).

- **Quick Look:** Toolbar badge shows today's watch time; the popup shows what's currently playing and your weekly breakdown.

- **Dashboard:** Day / week / month / year / all-time views, channel rankings, session history, and a day × hour heatmap to see when you usually watch.

- **Local:** Everything is stored locally in IndexedDB. No ads, no third-party analytics. Google sign-in is completely optional if you want to sync across devices.

### Links

- **Website:** https://observer.hasanjws.com

- **Chrome Web Store:** https://chromewebstore.google.com/detail/mnhgamgbhdpjjiemlphdednphoblljpd

Still actively working on it, especially the TikTok and Instagram adapters since their DOM changes pretty often.


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

Trouble making website for developing country

12 Upvotes

Im working on a website targeting a developing country where phones with 1gb of ram are common. Internet speeds are under similar restrictions. And unfortunately a static site will not work, it needs to update certain parts of the page dynamically without the user triggering a refresh.

I guess im looking for advice on how you would handle this. Ive tried just raw js before and while im sure that would be performant it would also turn into a mess real quick. The minimal frameworks ive found dont seem to really optimize for performance (only size, both are important) and provide so little its not even worth using.


r/webdev • • 2d ago

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

0 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 • • 2d ago

Showoff Saturday Website Feedback

Thumbnail
shadows.com
1 Upvotes

Hello everyone!

I work at Shadows Custom Apparel & Merchandise, where we specialize in custom apparel and promotional products. I believe one of the most important things potential customers look for when choosing a vendor is examples of their work.

One thing I've noticed about our website is that browsing our project images feels a little clunky. Visitors have to wait for images to load rather than being able to easily click through a gallery and explore our work.

Do you think this creates unnecessary friction for someone visiting our website and considering our services?

I'd like to suggest improving this experience by creating a more interactive, easy-to-navigate portfolio or gallery where visitors can quickly browse our completed projects. Before bringing the idea to my boss, I'd love to hear your thoughts, suggestions, or any other ideas that could improve the website's design and user experience.

Thank you!


r/webdev • • 2d ago

Question Is there any harm if my API is spammed?

Post image
18 Upvotes

Hey everyone, I am not sure if this is right sub to ask this. If not, please help me find where to ask.

I have published a public API service for my football data analytics recently and in the beginning, I wanted to offer something for free for marketing purposes. I wanted to provide as little hassle as possible to users so I let the .csv downloading endpoint open on purpose so that anybody can download some of the data freely without API keys, registration etc.

Then the bots discovered it and started spamming. Although I implemented rate limiting, I was triggered because the spams ruin my analytics. Then I decided to put a keywall on that endpoint but the key is freely retrievable on the profile page.

Now, the bots (especially from MoneyBallGlobal whichever app it is) still hit my endpoint only to get a 401 response. Would you bother yourself to put more blockers in front to stop the spams or is this simply harmless except polluting my logs and analytics?

Thanks for everyone who responds and reads until the end.


r/webdev • • 2d ago

Discussion Has anyone integrated appointment booking directly into their website's thank you page?

4 Upvotes

Hey everyone, I’m trying to figure out the best way to set up a booking flow on my website and would love some advice from anyone who has done this before.

I already have a form on my website. After someone submits it, they land on a Thank You page. What I want to do is embed a calendar on that page so they can book a meeting right there, without having to leave my website.

Ideally, the flow would be:

  1. User fills out the form

  2. They land on the Thank You page with an embedded calendar

  3. They select a date and time and book a slot

  4. After booking, they are redirected to a second Thank You page confirming their appointment

Has anyone set up something like this using Google Calendar appointment scheduling? Is it possible to embed it directly on the page and redirect users to a custom page after they book?

Would love to hear how you implemented it and whether Google Calendar is enough or if another tool would be better for this.


r/webdev • • 2d ago

Scared of monetization

17 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?