Cozy is a platform that brings all your web services in the same private space. With it, your webapps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one's tracking you.
cozy-client-js is compatible with both cozy architectures.
To learn more about cozy-stack, head over to its repository.
If you are getting started on cozy application development, you should follow this tutorial and use the current
cozy-browser-sdk. Transitioning from the cozy-browser-sdk library to this one should imply minimal changes (see transition doc)
require cozy-client-js using webpack
TODO test if
cozy-client-js compatible with browserify, rollup, ect...
You can also copy-paste the
dist/cozy-client.js bundle file into your application, and include it in your application with
polyfills : cozy-client-js uses fetch and bundle all necessary polyfills (promise, fetch, reGenerator). TODO: We should move the polyfills to a separate bundle and require them only if needed.
Once you have the library included in your application, head over to the doc to see what you can do with it!
If you want to work on cozy-client-js itself and submit code modifications, feel free to open pull-requests! See the contributing guide for more information about this repository structure, testing, linting and how to properly open pull-requests.
The lead maintainer for cozy-client-js is @aenario, send him/her a
Get in touch
You can reach the Cozy Community by:
- Chatting with us on IRC #cozycloud on Freenode
- Posting on our Forum
- Posting issues on the Github repos
- Say Hi! on Twitter
cozy-client-js is developed by Cozy Cloud and distributed under the MIT.