Dynamic broadcast graphics rendered in a browser
Last updated a month ago by lange .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nodecg 
SYNC missed versions from official npm registry.



Discord Build Status Coverage Status Docker Build Status Twitter

Create broadcast graphics using Node.js and a browser

NodeCG is a broadcast graphics framework and application. It enables you to write complex, dynamic broadcast graphics using the web platform. NodeCG has no graphics or drawing primitives of its own. Instead, NodeCG provides a structure for your code and an API to facilitate moving data between the dashboard, the server, and your graphics. It makes no assumptions about how to best code a graphic, and gives you complete freedom to use whatever libraries, frameworks, tools, and methodologies you want. As such, NodeCG graphics can be rendered in any environment that can render HTML, including:

Don't see your preferred streaming software on this list? NodeCG graphics require Chrome 49 or newer. If your streaming software's implementation of browser source uses a build of CEF that is based on at least Chrome 49, chances are that NodeCG graphics will work in it. You can check what version of Chrome your streaming software uses for its browser sources by opening as a browser source.

Looking for a list of NodeCG bundles and resources? Check out awesome-nodecg.

Have questions about NodeCG, or just want to say 'hi'? Join our Discord server!

Who should use NodeCG?

NodeCG is a programming framework. As such, it's most useful to developers capable of creating their own graphics using HTML, CSS, and JavaScript. NodeCG's ecosystem of bundles is quite small. Those expecting to download NodeCG and use off-the-shelf bundles to get a complete stream overlay without writing any code may be disappointed.

Table of Contents


Install Node.js (version 8.3 or greater) & npm (version 2 or greater).

Then, run the following commands from a terminal (command prompt):

git clone
cd nodecg
npm install --production
node index.js

Looking to get started developing bundles? Check out the Quick Start tutorial.

To run NodeCG in production, pm2 is recommended.

Installing bundles

NodeCG's individual graphics packages are called bundles. They can be installed either from the command-line (via nodecg-cli), or by simply placing the folder into the ./bundles directory.

The easiest way to install bundles is via the command-line using nodecg-cli. You will need to install nodecg-cli before you can use the nodecg terminal commands.

(Once you have nodecg-cli installed) To install a bundle from Github, enter the owner and repository name:

nodecg install lange/lange-notify

... to install a bundle from Bitbucket, enter the owner and repository name prefixed with bitbucket:

nodecg install bitbucket:username/repo-name

... to install a bundle from any other git provider, enter the git URL:

nodecg install

Bundles are just directories inside the ./bundles folder. They can always be added and removed by simply moving them into or out of that folder. Avoid installing or uninstalling bundles while NodeCG is running.


  • Install a bundle to the bundles folder.
  • Start NodeCG (node index.js or nodecg start if you have nodecg-cli installed).
  • Open the dashboard (http://localhost:9090 by default).
  • Open a graphic from the "Graphics" menu.
  • You can configure NodeCG by creating and editing cfg/nodecg.json.


./cfg/nodecg.json is an optional file that you can create to configure NodeCG. See the NodeCG Configuration tutorial for more information on configuring NodeCG.


Each NodeCG graphic is called a bundle. A bundle has one or more of the following:

  • Graphics: Visual elements to render and broadcast.
  • Dashboard Panels: Controls used to manipulate and manage the bundle.
  • Extension: Server-side code.

A bundle can have multiple graphics and dashboard panels, and an extension can be split up into multiple files.

If you wish to quickly start a new bundle from a template, check out the Quick Start tutorial.

Concepts and Terminology

A breakdown of the terminology and concepts used inside NodeCG can be found here, on the NodeCG website.


The NodeCG project exists to accomplish the following goals:

  • Make broadcast graphics (also known as "character generation" or "CG") more accessible.
  • Remain as close to the web platform as possible.
  • Support broadcasts of any size and ambition.

Let's unpack what these statements mean:

> Make broadcast graphics (also known as "character generation" or "CG") more accessible.

Historically, broadcast graphics have been expensive. They either required expensive hardware, expensive software, or both. NodeCG was originally created to provide real-time broadcast graphics for Tip of the Hats, which is an all-volunteer charity fundraiser that had a budget of $0 for its first several years.

Now, it is possible to create an ambitious broadcast using entirely free software and consumer hardware. The NodeCG project embraces this democratization of broadcast technology.

> Remain as close to the web platform as possible.

NodeCG graphics are just webpages. There is absolutely nothing special or unique about them. This is their greatest strength.

By building on the web platform, and not building too many abstractions on top of it, people developing broadcast graphics with NodeCG have access to the raw potential of the web. New APIs and capabilities are continually being added to the web platform, and NodeCG developers should have access to the entirety of what the web can offer.

> Support broadcasts of any size and ambition.

NodeCG's roots are in small broadcasts with no budget. More recently, NodeCG has begun seeing use in increasingly elaborate productions. We believe that one set of tools can and should be able to scale up from the smallest show all the way to the biggest fathomable show. Whether you're using OBS for everything, or a hardware switcher with a traditional key/fill workflow, NodeCG can be a part of any broadcast graphics system.





Please contribute! This is an open source project. If you would like to report a bug or suggest a feature, open an issue. Or, to open a Pull Request:

  1. Fork it (
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Note: Make sure you run npm install in the root directory without the --production flag to ensure all devDependencies are installed.

Before creating your pull request:

  1. Ensure your code matches our existing style using our provided EditorConfig options.
  2. Ensure the existing tests pass, or are updated appropriately, with npm test.
  3. For new features, you should add new tests.

Building and viewing the docs locally

Documentation contributions are always welcome and very appreciated!

NodeCG's documentation site,, is automatically generated based on NodeCG's JSDoc comments and the markdown files in the tutorials folder. The table of contents in this README is also automatically generated.

To build the docs, run the following commands (after you have cloned NodeCG and installed its dependencies via npm install):

npm run docs:build

After that, you can open docs/index.html directly in your web browser.

Once you've made your changes, follow the steps above in the Contribute section to open a pull request.

Running tests locally

You no longer need Selenium to run browser integration tests. Chromium is installed with npm install/npm ci, and that's all required for tests.

Then just run npm test

Code of Conduct

Note that all contributions and discussions around NodeCG take place under our Code of Conduct.

Current Tags

  • 0.6.4                                ...           0.6.x (4 years ago)
  • 0.6.3-beta1                                ...           beta (5 years ago)
  • 1.6.1                                ...           latest (a month ago)
  • 1.3.2-master.3843cc1                                ...           next (a year ago)

81 Versions

  • 1.6.1                                ...           a month ago
  • 1.6.0                                ...           3 months ago
  • 1.5.0                                ...           10 months ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.2-master.3843cc1                                ...           a year ago
  • 1.3.2-master.464564b                                ...           a year ago
  • 1.3.2-master.3b76451                                ...           a year ago
  • 1.3.2                                ...           a year ago
  • 1.3.1-master.50d7511                                ...           a year ago
  • 1.3.1-master.55f4c36                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0-master.2a1e22a                                ...           a year ago
  • 1.3.0-master.392032a                                ...           a year ago
  • 1.3.0-master.5981d9e                                ...           a year ago
  • 1.3.0-master.23e5772                                ...           a year ago
  • 1.3.0-master.38b01e2                                ...           a year ago
  • 1.3.0-master.0bd5b5b                                ...           a year ago
  • 1.3.0-master.21537b9                                ...           a year ago
  • 1.3.0-master.2c74f46                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.2-master.5595c73                                ...           2 years ago
  • 1.2.2-master.1fb2545                                ...           2 years ago
  • 1.2.2-master.93a1fc9                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.9.12                                ...           2 years ago
  • 0.9.11                                ...           2 years ago
  • 0.9.10                                ...           2 years ago
  • 0.9.9                                ...           2 years ago
  • 0.9.8                                ...           3 years ago
  • 0.9.7                                ...           3 years ago
  • 0.9.6                                ...           3 years ago
  • 0.9.4                                ...           3 years ago
  • 0.9.3                                ...           3 years ago
  • 0.9.2                                ...           3 years ago
  • 0.9.1                                ...           3 years ago
  • 0.8.6                                ...           3 years ago
  • 0.8.2                                ...           4 years ago
  • 0.8.1                                ...           4 years ago
  • 0.8.0                                ...           4 years ago
  • 0.7.8                                ...           4 years ago
  • 0.6.4                                ...           4 years ago
  • 0.7.7                                ...           4 years ago
  • 0.7.6                                ...           4 years ago
  • 0.7.5                                ...           4 years ago
  • 0.7.4                                ...           4 years ago
  • 0.7.3                                ...           4 years ago
  • 0.7.2                                ...           4 years ago
  • 0.7.1                                ...           4 years ago
  • 0.6.3                                ...           4 years ago
  • 0.7.0                                ...           4 years ago
  • 0.6.3-beta1                                ...           5 years ago
  • 0.6.2                                ...           5 years ago
  • 0.6.1                                ...           5 years ago
  • 0.5.4                                ...           5 years ago
  • 0.5.3                                ...           5 years ago
  • 0.5.2                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.8                                ...           5 years ago
  • 0.4.7                                ...           5 years ago
  • 0.4.6                                ...           5 years ago
  • 0.4.4                                ...           5 years ago
  • 0.4.3                                ...           5 years ago
  • 0.4.2                                ...           5 years ago
  • 0.4.1                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.1                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (2)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 18
Dependencies (86)
Dev Dependencies (41)

Copyright 2014 - 2016 © |