Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple web listener for sending messages to a ZenIRCBot
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
config.json.dist
package.json
web-proxy.js

README.md

zen-web-proxy

Simple web listener for sending messages to a ZenIRCBot.

API

POST /raw

  • payload - JSON payload to send to the ZenIRCBot. Will be sent in the "out" Redis channel. The parameter must be a form-encoded JSON string.
  • token - Auth token as specified in the config file.

POST /channel/:channel

Note: the "channel" parameter must include the URL-encoded hash sign.

  • message - Text to send to the channel
  • token - Auth token as specified in the config file.

GET /channel/:channel/nicks

  • token - Auth token as specified in the config file. (As query string parameter.)

Note: the "channel" parameter must include the URL-encoded hash sign.

Response:

{
  "nicks": {
    "Loqi": "@",
    "aaronpk": ""
  }
}

License

Copyright 2013 by Aaron Parecki

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.