u-wave-announce
Announce your üWave server's existence to the world.
Last updated 5 months ago by goto-bus-stop .
Original npm · Tarball · package.json
$ cnpm install u-wave-announce 
SYNC missed versions from official npm registry.

u-wave-announce

üWave server plugin that periodically announces the server's presence to the server listing at https://hub.u-wave.net.

Usage

npm install --save u-wave-announce
import announce from 'u-wave-announce';

uw.use(announce({
  name: 'Your server name',
  subtitle: 'Very short description', // Up to about 30 characters.
  description: `
    Longer description about your server, perhaps with a list of rules.
    May include _markdown_, even!
  `,
  url: 'https://my-uwave-server.com',
}));

By default, the plugin sends announce messages to the announce server behind https://hub.u-wave.net, namely https://announce.u-wave.net.

Options

name (required)

The server name.

subtitle (required)

A short description of the server's purpose, up to about 30 characters. This could be something like:

  • EDM and more!
  • International k-pop community

url (required)

A URL to your server. Ideally this should be hosting a web client of some form.

description

A long-form description of the server. The description can contain markdown, including images and links. This can be a good place to put rules, links to social media accounts associated with your server, and whatever else you want visitors to know.

Indentation is stripped from this option, so template strings can be used like:

announce({
  description: `
    # My Awesome Server

    We play cool stuff, and cool stuff only!
  `
});

hub

The announce server to announce to. Uses https://announce.u-wave.net, the server behind https://hub.u-wave.net, by default.

License

MIT

Current Tags

  • 0.4.0                                ...           latest (5 months ago)

6 Versions

  • 0.4.0                                ...           5 months ago
  • 0.3.0                                ...           2 years ago
  • 0.2.2                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 3
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |