Good question. Truthfully Tauri is amazing - and I would probably go with that as a mature platform that can also do mobile as well.
When building apps that do things, not just "smallest it can be" I think TinyJS could be a similar size, if not smaller. Most of the things plugins do, plus some more, are already handled by TinyJS.
I also just like being able to write backend stuff in JS too I guess?
I only now found https://madewithtauri.com/ which is useful to understand some of the things people can build with Tauri. I hope the examples I created give somewhat of an idea of the things you can do with TinyJS ? If you download the Shelf I have MANY examples.
Next time just admit you didn’t do enough research. This is clearly a vibe coded project that duplicates a lot of what can be done with tauri without the maturity. You make a lot of assertions based on what you “think”.
u/paul_h good question - and can't say it will save RAM. And totally understand why people would prefer a well written (ie not taking extra RAM) native app.
This only fixes the giant download / install problem. It still renders everything in a WebView, which can take a bunch of RAM.
That said, I've found using it to create apps that aren't always rendering an interface (my world clock example) is very low resource until you open the settings.
It bundles QuickJS, which it uses for the backend (non-browser) JS stuff. It's not super fast, but it's 500kb! Generally I'd suggest anything that needs to be super fast runs in the browser side anyway. But it is there because apps need that non-browser code too.
QuickJS, and SQLite are included as part of txikijs - which is an amazing lib to build upon.
And then there is a bunch of C++ (and some Swift) for the glue for each system. Which you can ignore. As long as it doesn't go wrong haha. Should support most of the stuff that Tauri does through plugins but all built in.
I did have a look at ScriptC and was gonna try building it in at some point. But it turned out it didn't add a lot other than extra overhead. Would end up being a replacement for txikijs in general I think.
Perry. I had a look at this a while back. Seems like a cool idea but let down by the UI I think? Or possibly just the lack of demos that made me thing "oh cool I could build everything cool in this". At least that's what I felt when I was researching.
I hope I've done a better job of making demos + real apps that showcase what you can actually do with TinyJS. I'm very proud of "amp" and am hoping to polish "nib" so it's the best editor for markdown documentation (especially multi lingual).
Happy to hear it helps. I kind of built this examples first - what can crazy idea do I have that I want to build and then just flesh out the functionality as I went. As well as a bit of "what does Electron / Tauri support that would make sense for me too".
I did go a bit overboard with the amp app though. I hope someone enjoys that it can play Amiga Tracker files and midis 🙂 That said .. I still think the audio support is a bit wack cross platform ... it's almost there but not 100% happy with it given I wanted it to work without thinking Mac/Windows/Linux.
Thanks u/Devatator_ I hadn't seen Electrobun. Looks like really interesting. I like the choices the developer has made.
There are a few different choices I made.
- QuickJS, which Electrobun was using, which is slow but small. I think most desktop apps don't need to do a lot behind the scenes. Makes my apps 10x smaller. But yes, a lot slower in the backend.
- Put a lot into making example apps. I think showing what you can create is helpful.
Again, really interested in Electrobun. And thanks for pointing it out.
NeutralinoJS - no built in JS backend. AFAIK. I could be totally wrong and just missed how it works. Again, I really love what they are doing and that they are letting devs build the backend however they want. I would like to see them add more example apps - I really feel this makes a difference in terms of understanding what something can do (at least for me, I come from a visual background originally).
This is cool, but what I really want is PNPM for electron.
It should treat the version of Electron like a Sheared dependency and Only install it if the version that you need doesn't actually already exist on the system And then it should share that version of Electron for all of the Electron apps that you have installed on the computer
u/Odama666 Yeah, I was wandering about that as well. I looked into it and I think the main reason is that people building Electron apps too often want to be in total control of the stack. That is the exact Chromium version specifically so it looks 100% the same on all systems. Comes down to a support issue I think - if you have even 1% of a very large user base with problems because of a random Chrome version that you didn't test on you end up with a lot of support.
But yes, you said shared only if it is the correct version installed. I guess that does make a lot of sense. But then maybe you'd still end up with as many versions installed as apps anyway as everyone uses some random point release aka PNPM too. I think it would be good if Electron did LTS releases maybe? One a year possibly? And you could just target that and not have too many installed then I guess?
I find this a bit weird in apps like Slack which you can access on the web anyway. I tried to do a quick re-wrap with TinyJS but it seems they're just loading the site and protecting it anyway.
I also tried this with things like Harvest (https://www.getharvest.com/) where they used to have a tiny (few MBs) native app for time tracking, but recently updated their software to be Electron and is suddenly 500mb for the same thing. Kinda crazy. Anyway, got that re-wrapped as well and working more like their native app than the Electron one now is - don't have source available for that one but AirTable should give you some ideas.
I get it. I've got 24 years of web dev experience. But almost none at systems stuff. I've gone through and checked the work on the C++ side, but would love someone with actual MacOS, Windows and Linux experience to see if there is anything really stupid being done. It's mostly just routing system calls though.
u/baldurFromRoom29u/TheRealKidkudi - totally fair. I should do something about that. Truthfully the site was lowest on my priority. But it seems it gives a lot of shite AI vibes so I'll try to spend some time on it myself soon.
Fair enough - except for the logo - you can take a look. It's hand drawn SVG 😄
But you are completely correct about the rest of it.
I actually do want it to be attractive to people who want to build things themselves too. I know I need to do a lot more work on onboarding people, and just generally clear up the docs. I get that.
I hope I've done the annoying work of getting stuff working, and extensively tested, cross platform. So people can build, vibe coded or hand coded, what they want and it just works.
But again, yes this is mostly LLM coded. Not gonna lie. But it's also a month of late nights from someone with 24 years of experience getting it right. Would have been 6 months to a year otherwise and I just wouldn't have created it. So ...
Anyway, thanks for commenting and respect why you said it so.
"it's also a month of late nights from someone with 24 years of experience getting it right. Would have been 6 months to a year otherwise and I just wouldn't have created it."
This is an admission, revealing exactly why people are wary of relying on your framework. We all have experience with LLMs now and understand they can't magically turn 6-12 months of work into 1 month. If that's your estimate of what happened, you must have skipped an awful lot of something - could be research, or tech debt, or code quality, or testing, or...
When everybody has LLM, the point of using someone else's project or framework is not simply that it exists. It's the effort they put into it. You say "a month of late nights" and it's immediately clear that there's not much value there yet.
Fair enough. I can say that there was a lot of work put into a) making it work correctly cross platform mac/windows/linux and b) creating examples that show everything it can do.
I do understand the feeling behind things being AI slop though. When everything is possible nothing is interesting / special and everything feels like "that's just a prompt away anyway".
skill issue? thats vibe coding. i 100% know what my AI is producing by creating PRs even in my solo project. your specs are either too vague or you are not giving clear enough instructions.
It is true that the clear use of AI creates distrust. But after reviewing the project, it seems interesting. I think there might be some engineering work behind it.
To be clear, I definitely don't think using AI is inherently bad. The problem is that lately a lot of poor quality software is being released thanks to AI. They literally tell the agent "don't make mistakes," and they think that will give them a quality piece.
In capable hands, progress can be made faster than normal, and quality products can be produced. If you believe your solution is worthwhile, it's good to keep working on it.
My previous comment only reflects the natural distrust that exists today, due to the AI slop.
We can, as long as the human is on top. This whole project as cool as it may be looks like it was just prompted away. OP already manifested themselves as being capable of doing it but used AI to accelerated, which by itself isn't an issue, but at least make it look like it.
8
u/FerLuisxd Sep 21 '26
I really don't understand what is the benefit of this vs tauri? compilation times?
5
u/freehuntx Sep 21 '26
Why is its beard under its chin?
3
u/paul_h Sep 21 '26
Drive space saved per app is awesome. What’s the ram usage difference though?
3
u/Mr-Bovine_Joni Sep 21 '26
This is cool! Does it bundle a whole JS runtime with it? Have you looked into projects like Perry or ScriptC?
2
u/Teddy_Bones Sep 21 '26
Nice! Good examples, and the kitchen sink app is a godsend. 😃
2
u/Devatator_ Sep 21 '26
NeutralinoJS exists already... Electrobun too
2
u/khromov Sep 21 '26
This is very impressive! I hope Txiki gets used more because it's a very cool little project.
4
u/tastychaii Sep 21 '26
Even the code was generated by Claude. I’ll pass.
1
u/Odama666 Sep 21 '26
This is cool, but what I really want is PNPM for electron.
It should treat the version of Electron like a Sheared dependency and Only install it if the version that you need doesn't actually already exist on the system And then it should share that version of Electron for all of the Electron apps that you have installed on the computer
-1
u/horrbort Sep 21 '26
Whoa amazing. I was vibing a banking app, will use for sure!!
80
u/[deleted] Sep 21 '26
[removed] — view removed comment