https://github.com/processone/p1pp
ProcessOne Push Platform Command Line
https://github.com/processone/p1pp
Last synced: 8 months ago
JSON representation
ProcessOne Push Platform Command Line
- Host: GitHub
- URL: https://github.com/processone/p1pp
- Owner: processone
- Created: 2012-01-03T13:04:44.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-15T15:59:19.000Z (almost 14 years ago)
- Last Synced: 2023-03-10T23:08:39.257Z (almost 3 years ago)
- Language: Ruby
- Homepage: http://www.process-one.net/
- Size: 180 KB
- Stars: 10
- Watchers: 11
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a command-line interface tool to ProcessOne Push Platform (P1PP).
Example usage:
First define you XMPP username and password in config file to avoid to have to pass it from command-line.
For example, put this in ~/.p1pp.conf
```
---
:jid: test@gmail.com
:password: test
commands:
:create: {}
:delete: {}
:list: {}
:listen: {}
:subscribe: {}
:unsubscribe: {}
:publish: {}
```
You can then create a first pubsub node with the following command:
$ p1.rb create test1
As user: test@gmail.com
Created node: test1
$ p1.rb list
As user: test@gmail.com
You own the following nodes:
mremond@process-one.net/test1
mremond@process-one.net/test2
$ p1.rb delete test1
As user: test@gmail.com
Deleted node: test1
See XMPP protocol documentation at:
https://support.process-one.net/doc/display/XMPP/P1PP+documentation