The ExtPlug room settings server.
Last updated 4 years ago by goto-bus-stop .
MIT · Original npm · Tarball · package.json
$ cnpm install @extplug/room-settings 
SYNC missed versions from official npm registry.


HTTP interface to the ExtPlug Room Settings repository.

How It Works

First @extplug/room-settings uses plug-auth-server to authenticate users to the server. Then, it checks that users are actually cohosts or hosts in the rooms they are trying to change, by joining the room using miniplug. Finally, the room settings are updated in the FAERSS (Fully Automated ExtPlug Room Settings Storage) using the Github web API.


GET /:room, GET /:room.json

Return the room settings JSON for a room.

GET /:room.css

Return the custom styles for a room.

GET /:room/history

Return a JSON array containing the recent changes to the room settings and styles.

Example response:

    // Commit SHA
    id: "b526bf6a701a8196669153f1389df788efa873ce",
    // Commit message
    message: "[extplug] Update room settings.\n\nhttps://plug.dj/extplug",
    // plug.dj user ID of the committer
    user: 4393540,
    // timestamp of the change
    time: 1489516848000



Current Tags

  • 1.2.0                                ...           latest (4 years ago)

3 Versions

  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Today 0
This Week 1
This Month 4
Last Day 0
Last Week 3
Last Month 4
Dependencies (11)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |