Distributed code component manager Bit
It helps make code components (functions, classes and more) reusable across repositories with zero initial configuration and without the overhead of packages.
Bit also stores, organizes and manages your components end-to-end. Specially built for small components, it offers fast export and modification, simplified versioning, faster on-export dependency management, a semantic search engine and even component CI with build and test execution in an isolated environment. You can create a Bit scope anywhere or connect scopes together to create a distributed network.
Use components across repositories. Use your code components (functions/classes etc.) in multiple repositories without creating duplications or having to publish packages.
Zero initial configuration. Creating a new Bit component requires next to no configuration at all, and can be done directly from within the project you're working on. Transpiling and testing is done with simple commands.
Scoping system. Bit uses Scopes to organize, store and manage components. Exporting components to a remote scope makes them reusable across repositories for everyone working with this scope.
Distributed network. Scopes can be created anywhere with a simple command (bit init --bare), and can be connected to create a distributed network.
Component CI. Scopes can build and test your components in an isolated environment, so that they can build and run anywhere.
Fast dependency resolution. Dependency resolution is performed on-export, so Bit doesn't have to perform any runtime resolution. Both performance and reliability are increased.
Quick modification. Updating and modifying components is done with a single
bit modifycommand. Components can be "brought in" for repairs, and shifted right back out.
Simple versioning management. Bit uses simplified incremental versioning for components, preferring reliability and simplicity.
Semantic search engine. A
bit searchCLI command kicks Bit's semantic search engine into action, searching for components created and stored in the Scopes you search.
npm install bit-bin -g
For more installation methods, please check our wiki's installation section.
Here is a getting started guide.
Before Bit, we often found ourselves re-writing or duplicating code across repositories over and over again. This wasted time and effort while making our code base harder to maintain.
The only alternative was to spend time on boilerplating and build configuration. We also ended up having to maintain a git repo, package and CI for every small component. This required too much overhead to be practical.
We needed a tool that can save us the overhead of making code components reusable. We also needed to take care of our components through their entire lifecycle. We also wanted to collaborate by using and maintaining each other's components.
At the end of the day, distributed component management is deeply connected to the very basics of writing software as we want it to be. Managing code components can help us all to build great things out of smaller building blocks - together. Imagine the possibilities.
Feedbacks are more than welcome: email@example.com
Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
Apache License, Version 2.0