Home

Awesome

<p align="center"> <img src="https://raw.github.com/hadronjs/resources/master/hadron_full.png"/> </p>

NPM version Build Status Dependency Status Gitter chat


Hadron is a minimalist, hackable publishing/blogging platform written in Node.js, best enjoyed by a Node.js developer :).

Hadron gives you the foundation to build your very own blog, thanks to its composable architecture.

The core is built reusing well-known and (mostly) loved javascript solutions (Express, Gulp, LevelDB, AngularJS, etc.) with a sprinkle of Scatter IoC to give composability from the ground up.

Tech Features

Stability

Hadron is currently in experimental stage, things may change rapidly and although reasonable efforts will be made to not break compatibility, no easy migration might be provided between releases at this very early stage.

That said, we will try to keep everybody happy, so early adopters/testers are more than welcome :).

Screenshots

Hadron homepage

Hadron admin

Quick install

$ mkdir MYBLOG && cd MYBLOG
$ git init
$ git remote add hadron-seed -m master https://github.com/hadronjs/hadron-seed.git
$ git pull -s recursive -X theirs hadron-seed master
$ npm install
$ gulp install
$ gulp build
$ git add -A
$ git commit -m "My first Hadron blog"
$ node app

In production

$ rm -rf ./node_modules
$ npm install --production
$ npm rebuild

on the target system, to rebuild binary modules before the app starts.

$ gulp build --isProd
$ NODE_ENV=production node app.js

Easy deployment on the OpenShift PaaS

You can easily deploy your Hadron blog to OpenShift and having it running on the cloud with minimal effort. Check out the hadron-openshift-seed project.

Update

$ rm -rf node_modules
$ git pull -s recursive hadron-seed master
$ git mergetool
$ git pull -s recursive hadron-openshif master
$ git mergetool
$ npm install
$ gulp install
$ gulp build

Plugin & Theme Development

Use this command to start Hadron in development mode, so it restarts and rebuilds automatically when an asset or server side code changes:

$ gulp develop

Please refer to the wiki:

Plugin & Theme Development


Changelog

0.3.0


The Philosophy

Hadron is an experiment.

It was built mainly for 2 reasons:

Hadron itself is an npm packaged Scatter module (a particle), and is installed as an npm dependency from an hadron-seed module, this makes updating the core unbelievably easy (just npm update), and allows you to build your very own version of Hadron without affecting the core or plugins.

Credits

Feedback & Social

Any feedback is welcome. If you just like/dislike Hadron, if you tried it, if are using it for your blog/website, please let us know with a tweet mentioning @hadronjs.

Also there is a Google group you can use to ask questions and discuss about Hadron. Visit the Hadron Google group.