Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ bit Public
forked from teambit/bit

Distributed code component manager

License

bradparks/bit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bit

Distributed code component manager

Appveyor Status Appveyor Status Appveyor Status

Many of us constantly copy and paste code across repositories, from the web or from other repositories. However, Code duplications make maintenance a difficult job. This happens because creating and maintaining a git repo, a package and more for every atomic functionality is simply too much overhead.

Bit is a code component manager designed to be language agnostic. It makes components easy to create, maintain and discover. It makes them reusable across repositories without creating duplications and with zero overhead and initial configuration. It comes with easy component export and modification, simplified versioning, fast on-export dependency management, a semantic search engine and full 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.

Features

  • Use components across repositories. Use your code components in multiple repositories without creating duplications or having the overhead of creating and maintaining packages.

  • Zero initial configuration/boilerplate. 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 without duplicating or generating boilerplate code (transpiling, testing, configuration, etc.). Transpiling and testing are done simply with other Bit components you can easily reuse while creating a component using any superset or a testing framework.

  • Scoping system. A Scope is a "virtual codebase". Bit uses Scopes to organize, store and manage components. Exporting components to a remote scope makes them reusable and discoverable across repositories for everyone having access 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 modify command. 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 search CLI command kicks Bit's semantic search engine into action, searching for components created and stored in the Scopes you search.

Installation

For our different installation methods, please visit our docs installation section.

Quick start

Here is a getting started guide.

Documentation

Docs

Bit Scope

Bit component

Bit on the server

CLI refrence

Bit

Why Bit?

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.

To achieve this we designed Bit - the first code component manager. Bit is a distributed manager written in JavaScript yet designed to be language agnostic. It allows you to make components reusable with zero initial configuration and use these components across repositories. It also helps to store, organize and manage your components. It allows you to group your components by context, while also handling versioning, dependency management, build and test execution and more. Bit also makes components easy to find and collaborate on.

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.

Feedback

Feedbacks are more than welcome: [email protected]

Contributing

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.

See Contributing.

License

Apache License, Version 2.0

About

Distributed code component manager

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.2%
  • Shell 1.6%
  • PowerShell 1.1%
  • Other 0.1%