Sign inSign up

buddycloud/http-api-server

By buddycloud

•Updated almost 11 years ago

Image
3

1.2K

buddycloud/http-api-server repository overview

Implements https://buddycloud.org/wiki/Buddycloud_HTTP_API⁠

⁠Build status

Build status of master branch

Build Status

Build status of the develop branch

Build Status

⁠Install

Install documentation is at https://buddycloud.org/wiki/Install⁠

⁠Realtime connection

A websocket (using the xmpp-ftw⁠ interface can be found at $server/scripts/buddycloud.js. This exposes a global object called Buddycloud which you can instantiate to give you a websocket connection.

Please see buddycloud.com⁠ for more information on using this connection.

⁠Docker

There is a docker image available for the API server. Configuration is currently passed via environment variables:

ConfigurationExampleDescriptionRequired or default
XMPP_DOMAINbuddycloud.orgThe XMPP domain for your server✓
XMPP_HOST192.168.0.55The hostname or IP of your XMPP server✓
CHANNEL_COMPONENTchannels.buddycloud.orgThe channel server component address✓
ANONYMOUS_COMPONENTanon.buddycloud.orgAn 'anonymous' component which can be used for open nodesnull
MEDIA_ENDPOINThttp://192.168.0.56:9000⁠The endpoint for a media server⁠null
PUSHER_COMPONENTpusher.buddycloud.orgThe location of a pusher component⁠null
FRIENDFINDER_COMPONENTfinder.buddycloud.orgThe location of a friend finder component⁠null
SEARCH_COMPONENTsearch.buddycloud.orgThe location of a search component⁠null
DISABLE_WEBSOCKET0Whether to disable the XMPP-FTW⁠ endpointfalse
DEBUG1Whether to write additional debug to the logsfalse

Then simply launch the API server with the required environment variables as follows:

docker run -d -p 9123:9123 -e ..... buddycloud/api-server

⁠Issues

Please log any issues at https://github.com/buddycloud/buddycloud-http-api/issues⁠

⁠Developers

For developing please see the config file named config.js.developer-example.

This code is Apache 2 licensed and copyright buddycloud.

Tag summary

Content type

Image

Digest

sha256:d7cdb67ca…

Size

275.9 MB

Last updated

almost 11 years ago

docker pull buddycloud/http-api-server