1.1.12 • Published 4 years ago

@osjs/strophejs-application v1.1.12

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
4 years ago

OS.js is an open-source web desktop platform with a window manager, application APIs, GUI toolkit, filesystem abstractions and much more.

Support Support Donate Donate Community

OS.js v3 Strophe.js Application

This is the Strophe.js XMPP Chat Application for OS.js v3

Installation

npm install @osjs/strophejs-application
npm run package:discover

Usage

This application connects to a standard XMPP server using BOSCH.

Using external servers

Set up a punjab server and simply configure this application to connect to the BOSH endpoint.

Host: http://my-punjab-server/http-bind
Username: username@gmail.com
Password: abc123

Custom BOSCH Server using Prosody

If you use Docker, you can simply add Prosody to your docker-compose file:

NOTE: You have to copy the default prosody configuration into src/etc/prosody first. Then enable the BOSCH http server module.

NOTE: A domain name or hostname resolved via DNS is recommended (my-domain.com in this example)

services:
  prosody:
    image: prosody/prosody
    ports:
      - "5280:5280"
    volumes:
      - "./logs/prosody:/var/log/prosody"
      - "./src/prosody/etc:/etc/prosody"

You can now add users via the docker container with:

docker-compose exec prosody prosodyctl adduser username@my-domain.com

Then in the OS.js application:

Host: http://my-domain.com/http-bind
Username: username@my-domain.com
Password: abc123

Contribution

Documentation

See the Official Manuals for articles, tutorials and guides.

Links

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago