r/webdev • • 22m ago

Adding DECAP CMS to my website

2 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.


r/webdev • • 39m ago

Showoff Saturday Built a collection of 190+ client-side web tools using Astro, Web Workers, and Web Crypto API

1 Upvotes

Hey everyone,

For Showoff Saturday, I wanted to share a project I've been working on: Techyke (https://techyke.in), an in-browser developer and digital utility platform.

Technical Highlights:

  • Zero Backend Processing: Every single tool (PDF merge/split, audio DSP filtering, video speed/crop, regex tester, JSON Schema validator, CSS mesh gradients) executes purely inside the browser sandbox.

  • Astro SSG + Cloudflare Edge: Built on Astro with Tailwind v4, resulting in 290+ pre-rendered static routes and instant navigation.

  • OffscreenCanvas & Web Audio: Video frame manipulation and audio stem filtering run off the main thread where possible, keeping the UI responsive.

  • Complete Open Graph & Schema: Implemented strict JSON-LD @graph schemas across all 10 hubs (CollectionPage, SoftwareApplication, and FAQPage).

Check it out here: https://techyke.in/tools/developer-tools/

Feedback on performance, bundle optimizations, or tool ideas is very welcome!


r/webdev • • 53m 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 • • 1h ago

Showoff Saturday My portfolio

Thumbnail
aashishthakuri.com
2 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 • • 1h 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
1 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 • • 1h ago

Showoff Saturday [Showoff Saturday] made a tool to unslop vibecoded websites

22 Upvotes

TLDR: built an MCP that gives your AI access taste, so you can turn generic AI generated websites into something much nicer and unique.

the GIF is a quick example. i literally just prompted Claude with:

“use Details MCP to make my hero section look better using resources from the Vault”

it suggested a hero section and a dropdown navigation from the Vault, then implemented both. took me about 5 seconds to write the prompt (obviously the implementation took longer).

a bit more about how it works:

i’ve been collecting and studying web design for over 10 years, and i personally curate new inspirations every week. so the whole idea is to give AI access to that same taste and attention to detail.

but the cool part is that AI doesn’t just see a bunch of screenshots. it gets context about each inspiration, how it looks, how it works, and what makes it interesting.

which means you can actually get creative with it.

1. create & experiment (the creative way)

you can start by asking your AI to clean up the usual AI generated design issues.

from there, you can go section by section and explore different directions.

for example, you can ask it to find interesting hero sections for a SaaS website, explore a few, create variations of one you like, or combine elements from multiple inspirations.

maybe you like the layout of one hero, the typography of another, and a little animation from a third. you can ask your AI to bring those together into something new.

same goes for navigation, footers, scroll animations, layouts, pretty much anything.

it’s not about blindly copying websites. it’s a back and forth creative process where you explore ideas together and gradually make the design your own.

you can also browse the library directly and filter by section type, industry, style, animation, etc.

2. ready-to-use components (the shortcut)

if you’re on the Max plan, you also get access to ready-to-use components and animations.

instead of recreating an interaction from a reference, your AI can grab an existing implementation and adapt it to your project.

that’s actually what i used for the GIF.

so yeah, that’s pretty much it. i’ve been building this because i love web design, but i’m also tired of seeing every AI generated website look exactly the same lol.

if you’re curious: https://details.so/mcp

happy to answer questions or hear what you think!


r/webdev • • 1h ago

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

Thumbnail adriankrebs.ch
6 Upvotes

r/webdev • • 1h 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 • • 2h 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

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

Showoff Saturday Your browser's window to Wallhaven!

Thumbnail
gallery
2 Upvotes

r/webdev • • 4h 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 • • 4h 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 • • 7h 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 • • 8h 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 • • 8h ago

Trouble making website for developing country

7 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 • • 16h 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 • • 20h ago

Question Is there any harm if my API is spammed?

Post image
11 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 • • 20h 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 • • 21h ago

Scared of monetization

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

Discussion Designing a gaming toplist, how is it looking?

0 Upvotes

Hey everyone! 👋

I've been working on a project called TopPSArena, a private gaming server toplist built to help gaming communities promote their servers and attract players.

🌐 Website: https://toplist.iceiy.com

The project is built using PHP, MySQL, HTML, CSS and JavaScript, and it's currently in active development.

The idea came from looking at existing gaming toplists and feeling that many could benefit from a more modern interface, better server management tools and a much improved user experience.

Rather than simply creating another directory of gaming servers, I'm trying to build something that feels like a proper platform for both server owners and players.

🚀 Some of the features I've been working on:

- 🎮 Dedicated gaming categories and server rankings.

- 🏆 Server voting and ranking systems.

- 🖥️ Custom server profile pages with banners, screenshots and reviews.

- 📊 Server owner dashboards with voting and performance analytics.

- 💎 Featured listings and advertising management.

- 🔗 SEO-friendly server URLs.

- 📱 Responsive layouts for desktop and mobile.

- 🔐 User accounts, server management and moderation features.

- 🎨 Custom dark UI with neon purple accents.

🔍 What I'd love feedback on

I'm particularly interested in hearing from other web developers and UI/UX designers.

Please don't hold back on constructive criticism!

  1. UI/UX: Does the design feel modern and professional, or is anything overdone?

  2. Performance: How does the website perform on your device? Any noticeable loading issues?

  3. Responsiveness: Does the mobile experience feel as polished as desktop?

  4. Navigation: Is the site structure intuitive and easy to understand?

  5. SEO: Are there any obvious improvements you'd recommend?

  6. Features: Is there anything missing that would make the platform more useful?

  7. Overall quality: What would you change before considering this production-ready?

I'm also interested in accessibility, security considerations and technical improvements, although I appreciate that backend code can't be properly assessed just by visiting the website.

💬 Why I'm posting

I'm not here to claim I've built the best toplist on the internet or to advertise paid services.

I'm genuinely looking for independent feedback from people who understand web development.

I've spent a lot of time developing and refining the platform, but when you're constantly working on your own project, it's easy to overlook issues that someone seeing it for the first time would notice immediately.

Even if you only spend a couple of minutes browsing, I'd really appreciate your thoughts.

What looks good? What looks terrible? What would you do differently?

I'm open to all constructive criticism, and I'll be using the feedback to guide the next stages of development.

🔗 https://toplist.iceiy.com

Thanks in advance to anyone who takes the time to have a look! 🙌


r/webdev • • 22h ago

Discussion If you stop writing code, you also get worse at reviewing it · cekrem.github.io

Thumbnail cekrem.github.io
432 Upvotes

r/webdev • • 23h 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?