HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
kennyfrc
cami.js
TypeScript2023–2023
kennyfrc / cami.js

cami.js

Cami.js is a simple yet powerful toolkit for interactive islands in web applications. No build step required.

3Distinct people
5Mentions
0Explicit recommenders
397GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Cami.js is a simple yet powerful toolkit for interactive islands in web applications. No build step required.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day5 dated mentions

Observed mentions: 2023-11-04 18:33:36 UTC to 2023-11-13 17:41:04 UTC.

0122023-11-04 00:00:00 UTC to 2023-11-05 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 42023-11-05 00:00:00 UTC to 2023-11-06 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-11-06 00:00:00 UTC to 2023-11-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-07 00:00:00 UTC to 2023-11-08 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-11-08 00:00:00 UTC to 2023-11-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 82023-11-09 00:00:00 UTC to 2023-11-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-10 00:00:00 UTC to 2023-11-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-11 00:00:00 UTC to 2023-11-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-12 00:00:00 UTC to 2023-11-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-13 00:00:00 UTC to 2023-11-14 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsNov 13

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 42023-11-04 00:00:00 UTC2023-11-05 00:00:00 UTC110
Nov 52023-11-05 00:00:00 UTC2023-11-06 00:00:00 UTC101
Nov 62023-11-06 00:00:00 UTC2023-11-07 00:00:00 UTC000
Nov 72023-11-07 00:00:00 UTC2023-11-08 00:00:00 UTC101
Nov 82023-11-08 00:00:00 UTC2023-11-09 00:00:00 UTC000
Nov 92023-11-09 00:00:00 UTC2023-11-10 00:00:00 UTC000
Nov 102023-11-10 00:00:00 UTC2023-11-11 00:00:00 UTC000
Nov 112023-11-11 00:00:00 UTC2023-11-12 00:00:00 UTC000
Nov 122023-11-12 00:00:00 UTC2023-11-13 00:00:00 UTC000
Nov 132023-11-13 00:00:00 UTC2023-11-14 00:00:00 UTC202

What Hacker News says

5 sources
I think I've finally seen the light when it comes to Web Components: https://github.com/kennyfrc/cami.js > No Build Steps, No Client-Side Router, No JSX, No Shadow DOM. We want you to build an MPA, with mainly HTML/CSS, and return HTML responses instead of JSON. Then add interactivity as needed. > Declarative templates with lit-html. Supports event handling, attribute binding, composability, caching, and expressions.
In HTML Web Components
Yes, the lib's great! Unfortunately I haven't thought much yet about interoperability with other web components libraries like lit. I imagined folks would choose just one web component library over the other. That said, you can initialize reactive properties(1), but property bindings won't work if there's a parent LitElement (as my reactive properties need to be called with either a .value method or an .update method for getting and setting respectively). As of the moment, what's possible is interop with other cami elements using a store, and in a future version, i'm considering a richer event system for external javascript code to listen to. --- (1) Initializing is possible with observerableAttr: https://github.com/kennyfrc/cami.js/blob/master/examples/008...
In Show HN: Cami.js – A no build, web component based reactive framework
The author is getting a bit of heat, and I think rightfully so. Here is the "tool" he's all bragging about: https://github.com/kennyfrc/cami.js/blob/master/src/cami.js The whole thing is 250 Loc half of which is comments. And not to discount on that (Redux itself is not that big, though the ecosystem is). But this tool/project could be just a few blog posts where the author explains the patterns/libraries he is using. It also doesn't help that his blog post/tool has the highest concentration of buzzword language you can expect. Please don't do that.
In Leaders Are Tool Builders: Why I Wrote My Own JavaScript UI Framework
kennyfrc·Nov 4, 2023Submission

Show HN: Cami.js – A no build, web component based reactive framework

Hi Everyone! My main motivation for making this was that I wanted something as powerful as Svelte or React but I wanted no build steps, no JSON API, and I wanted something as close to vanilla js as much as possible. I'm mainly a backend developer, and I wanted to simply return html with some interactive islands when I need to (whose components get 'hydrated' with by backend language's templates). Some key ideas: • It's centered around light dom web components • Uses a "reactive element", which uses observables for fine-grained reactivity • Rendering is done through lit-html's tagged templates • A pub/sub store • Easy immutability using immer (it powers the observable updates & also the reducers) It's my first 'serious' library that I'm using in some work prototypes, and it's also my first 'real' open source project, so comments & fee
Read the rest
dback would be great!
113 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.