An example Swarm+React project
JavaScript CSS Makefile Shell
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
css links to github, blog, etc Dec 18, 2014
model fix #26 (upgrade swarm upto 0.3.25 and use Vector forEach/map methods) Dec 18, 2014
view Merge branch 'master' of Dec 18, 2014
.gitignore css media query for embeded iframes added Sep 23, 2014
LICENSE npm stuff Oct 23, 2014
LocalTodoApp.js change routing ( /list/itemX/itemXY/itemXYZ... ) Sep 25, 2014
Makefile fix: mkdir dist/ Oct 26, 2014 slightly more verbose README Oct 26, 2014
TodoAppServer.js send the static page head immediately Dec 6, 2014
TodoRouter.js fix incorrect this Oct 16, 2014
fake_auth_init.js args for the server +cleanup Oct 5, 2014
favicon.ico favicon Sep 23, 2014
local.html support offline (manifest in todo.appcache) Oct 3, 2014
package.json fix #26 (upgrade swarm upto 0.3.25 and use Vector forEach/map methods) Dec 18, 2014 minor: script Oct 16, 2014
serv.js pushbase-based server: much simpler and cleaner Sep 22, 2014
todo.appcache use react.min.js from node_modules/react Oct 20, 2014

TodoMVC app using React.js+Swarm.js combo

This demo is a showcase for key features of the Swarm library:

  • isomorphic js (node.js server part does full page render)
  • real-time sync (open the exact same page in two tabs/browsers)
  • offline work (turn the internet off, then load the page :) )
  • caching (work offline, close the browser, open when online)

Step by step:

git clone
cd todomvc-swarm
npm install
npm start

...then open it http://localhost:8000/SomeTodoName

There is a blog post introducing the demo:

Normally, this demo is online at:

See our Twitter account at:

Feel free to contribute issues, bugfixes and feedback.

It is recommended to contact @gritzko before doing non-trivial pull requests.