Git Product home page Git Product logo

freedom's Introduction

freedom.js

Build Status Build Status Coverage Status Code Climate Selenium Test Status

freedom.js is a framework for building peer-to-peer (P2P) web apps. freedom.js makes it easy to quickly create social interactive applications that instantly work in modern web browsers, Chrome packaged apps, Firefox extensions, node.js, and native mobile apps. Because freedom.js apps are just JavaScript, they can be distributed as packages on an app store or hosted on static web servers. We're bringing peer-to-peer back, baby.

freedom.js comes with a tested set of implementations for storage, network communication, and navigating the social graph. The library exposes an architecture allowing you to build, think about, and debug your application from the perspective of a single user.

Use freedom.js

If you want a built version of freedom.js into your website, grab a copy from our CDN:

Websites:

Chrome Apps:

Firefox Extensions:

freedom, freedom-for-node, freedom-for-chrome, and freedom-for-firefox also exist as npm packages

npm install freedom
npm install freedom-for-node
npm install freedom-for-chrome
npm install freedom-for-firefox

To track progress of freedom.js for other platforms, check out these other repositories:

More documentation for building freedom.js, and including it in your project is on our GitHub wiki.

See freedom.js

Demos show many of the common freedom.js patterns.

To run the demonstrations locally, run grunt demo.

NOTE: freedom.js will not work when included as a file:// URL (since reading from other file protocol URLs is disallowed). freedom.js is being developed against current versions of Chrome and Firefox.

Build freedom.js

To create your own freedom.js, run grunt in the main repository. This will compile, lint, unit test, and optionally compress the code base. freedom.js can also be included in your project as an NPM dependency:

npm install freedom --save

Other helpful grunt commands:

  • grunt freedom - Build freedom.js and run phantomjs unit tests
  • grunt demo - Build and run demos
  • grunt test - Run unit tests in Chrome and Firefox
  • grunt debug - Build all tests and launch a webserver. freedom.js unit and integration tests can then be run by navigating to http://localhost:8000/_SpecRunner.html

Help freedom.js

We welcome contributions and pull requests! A set of current issues are maintained in the issues section of this repository. In addition, we would be happy to help you work through bugs with your use of the library and suggest solutions on our mailing list ([email protected]).

Pull requests are automatically reviewed by travis to verify code quality and unit tests. You can predict that a pull request will fail if running grunt test locally fails.

Internal documentation for the library is automatically generated and provides a reasonable starting point for understanding the internals of freedom.js.

freedom's People

Contributors

willscott avatar ryscheng avatar paul-e avatar daemonf avatar bemasc avatar dborkan avatar iislucas avatar keroserene avatar trevj avatar infmally avatar mollyling avatar matthild avatar myleshorton avatar rajasagashe avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.