node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

sourcejs

SourceJS - Living Style Guide Platform

npm version Build Status Windows Build status

The most advanced tool for documenting, testing and managing Front-end Components achieving productive team work.

🚀 Quick Start

SourceJS powered workflow allows developers to code new components directly in the documentation. Combining web components development with documentation and team communication processes, makes SourceJS a powerful tool for Front-end developers and designers.

🎥 Check out short video overview:

image

Our main goal is to provide flexible, modular environment for managing reusable Front-end components library. We don't focus on specific technologies, allowing to seamlessly integrate SourceJS workflow with your existing codebase.


Source engine project page     Documentation     Examples    How-to's


SourceJS component management engine was originally developed in OK.ru front-end development team and is recommended for big and middle sized projects. Especially for fast growing web portals, outsource teams with similar project and companies with multiple services.

Have questions? Just reach our community through Gitter Chat:

Gitter chat

SourceJS is NOT

To clear some confusion around Living Style Guide Platforms comparison, let us define few main differences.

Static site builder

SourceJS is a dynamic Node.js application, and does not build static website as Pattern Lab, KSS, StyleDocco are doing. Dynamic environment allows to connect unlimited number of plugins and middlewares for compiling docs, styles, text right on the flight.

CSS Documentation parser

Engine is based on gathering special documentation templates (index.src.html, readme.md and others), where you leave your HTML examples, template includes and description. All Specs are located in sourcejs/user/specs folder, and could contain any catalogue structure, with focus on component folders.

But you can use official SourceJS plugin based on DSS, CSS Documentation parser - github.com/sourcejs/sourcejs-contrib-dss.

Join the community

Many teams are already using SourceJS for building and managing Front-end components libraries for themselves and their clients. To join the community, you just need to follow few simple rules - check our docs about Maintaining and Contribution.

If you notice some bugs, or need to help finding a better solution in your process, feel free to create an issue, and we will solve your problem together.

Materials for presentations.

Updates

Upcoming updates

Respecting open source community, we track all our tasks publicly on GitHub. Follow our milestones and twitter announcements @SourceJS to keep in sync with latest plans.

List of few global upcoming features

  • Remove JSDom dependency, for making engine faster and easier to install
  • SourceJS as npm module official support
  • Refactored code snippets API and tab view
  • Integrations with JSDoc and drop-in replacement setup for other Style Guide tools like KSS/Pattern Lab
  • More screencasts and engine usage demos

SourceJS follows semantic versioning and we do our best to keep as less breaking changes as possible.

Preparing to 1.0 release, we plan to keep migration path very smooth and painless. So if you will keep in sync with minor releases and API deprecation announcements, you won't face any problems setting up major release updates.

Useful information

Browser support

SourceJS client-side part is supported in all latest major browsers and IE8+ in Clarify for testing components.


Copyright © 2013-2015 SourceJS

Licensed under MIT License, read more at license page.