mitosis
bun
Our great sponsors
mitosis | bun | |
---|---|---|
29 | 286 | |
10,760 | 70,488 | |
2.0% | 2.9% | |
9.0 | 10.0 | |
6 days ago | 3 days ago | |
TypeScript | Zig | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mitosis
-
Nx - Highlights of 2023
Builder.io Mitosis -
-
Don’t Build AI Products The Way Everyone Else Is Doing It
In this case, we combined a fine-tuned LLM, a custom compiler that we wrote, and a custom-trained model.
-
Introducing Visual Copilot: A Better Figma-to-Code Workflow
The heart of Visual Copilot lies in its AI models and a specialized compiler. The initial model, trained with over 2 million data points, transforms flat design structures into code hierarchies. Our open-source compiler, Mitosis, takes this structured hierarchy and compiles it into code. In the final pass, a finely tuned Large Language Model (LLM) refines the code to match your specific framework and styling preferences. This multi-stage process ensures that the generated code is high-quality and tailored to meet the requirements of your project.
-
Show HN: Create-multi-lib – Write UI code once, compile to multiple frameworks
Mitosis (https://github.com/BuilderIO/mitosis) is a fantastic project, but is still in its early stages, and in need of some build tooling. It allows you to "write once, run everywhere" in the sense that you can write a UI component and have it compiled to a React component for use in a React project, a Svelte component for use in a Svelte project, and so on. It does not, however, support bundling.
create-multi-lib (run like so `npx create-multi-lib ) is my attempt to contribute a much needed bundling-layer on top of Mitosis.
It also comes with E2E testing included, and your resulting packages include type-declarations.
-
[AskJS] Asking advice on monorepo setup with multiple frameworks
Depending on your needs, check out Mitosis that let you write components and compile them to svelte, angular, react. https://github.com/BuilderIO/mitosis
- Making a case for open-standard base templating syntax to partially unify front-end development
-
[AskJS] best stable free (framework agnostic*) ui library?
Saying that, you could check-out Mitosis.
-
Show HN: Build your own no-code editor with Reka.js
I see you was inspired by https://github.com/BuilderIO/mitosis was there no way to extend there AST?
- Ask HN: Any good ideas Figma to Angular implementation?
-
Best front-end stack for Golang backend
I discovered https://github.com/BuilderIO/mitosis, and it has changed my front-end development workflow with the ability to create one development and export and test metrics on multiple front-ends delivering the best MVP possible.
bun
-
React Server Components Example with Next.js
At Node Conference 2023, Jarred Sumner (creator of Bun) showed a demo of server components in Bun, so there is at least partial support in that ecosystem. The Bun repo provides bun-plugin-server-components as the official plugin for server components. And while I haven’t looked at it in-depth, Marz claims to be a “React Server Components Framework for Bun”.
- Bun – A fast all-in-one JavaScript runtime
-
From Node to Bun: A New Dawn for JavaScript Engines?
Continuously evolving, Bun is currently optimized for MacOS and Linux, with ongoing efforts towards Windows compatibility. Tailored for resource-constrained environments like serverless functions, it emerges as an ideal solution. The Bun team is committed to achieving comprehensive Node.js compatibility and seamless integration with prevalent frameworks. For those intrigued by Bun's potential and want to give it a try, more information is available on its website at https://bun.sh/.
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
Let’s say you are interested in learning more about Bun and probably give it a try. Bun has a website, where you can learn more about Bun and its features (including all the benchmark data captured in this issue), and here is the link.
-
Bun 1.1
Looks like it, it seems the 2% are mostly odd platform specific issues that the authors' did not deem very important (my assumption for the release happening anyway). AFAIK this[1] PR tries to fix them.
[1]: https://github.com/oven-sh/bun/pull/9729
-
Bun-ify Your Project
Bun has a solution for it. First of all, it already has a list of trusted dependencies. For them, Bun will execute all necessary scripts by default. Otherwise, you can add it to trustedDependecies in your package.json file. In Bun community usage of trustedDependencies is a hot topic. There are several suggestions on how to improve it.
-
I have created a small anti-depression script
Install Node.js (or Bun, or Deno, or whatever JS runtime you prefer) if it's not there
-
JSR: The JavaScript Registry
I think maybe I was unclear. I'm talking about writing libraries that abstract across these differences and provide a single API, as sibling describes. I already know it's possible. I made a simple filesystem abstraction here[0] and a very simple HTTP library that uses it here[1]. They both work in Node/Deno and the browser. Unfortunately I ran into issues with Bun's slice implementation[2]. But I suspect there's a much better way of detecting and using the different backends.
[0]: https://github.com/waygate-io/fs-js
[1]: https://github.com/waygate-io/http-js
[2]: https://github.com/oven-sh/bun/issues/7057
-
SelectorHound: The tool for Sniffing out CSS Selectors
For, for more speed (requires installing bun first):
-
OpenCommit: feature-rich CLI to generate meaningful git commit messages now supports local models via Ollama 🤯🔫
OpenCommit is a CLI to generate commit messages, you can try it right now by running npx opencommit in any repo you have changed code in. I suggest you use bunx opencommit (install Bun) or install OpenCommit globally npm i -g opencommit and then run oco which is a shorthand.
What are some alternatives?
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
vite - Next generation frontend tooling. It's fast!
html-figma - Builder.io for Figma: AI generation, export to code, import from web
GORM - The fantastic ORM library for Golang, aims to be developer friendly
angular-email-editor - Drag-n-Drop Email Editor Component for Angular
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
tailwind-figma - FlowBite is a free and open-source set of UI components and pages in Figma built for Tailwind CSS
fastify - Fast and low overhead web framework, for Node.js
stencil - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
go-pg - Golang ORM with focus on PostgreSQL features and performance
qwik - Instant-loading web apps, without effort
deno - A modern runtime for JavaScript and TypeScript.