Skip to content

A Proof of Concept/Prototype for a CCNx based port of Smallest Federated Wiki

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
gpl-license.txt
MIT
mit-license.txt
Notifications You must be signed in to change notification settings

rynomad/CCNx-Federated-Wiki-Prototype

Repository files navigation

This is the prototype build of CCNx Federated Wiki. If you are using chrome 25+, you can test drive the prototype at leela.rosewiki.org

CCNx Federated Wiki Goals

CCNx Federated Wiki is a port of Ward Cunninghams Smallest Federated Wiki, modified to federate via Content Centric Networking via NDN-js. The concept has proven to be workable, though it will be some time before it is useable. This is the first of many projects envisioned to run over Nei.ghbor.Net, a cooperatively administered, globaly scaled, locally-focused CCN network...

We imagine two components:

  1. a razor thin server serving the client code and managing a TCP websocket proxy to either a local or remote CCN router
  2. a client component that renders, saves and serves pages in a users IndexedDB capable browser.

This project should be judged by the degree that it can:

  • Demonstrate the versatility and practicality of distributed CCNx web applications.
  • Explore federation policies necessary to sustain an open creative community.

This project is an evolution of Smallest Federated Wiki, married with NDN-js from the UCLA Named Data Team, and achieves federation via CCNx routers.

How to Participate

First you will want to get familiar with the projects listed above. There are numerous demo videos of SFW available. Watch them. They're short:

CFW retains as much of the frontend UI from SFW as possible, so you may want to read through the end-user how-to documentation for that project, which is itself written in a federated wiki:

Install and Launch

In order to run the server in a production state, you'll want a local CCN daemon running. This is not a strict requirement of NDN-js, but rather of our implimentation. For this prototype, we've coded the server to point to the ccn router that is powering rosewiki.org. The server is only tested thus far on Ubuntu 12.04 LTS.

The project is distributed as a GitHub repository. You will need a git client. Learn more from GitHub:

When you have git. Use it to clone the repository:

git clone git://github.com/rynomad/CCNx-Federated-Wiki-Prototype.git

start your ccn daemon and repository. take the Welcome Visitors page from the default data folder and put it in your repository under the prefix /NeighborNet/pages/welcome-visitors (you are free to use another prefix, but note that as of now this is how the server will request your page, so you must change the client side code accordingly) Now start your server.

cd SFCCW2/server/express
node ./bin/server.js

And point your browser like so:

http://localhost:3000

License

CCW is an amalgom of multiple open source projects. SFW is licenced under either the MIT or GNU GPL: MIT License or the GNU General Public License (GPL) Version 2.

NDN-js is licensed under a BSD style license NDN Licensing

About

A Proof of Concept/Prototype for a CCNx based port of Smallest Federated Wiki

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
gpl-license.txt
MIT
mit-license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published