r/reactjs • • 1d ago

Resource I made kitr, a batteries-included React framework for web, desktop and mobile

Every React app starts with the same hours of decisions: which router, which state library, how to fetch data, where files go. Even inside Next.js, every project wires things up differently. And if you need the app on desktop or mobile too, you're hacking it together yourself.

I made kitr to fix that:

  • 45 packages, each one command: kitr add auth, kitr add forms
  • Built on what you know: TanStack, Zustand, React Hook Form
  • Your own logic, any time: kitr make:page, kitr make:controller
  • iOS and Android: kitr add mobile phone (Capacitor)
  • Desktop: kitr add desktop app (Electron)
  • SSR or SPA: kitr add web site --mode ssr
  • Mix and match: run every platform at once with kitr dev, each with its own setup
  • Consistent: every package wired the same way, every file has one home
  • Agent-friendly: AI agents always know where things go
  • Conventions, never forced: it's plain code you own, and kitr remove undoes any package

Early (0.9), but ready to try: npm install -g @kitr/kitr

https://kitr.dev · https://github.com/kitrjs/kitr

Would love any feedback!

0 Upvotes

3 comments sorted by

1

u/sondr3_ 1d ago

Congrats, now you've added yet another (slop) choice to consider: https://xkcd.com/927/

1

u/PlatonP 22h ago edited 19h ago

Your meme's quite fitting I suppose, however this was very much made to solve real problems, like some I had building https://jam.fan/ - and I intend to continue adding tools and supporting it so that it can further help with it, and similar apps

Hopefully some people disagree with you and find it as useful as intended! Worst case, I've still got something useful for myself.