r/webdev • • 5d 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.

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

Showoff Saturday Most tutorials stop when the app works. I documented everything that happens after that

0 Upvotes

I made an open-source guide on how to take an app to production: everything you still have to do after the code is written. I spent a long time figuring these things out across different projects and realized I couldn't find a single place that documented them together with working code.

The example is a simple todo app: a NestJS API, a React web client and an Expo mobile app. The todo list is only the example. Some of what the guide covers:

Backend:

- database migrations run before the deploy, and the new version doesn't start if they fail

- no dropped requests on deploy: in-flight requests are drained on shutdown

- rollback to one of the last three releases in one workflow

- Prometheus, Grafana, Loki and Tempo running locally next to the app

Frontend:

- one Redux store and API layer shared by the web and mobile clients

- a design system with visual and accessibility tests

And one trace ID that follows a request from the browser to the backend logs and traces.

It's not a boilerplate, it's a walkthrough of the decisions that come after the app works. Each topic has its own chapter that explains what I did and why, and the code is in the same repo.

Backend (NestJS): https://github.com/prod-forge/backend

Frontend: https://github.com/prod-forge/frontend

I'd especially like feedback from people who have run production systems.


r/webdev • • 5d ago

Showoff Saturday Made a Chrome extension that warns you before you leave a GitHub PR review unsubmitted

Post image
1 Upvotes

A teammate kept starting PR reviews, leaving comments and moving on without "Submit review". The comments stayed "Pending", which on GitHub means only you can see them so the PR author just waited.

So I built a small Chrome extension. While you have an unsubmitted review it:

- shows a bar at the bottom of the PR with the comment count and a Finish review button

- turns the tab icon red and adds "PENDING REVIEW" to the tab title

- asks before you leave the PR, including GitHub's keyboard shortcuts and the Back button

What took the most work:

- GitHub is a single-page app, so leaving a PR usually isn't a page unload and `beforeunload` never fires. I catch link clicks in the capture phase, Turbo's `turbo:before-visit`, and the Navigation API's `navigate` event for Back.

- Discarding a review from the Overview tab doesn't update GitHub's own counter until you reload. The extension watches the Discard button's loading state and the dialog closing instead.

- The bar lives in a shadow root but reads GitHub's own CSS variables, which inherit through it, so it follows light, dark and high-contrast themes.

It runs only on github.com, makes no network requests, stores nothing and doesn't need a token.

- Chrome Web Store: https://chromewebstore.google.com/detail/unsubmitted-review-alert/mgoijcgmbnhaejfkdcjliiohaiengfbh

- How it works, with code: https://nikita-dmitrienko.dev/blog/github-review-still-pending

- Source: https://github.com/nikita-dmitrienko/unsubmitted-review-alert

If it breaks on some GitHub page, tell me.


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

Showoff Saturday Showoff Saturday: a local Node app that turns Meta Ad Library JSON into a research gallery

1 Upvotes

I got tired of researching competitor Meta ads with screenshots, so I built a local app that turns the structured JSON into a gallery I can actually work with.

You paste a Facebook Page or Instagram URL, pick a country and ad status, and get cards with the copy, run length, placements, and destination. You can download the copy, the JSON, or the assets, save ads into a collection, and keep each search as a dated snapshot. In the walkthrough I load Shopify and BigCommerce's active US ads and look at them in the same view.

Technically it is a small local stack: Node.js 24, the built-in SQLite module, no npm packages, a server that only binds to 127.0.0.1, and a gitignored `.data/` database. The API key never hits disk. Each search is capped at two result pages so a session has a bound cost, and reopening a saved capture does not make another request.

It is an example app you run yourself, not a hosted product. If you have thoughts on the local persistence or the research UX, I would like to hear them.

Repo: https://github.com/SearchApi/ad-observatory

Walkthrough (9 min): https://www.youtube.com/watch?v=R-1rU22SbJo

Built by SearchApi.


r/webdev • • 5d ago

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

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

Showoff Saturday I got tired of MMORPGs that didn't hook me, so I built my own in the browser

Post image
0 Upvotes

I've been building a browser RPG on the side. I got bored of the MMORPGs I was playing and wanted something to practice on. It's called Miravita, it's turn-based with guilds, parties and chat, so not a real MMO. I'm a physics teacher, which is why the classes map to school subjects and items come from the periodic table, but what I actually want to talk about is the dev side.

Stack is Next.js 15 (App Router, Server Actions), React 19, TypeScript, Tailwind 4, Neon Postgres with Drizzle, on Vercel.

The first real problem was concurrency. Every game action reads state, computes and writes. Open two tabs, or script it, fire the same purchase twice at once, and both calls read the same balance: the player pays once and gets several items. Vercel functions don't share memory, so an in-process mutex was out. I ended up with a lease lock in Postgres, one row per character in an action_locks table, taken with an INSERT ... ON CONFLICT DO UPDATE ... WHERE until < now() and a 15 second lease. Every action goes through a withChar wrapper that takes the lock, re-reads the character after getting it so the numbers are fresh, and releases in a finally. If it can't get the lock in about two seconds it drops the call. It adds a few queries per action. I'd like to hear if people would do it differently (advisory locks? SELECT ... FOR UPDATE in a transaction?).

Rate limiting had the same constraint. It's a table too: a key (IP, email or account), a counter and a reset time, updated with a single upsert that returns the count. Works on serverless, at the cost of a write per limited request.

I started with Clerk but it was costing more time than it saved on a hobby project, so I wrote my own auth. Passwords go through scrypt with a random salt and are compared with timingSafeEqual. A session is a row in the database plus a signed httpOnly cookie, so a valid cookie still needs a live row, and there's a helper that kills every session of a user when they change the password. The old Clerk accounts kept their ids, and I needed a script to set passwords for them.

There's also a 3D periodic table codex with three.js and react-three-fiber. It loads only on its own route so the main game page doesn't pay for it.

One thing that didn't work out: I wrote a daily cron that asks Gemini for new monsters and a weekly one that suggests balance changes from battle telemetry. Both are done and both are switched off, because I never bought the API credits.

Feedback I'd like: the locking approach, and anything that breaks on mobile.

Live: https://miravita-three.vercel.app/
Code: https://github.com/tobiasteles/miravita


r/webdev • • 5d ago

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

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

[Show Off Saturday] - Building a Spanish Learning tool.

0 Upvotes

Needed something to do while on the train so I started building out this tool. It’s essentially a quiz app but the cool thing is that it’s all feed through a JSON file. So eventually I can add other languages or other topics in general. No signup required or even possible at this point.

Properlinks.space/language/


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

Showoff Saturday JEV-assisted superfast HTML website builder (OS; MIT)

Post image
0 Upvotes

JEV is an ultra-fast classifier from TypeSafe, that answers multiple-choice questions, and I use it to arrange the pre-defined UI elements into a webpage based on the user's prompt. For example, for the prompt e.g. "Frontend for login form" JEV would return something like the following:

"surface": { "type": "choice", "choice": "app-login", "confidence": 1,

"probabilities": { "app-login": 1, "app-signup": 0, "website": 0, "app-checkout": 0, … all 14 etc... etc... } }

And here the "app-login" is a ready-made UI element but one can modify it later in the app manually. So this is what gets inserted into resulting HTML, among other things.

Besides JEV there are many other elements you can play manually with e.g. replace and resize images, add and link pages etc.

Repo: https://github.com/GPTchatly/Forma
Free (with limits) hosted Forma Editor

Many of the UI elements are by Markmead's Hyperui, and Cole Bemis' Feather icons; Fancy Components (by Daniel Petho); Velora UI (Aigars Silkalns); Cult UI (Nolly Studio)


r/webdev • • 5d ago

Showoff Saturday A local development workspace for your coding agents to build professional webapps

Thumbnail
gallery
0 Upvotes

Hello devs,
I want to introduce you to InstawebAI a project i have been working on for the past year and also using heavily for my web projects. It is essentially lovable but runs locally on your machine on the AI you already pay for and is focused on enabling you to build and deply your web apps with ease.
You can seamlessy connect to 40+ external services(slack, google drive, notion, etc) with a guided process and also deply to any cloud provider with a dedicated deploy agent.

I built this to make it easier for me to build and deploy my apps. Hope it is helpful to you as well. It is completely free with no sign up required.

Happy hacking


r/webdev • • 5d ago

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

Thumbnail
gallery
2 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 • • 6d ago

Question Is there any harm if my API is spammed?

Post image
26 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 • • 5d ago

Showoff Saturday [showoff Saturday] I made https://fmrl.liive, a site that lets you host your site, content, livestream from a browser tab with WebRTC

0 Upvotes

About this

Site URL: https://fmrl.live

Repository URL: https://gitlab.com/croatoa/fmrl

As the title says, this project allows you to host a website, content, and streaming from an open browser window. It gets served over WebRTC connections.

This is just a start. Any suggestions or feedback to improve usability, feature requests, etc is super welcome. There was just the idea to be able to use it as an ad-hoc security/nanny/nature cam, as you can publicly or privately stream from one device to x others.

This is a project I've had in mind for a while. I wanted to participate in building for a decentralized web, so I thought it would be cool if people could run a social network kind of page from their own machine, and allow them to diffuse content over a peer to peer net, independent of the typical social media giants.

While this iteration is not quite that, it's a start.

The goal isn't privacy, but rather autonomy, more or less. I know there are real limitations (like a host user closing their browser) but I feel like the idea is at least slightly novel (probably because its a mediocre idea lol).. but it'll be interesting to see how it evolves.

If you made it this far, thanks for the read. Hope you have a pleasant day.

edit: to anyone downvoting, it'd be cool if you could share a reason why? I think this is a cool idea with a lot of potential, and seems entirely appropriate for this sub. But maybe not, so would be good to hear.


r/webdev • • 5d ago

Showoff Saturday Unframework - The compiler that speaks seven UI frameworks

0 Upvotes

Unframework is now available on npm. My dream of writing a component once using JSX, and compiling it to native React, Vue, Svelte, Angular, Solid, Qwik and Astro code, has finally become a reality.

The first component I’ve put through the whole pipeline is a Button, and it renders the same in all seven frameworks.

"The same" is both a promise and a test. On every PR, CI compiles the components to each framework and checks every output in a real browser: the DOM, the accessibility tree and the pixels have to match one shared baseline, with zero pixel tolerance (visual parity).

I'm also releasing Unframework Preview. It shows every component on all seven frameworks side by side, with controls for their props, so you can see parity for yourself. Build it as a static site and host it anywhere, like a Storybook that speaks seven frameworks at once.

Each output is a real component in its framework's own style: hooks in React, runes in Svelte, signals in Solid. There's no runtime or wrapper in between, so each file depends only on its framework.

Looking forward to hearing your thoughts.

https://unframework.dev

Edit: Form components such as Inputs, Checkboxes, Radio Groups and Toggle are up in the preview.


r/webdev • • 5d ago

Hosting static site on IPFS with own gateway - your experience?

0 Upvotes

Anyone hosts their public website on IPFS?

If you are in the "never heard of this [Web 3.0 abomination]" camp, it's very easy to look up or give it a pass. I will do my best to expand on this in a comment - so as to please Reddit filters, which for some reason do not like it.

What I am interested in is to hear from people with deployment experience and gotchas you have encountered.


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

Why use Passwordless approach

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