whatisgithub

What is concord?

webpack/concord — explained in plain English

Analysis updated 2026-08-04 · repo last pushed 2020-03-17

156Audience · developerComplexity · 3/5DormantSetup · easy

In one sentence

Concord is a work-in-progress specification for packaging software modules containing code, styles, images, and templates that work across different build systems with zero manual configuration. Modules declare what file types they contain while apps decide how to process them.

Mindmap

mindmap
  root((repo))
    What it does
      Declares file types
      Works across build systems
      Zero manual config
    How it works
      Modules declare types
      Apps decide processing
      Conditional config supported
    Use cases
      UI component libraries
      Web app asset handling
      Node server environments
    Tech stack
      JavaScript
      npm package manager
      Less stylesheets
    Audience
      Module authors
      App developers
      Build system users
    Status
      Work in progress
      Spec may evolve

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Package a UI component library with JavaScript, stylesheets, templates, and images that works in any app without loader config.

USE CASE 2

Pull in a third-party component library and automatically get correct stylesheet and image loading behavior out of the box.

USE CASE 3

Use the same component library in a Node.js server environment with irrelevant assets automatically excluded.

USE CASE 4

Serve different files for web versus server environments using conditional configuration.

What is it built with?

JavaScriptnpmLessHTML

How does it compare?

webpack/concordalexeygrigorev/build-your-own-search-enginecaddyserver/replace-response
Stars156156156
LanguageJupyter NotebookGo
Last pushed2020-03-172025-12-152025-06-18
MaintenanceDormantQuietStale
Setup difficultyeasyeasymoderate
Complexity3/52/52/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

It's a specification you read and implement, not a tool you install, no infrastructure or dependencies required to start understanding and applying it.

No license information is provided in the explanation, so the licensing terms are unknown.

So what is it?

Concord is a specification for making software modules, self-contained pieces of code and assets, that work across different build systems and environments without requiring special setup. The core idea is that a module author should be able to publish a package containing JavaScript, stylesheets, images, templates, and other files, and any application can use it without manual configuration. The key innovation is a separation of concerns: modules declare what types of files they contain (like "stylesheet/less" or "url/image"), while the application decides how to process them (inline images as data, bundle CSS separately, etc.). This means a module works out of the box with sensible defaults, but the app retains full control over optimization and output format. Modules can also use conditional configuration, serving different files for web vs. server environments, or enabling lazy-loading only when the build system supports it. A developer building a UI component library would use concord to package their JavaScript alongside Less stylesheets, HTML templates, and image assets. Someone building a web app could pull in that library and automatically get the right behavior, stylesheets applied to the page, images loaded on demand, without adding loader configuration or running preprocessing steps. The same library could also work in a Node.js server environment, with irrelevant assets automatically excluded. The specification is notably agnostic: it reuses existing package managers like npm rather than being one itself, and it supports custom module types so the system can grow beyond the predefined categories. It compares itself to browserify, component, and webpack 1.x, identifying how each forces module authors, application authors, or build systems to shoulder configuration burdens that concord aims to eliminate. The project is marked as a work in progress, so the specification may still be evolving.

Copy-paste prompts

Prompt 1
I want to package a reusable UI button component with JavaScript, a Less stylesheet, and an SVG icon using the Concord specification. Write the module declaration showing how to declare each file type so any app can consume it without extra config.
Prompt 2
I'm building a web app that imports a Concord-compatible component library. Show me how the app-side configuration would handle inlining small images as data URLs while bundling CSS into a separate file.
Prompt 3
Help me set up a Concord module that serves different assets depending on whether the consumer is a browser build or a Node.js server build, using conditional configuration for environment-specific behavior.
Prompt 4
I have an existing npm package with mixed assets (JS, CSS, images, HTML templates). Convert it into a Concord-compliant module by adding the file type declarations so it works across webpack and other build systems.

Frequently asked questions

What is concord?

Concord is a work-in-progress specification for packaging software modules containing code, styles, images, and templates that work across different build systems with zero manual configuration. Modules declare what file types they contain while apps decide how to process them.

Is concord actively maintained?

Dormant — no commits in 2+ years (last push 2020-03-17).

What license does concord use?

No license information is provided in the explanation, so the licensing terms are unknown.

How hard is concord to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is concord for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.