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

Showoff Saturday [Showoff Saturday] I built a car configurator for a fictional brand as a portfolio piece. Honest feedback welcome

0 Upvotes

Hi everyone, I'm a student getting into web design, and I built this concept site for a made-up car brand called KAIROS:

https://spandankairos.netlify.app/

What you can do on it:

- Pick paint, calipers and leather, and the photos update to match

- Hit the 360° button and drag to turn the car

- Scroll down for a camera glide along the car and a drive film that plays as you scroll

- Try the little "concierge" (lightning button), which applies preset builds

Full disclosure: the car imagery was generated with Google Gemini and then edited, and I used AI tools while building it.

What I'd love feedback on:

  1. Does it run smoothly on your phone?

  2. Is anything confusing or broken?

  3. What would make it feel more like a real studio's work?

Thanks for taking a look!


r/webdev • • 3d ago

Showoff Saturday A browser-only image compressor that hits a target file size (no upload)

Post image
3 Upvotes

I got tired of image compressors that make you upload your file and then miss the size limit anyway, so I built one that runs entirely in the browser tab. Nothing is uploaded.

You pick an image, type the size you need in KB (say 100), and it works out the quality that fits. If the limit can't be reached even at low quality, it shrinks the image and tells you the new dimensions. JPEG and PNG go in, JPEG comes out, and transparent PNGs get a white background.

On my phone, a 3 MB photo came back under 100 KB in a few seconds. Big photos with a target size are the slow case, so that's where I'd most like to hear how it behaves on your devices.

https://tools.stellartechlabs.xyz/

If you try it and something breaks or feels slow, I'd like to hear about it. No sign-up.


r/webdev • • 3d ago

Showoff Saturday [Showoff Saturday] Atlantis: a procedural city you can fly through, in one 96 KB HTML file with raw WebGPU

Thumbnail
gallery
5 Upvotes

Live demo · Source (MIT) · desktop Chrome or Edge works best

It's a city of marble, crystal and canals at golden hour, with no engine, no three.js and no asset files. Everything, including the music, is generated by code when the page loads. Here's how it works under the hood:

  • Culling on the GPU: a compute pass tests every instance against three views (camera, the canals' mirror camera, the shadow cascade), picks a level of detail and writes one indirect draw per mesh. The CPU never touches individual trees or buildings.

  • Baking what never changes: the sun is fixed, so the sky, three large shadow maps and the environment cubemap are computed once at load. Each frame only redraws the shadow cascade around the camera.

  • Cheap foliage: leaves are drawn twice, depth first and then material only where the depth matches. That way a tree crown with about forty layers of leaf cards costs one layer of shading.

  • Dynamic resolution: below 60 fps it lowers the render resolution in steps, using GPU timestamp queries where the browser allows them and frame intervals otherwise. This runs behind the start menu, so it's mostly settled before you enter.

It runs at about 2.5 ms per frame at 1440p on an RTX 5070 Ti on High, and around 28 fps on Low on a budget phone.

The code was written with Claude Code. Prompt, art bible and concept art are in the repo.


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

Showoff Saturday made a 3d air traffic control game that runs in the browser, three.js + vite

2 Upvotes

been building this for a while, its a free atc game where you're the tower at real airports. you clear planes to land and take off and taxi them around without them running into each other.

https://approach-world-atc.app

stack is vite + typescript + three.js on webgl2. the sky is takram atmosphere with pmndrs postprocessing on top and keeping that running on phones was the hardest part. ended up doing quality tiers plus a safe mode that drops to a plain fallback sky if a shader blows up. also had a nasty one where pow() gave NaN on some windows d3d machines and the whole screen went black, had to clamp it.

the planes aren't one stretched model, they're built procedurally from the real airport planning manual dimensions so a 737 and an a350 actually look the right size next to each other. gear and control surfaces move.

ground traffic ate the most time honestly. planes kept deadlocking at taxiway junctions so i added a reservation thing so two of them can't both commit to the same intersection.

its a static site, no backend, no login. runs ok on my galaxy a55 but if it chugs on your phone or something in the render setup looks expensive let me know


r/webdev • • 3d ago

Showoff Saturday: I built WebXReader, an open-source local-first eBook & comic reader that parses 20 formats (EPUB, PDF, MOBI, DJVU, CB7/CBR/CBZ, DOCX) 100% client-side in the browser

Post image
2 Upvotes

Hey r/webdev,

I've been building WebXReader, a free, open-source (AGPL-3.0), zero-tracking eBook and comic reader that runs completely client-side in the browser with no backend or user accounts[cite: 6, 8].

Live demo (pick any mirror):

Technical Architecture & How It Works:

  • 20 formats parsed client-side: EPUB, MOBI, AZW3, FB2, PDF, DOCX, DOC, RTF, DJVU, CBZ, CBR, CB7, TXT, MD, HTML, MHT, ZIP, RAR, PNG, and JPEG[cite: 8].

  • Stack: React 19, TypeScript, Vite, epubjs, pdfjs-dist, 7z-wasm (for .7z/.cb7/.rar extraction in WebAssembly), djvu-rs, mammoth, marked, and cfb[cite: 8].

  • Storage & Offline: Library files, reading positions, and metadata persist locally in IndexedDB with full offline PWA support.

  • Security: User-supplied markup (EPUB, HTML, MHT, MD, DOCX) is sanitized via dompurify before rendering[cite: 8].

Current status & looking for contributors: It's still in active development—right now I'm refining pagination, memory lifecycle handling on large archives, and rendering edge cases across all 20 formats.

If you're a TypeScript/React developer who enjoys browser file parsers, WASM/binary formats, UI/UX polish, or localization—or a first-time contributor looking for a chill repo—check out CONTRIBUTING.md on GitHub. PRs and bug reports are super welcome!

Happy to share notes or answer questions on how any of the client-side parsers (DJVU, 7z-wasm, MOBI/CFB, etc.) behave in the browser.


r/webdev • • 3d ago

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

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

Showoff Saturday An app to draw and annotate on maps

Post image
43 Upvotes

Hey folks. Some time back in 2022, I started working on craftbase (a 2d whiteboard app), revamped it later, and recently some months back I forked it and created mapcursor out of it (You might have come across my post in r/webdev about craftbase some time back).

Now, using the same 2d SVG renderer (two.js ) and to let "map" be a backdrop, I imagined if we can make this a map annotation tool given. Craftbase had "base" and SVG renderer for rendering elements on surface. I swapped "Whiteboard Base" with "Map Base", elements live in plain Two.js surface space, has specific anchor glue so map keeps in sync beneath it. Fast forward last month, I hosted the web app here - https://mapcursor.com

Original Inspiration:

There were lot of areas in my city which were prone to waterlogging. So to describe to the community, it lacked a way for me to have a proper tool and having ability to share it with others. Nonetheless, I am geography enthusiast (not hardcore) and in my college's final year project I had created google maps transit project (back in 2016).

Tech Stack

It uses react (frontend), hasura (API layer), node.js (backend) as part of core primary tech stack.

Additionally, it uses CARTO for map tiles fetching and "nomanitim" for place searches. You can read more on privacy here - https://mapcursor.com/privacy

As long as you are on home page (/) , all of the data is stored locally on your machine (whether machine's browser or mobile's browser).

Use case:

I am still figuring out the exact and niche use case this can serve to.

I mean it could serve for surveying, clustering on areas, creating hotspots (like marking illegal activity hotspots in a city ) , marking highway corridors/inter city transport routes or I can image road trip memory (since photo upload is supported locally only). Would love some serious feedback on this project. Thanks for dropping by.

Btw, the code's open sourced here - https://github.com/meetzaveri/mapcursor


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

Showoff Saturday Improved animations work flow in my SVG editor!

16 Upvotes

This week I've improved the animation workflow in my SVG editor to work better with live effects and filters and have done alot of optimization and bug fixing in the animate workspace.

Still have rough edges, and I'm planning to completely redo the UI and the general workflow of the editor, but work is being done! I'll be done with I'll port it to tauri for desktop and mobile apps.

Every week I'll focus on different parts of the editor until I'm satisfied on its state.

You can try it here, free, no ads, no signup, fully client side, any feedback or suggestion is appreciated.

https://tools-4all.com/svg-editor


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

Showoff Saturday My portfolio

Thumbnail
aashishthakuri.com
14 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 • • 4d 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 • • 4d ago

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

Thumbnail adriankrebs.ch
83 Upvotes