Skip to content

AlonGvili/bit

 
 

Repository files navigation

Docs | Demos | Videos | Bit Cloud

Build anything in components

Distribute and scale web application development through components.

apache prs Circle Status Styled with Prettier Join Slack

What is Bit?

Bit Workspace

Bit distributes web application development in order to scale it.

Instead of building monolithic applications where all components are internal and has no added value, in Bit you build components that are independent (each component has its own codebase, version, and build), then use them to compose many applications.

Building in Bit is simpler than without it. You can start writing components anywhere in any project you want, and through Bit integrate and use them anywhere to build anything. With Bit you just don’t do extra work to enjoy things like micro frontends or component libraries; All your components are available anywhere, and all your applications are composed of independent components. Bit is open source and organizations can expand collaboration via Bit Cloud.

Bit consists of a workspace (with UI) where component are developed, managed, and integrated. In the workspace you build can fully distributed projects with a simple monolithic-like dev experience. A single workspace can easily host and manage many components even using different stacks and frameworks.

Each component has an isolated dev environment so it is independently developed, tested, built, and run anywhere you need it. Each component is versioned and can be independently deployed. Dependencies between components are automatically defined and managed by Bit, using smart graph versioning, making it simple to incrementally update and build changes to many components.

Scopes help you store and organize components. Remote scopes (on bit cloud or your own server) make it easy to move components from app to app or between teams, share and discover components, and collaborate to stay in sync.

Organizations can assign team ownership over features to autonomous teams, who build and serve components for all apps to use. For example, a team can build a set of front and backend components for “search” and serve them for all applications to integrate and use, just like a microservice serves APIs.

Bit distributes and scales web development in a way similar to how microservices distributed and scaled backend development, only in a more flexible degree of freedom through unlimited granularity and across the entire modern web development stack, front and back.

We build 100% of our technology with Bit, and so do thousands of developers and dozens of Fortune-500 companies.

How to Start?

Bit Workspace

To get started follow the quick-start guide or try the official Bit for React tutorial.

Install Bit Version Manager:

npm i -g @teambit/bvm
# or
yarn global add @teambit/bvm

Install Bit:

bvm install

Start a Bit workspace:

bit new react <my-workspace-name>

Install dependencies:

cd <my-workspace-name>
bit start

Open-up your browser on localhost:3000, or any other available port, and view the demo components.

Create components:

bit create react ui/button     # TypeScript
bit create react-js ui/button  # JavaScript

Popular Onboarding Use-Cases

Here are 4 popular use-cases many organizations choose to start with.

  • Micro Frontends
  • Design Systems (Component Marketplace)
  • Shared Logic and Backend Functionality
  • Rapid Application Development

Resources & Community

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 Analytics

About

A tool for component-driven application development.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.5%
  • JavaScript 1.5%
  • SCSS 1.3%
  • Vue 0.3%
  • Shell 0.2%
  • CSS 0.1%
  • Other 0.1%