frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Basecoat – All of the shadcn/ui magic, none of the React

https://basecoatui.com
11•hunvreus•1y ago
In a nutshell: Basecoat is a port of shadcn/ui to HTML and Tailwind CSS. It's a modern, themeable component library; everything from buttons to comboboxes and dialogs.

Why? Well, I got sick of React and moved over to a more "old school" stack (Python, HTMX, Alpine.js and Tailwind).

The one thing I missed was shadcn/ui [1]. Nice defaults, well thought out design system, easy to theme and great to build your own component library with.

I didn't find the alternatives compelling: Flowbite, Preline and the likes encourage you to copy/paste dozens of classes for each element.

That's not how I use Tailwind. I love the utility-first approach, but I don't want walls of classes for each button, form element or tooltip I have in my app.

I had been building my own component library for a project I’m working on (a Vercel for Python apps) and realized it may be worth my time to firm things up.

Why I think it's cool? Well:

- No React. Just Tailwind CSS (with a tiny bit of Alpine.js if you choose to). You can use that with whatever stack you want.

- Jinja and Nunjucks macros. I hope to support more template engines.

- 100% compatible with shadcn/ui themes (you can play with the theme select box on the site).

- Super easy to install and use (there's even a CLI).

- Accessible, with ARIA support.

- Did I mention no React?

Hope some of you find it useful.

[1]: https://ui.shadcn.com/

[2]: https://v4.shadcn.com/ (this is actually the new/upcoming version of shadcn/ui).

Comments

drivingmenuts•1y ago
Not working in Safari. Did you, perchance, test this only in Chrome?

A sampling of error messages:

- Failed to load resource: Load cannot follow more than 20 redirections

- Cross-origin script load denied by Cross-Origin Resource Sharing policy.

- TypeError: window.basecoat.registerDialog is not a function. (In 'window.basecoat.registerDialog(Alpine)', 'window.basecoat.registerDialog' is undefined)

- Alpine Expression Error: Can't find variable: sidebar

and so on and so forth. It just goes downhill from there.

hunvreus•1y ago
I tested it in Safari, and just checked: I don't get any of these errors.

Which page did you get that on? The front page?

drivingmenuts•1y ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•1y ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•1y ago
Well done, this looks like a great beginning! I'll be giving this a test on my next project.

Hoping you add more of shadcn/ui, I'm partial to the sheet.

What is your seafood eating? Investigation traces problems in global feed supply

https://www.cbc.ca/news/world/outlaw-ocean-fishmeal-9.7312543
1•rdmuser•4m ago•0 comments

A loophole in Canada's species-at-risk law can leave wildlife in limbo

https://www.cbc.ca/news/canada/legal-loophole-undermining-species-at-risk-act-9.7368066
1•rdmuser•5m ago•0 comments

Girl bedrooms in the era of surveillance culture

https://sitarasgarden.substack.com/p/girl-bedrooms-in-the-era-of-surveillance
1•rdmuser•7m ago•0 comments

Valar Atomics sues early backer Day One Ventures over Series B pro-rata rights

https://app.dealroom.co/news/note/valar-atomics-sues-early-backer-day-one-ventures-over-series-b-...
1•jackgavigan•8m ago•0 comments

A Memory of Pangea – Running a public-interest BBS in 1996

https://github.com/l3nz/pangea-2023/blob/main/Storia_en.md
1•kimi•8m ago•0 comments

Dgxtop v2: A Terminal Monitor for Nvidia GPUs on Linux and DGX Spark

https://dennysora.me/en/projects/tools/dgxtop/
1•dennysora-main•14m ago•1 comments

Show HN: I asked Opus 5.5 to make a novel portal for NFT's that are not dead yet

https://www.jpeg.deals
2•junkDrawer_ai•19m ago•0 comments

A failed initial public offering from Nvidia-backed Firmus

https://www.thebignewsletter.com/p/monopoly-round-up-the-cockroaches
2•chmaynard•22m ago•0 comments

New certificate lifetime (letsencrypt) is 64 days. Or less

https://letsencrypt.org/2026/10/07/64-day-certs
2•gvieri•22m ago•0 comments

Mistral releases open-weight Arabic realtime STT and dialect classifier

https://huggingface.co/collections/mistralai/mistral-mtnra
1•ottomengis•23m ago•0 comments

SQL injection through PDF metadata (and the incremental-update pitfall)

https://github.com/IzzyMaroder/pdf-metadata-sqli-lab
1•izzymaroder•26m ago•0 comments

Show HN: Killer Clues Cryptic Game

https://blamenick.com/killer-clues/
1•nicknnamsa•32m ago•0 comments

Interactive Coding Worlds with Real-Time Streaming Diffusion Render

https://nvlabs.github.io/Sana/Sol-Engine/StreamRender-H3/
2•epaga•32m ago•0 comments

Show HN: Key/Value Memory Cache

https://github.com/imchuncai/umem-cache
2•imchuncai•33m ago•0 comments

Sharp or Larp

https://sharporlarp.com/
1•h1x•33m ago•0 comments

New Record

https://github.com/wbeni95/mertens-function-bounds
1•benjaminweisz•39m ago•1 comments

Do not install Zod 4.6.6 – might be infected

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
24•luggage_bazooka•40m ago•3 comments

Show HN: An OpenAI-compatible API that coding agents sign up for themselves

https://scaledthought.com/go/org-hn
2•alexeyindeev•42m ago•2 comments

Self-hosting an AI agent environment with OpenCode and shared memory

https://smalldata.tech/blog/2026/10/11/self-hosting-an-ai-agent-environment-with-opencode-and-sha...
2•wheresvic1•43m ago•0 comments

The Demo Is Not the Product

https://www.theadamthomas.com/the-demo-is-not-the-product/
1•adrianhoward•44m ago•0 comments

Will your furniture fit / moving day

https://movinghouse.app/tools/moving-day
1•cliftonc•46m ago•1 comments

I Made Terrible Games with Google's AI Playground

https://www.wired.com/story/i-made-terrible-games-with-googles-ai-playground/
1•joozio•48m ago•0 comments

Semantics for programming languages with Coq encodings (2015)

https://inria.hal.science/cel-01130272/document
1•Thom2503•50m ago•0 comments

Use HTTPS for local development (2021)

https://web.dev/articles/how-to-use-local-https
1•aragonite•51m ago•0 comments

Model Collapse Isn't New, nor Is It Specific to AI

https://rulr.dev/blog/model-collapse-isnt-new/
2•theanonymousone•51m ago•0 comments

Ask HN: How do you build a reputation without social media?

1•unbeholden•53m ago•2 comments

Show HN: Shotie – App Store screenshots generated from your code

https://shotie.app
2•abolfazlarab•53m ago•0 comments

Design mistakes I made in my open-source project Git-SIM in 2022

https://initialcommit.com/blog/git-sim-mistakes-and-fixes
1•theanonymousone•58m ago•0 comments

I Found a $90k Remote Code Execution Vulnerability in Google

https://simonkoeck.com/writeups/google-devsite-flask-session-pickle-rce
2•soeckly•59m ago•0 comments

Try on clothes、hairstyles with AI: turn one photo into a styling video

https://www.vfitly.com
1•kevinnzheng•1h ago•0 comments