An OStatus library for node-js. Implementing webfinger, PubSubHubBub, hcard, atom/json activitystreams and salmon. It serves as the building block of a decentralized social network.
MIT License
An implementation of the OStatus protocol stack for node.js
Copyright (C) 2010 Laurent Eschenauer [email protected]
** Ongoing development branch, unstable code, use at your own risk :-) **
If you are using npm (the node packet manager), installing is as easy as: npm install ostatus
If you are using this from source, you can install the dependencies using npm from the root of the source folder: npm bundle
Or you can install all dependencies manually:
The API is documented in the wiki.
Please avoid sending an email directly to me. Instead, involve also other users by:
Want to help ? That's awesome ! I'm doing this just a couple hours a week, between a full-time job and a six months old baby :-) So, of course, any help is welcome ! What you can do:
I accept pull-requests, but would appreciate if:
In the bin/ folder, you'll find a few simple command line clients for ostatus. If you install with NPM, these will be linked and added to your path.
Display the last status update of someone: status [email protected]
Output: 2011-03-06T14:25:08+00:00 One day, I'll post these kind of updates from my own host. In the meanwhile, cheers !
Display the profile of someone profile [email protected]
Output: photo: 'http://avatar.identi.ca/16106-96-20080722053859.png', nickname: 'eschnou', fn: 'Laurent', label: 'Liège, Belgium', url: 'http://eschnou.com', note: 'Coder, not blogger. Technology enthusiast. Exploring the future of the web & mobility.'
The following pieces of the protocol are implemented:
What is missing:
This code is a 100% rewrite by myself, however:
The MIT License
Copyright (c) 2010 Laurent Eschenauer [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.