Awesome
Wechaty Puppet Gitter
Gitter is an open-source instant messaging and chat room system for developers and users of GitLab and GitHub repositories.
‐ WikiPedia
Wechaty Puppet for Gitter: https://gitter.im
Feature
- Receive and send text messages in Gitter.im rooms.
USAGE
The wechaty-puppet-gitter
needs a TOKEN and only one token from gitter so that it can connect to the gitter.im service.
Learn more about the TOKEN from gitter.im at https://developer.gitter.im/apps
You can pass the token to this puppet by putting it into options
, or by setting the environment variable WECHATY_PUPPET_GITTER_TOKEN
.
Puppet Gitter
import { Wechaty } from 'wechaty'
import { PuppetGitter } from 'wechaty-puppet-gitter'
/**
* Personal Access Token: this token can be used to access the Gitter API.
* https://developer.gitter.im/apps
*/
const puppet = new PuppetGitter({ token: 'your_gitter_token' })
const wechaty = new Wechaty({ puppet })
await wechaty.start()
Environment Variable: WECHATY_PUPPET_GITTER_TOKEN
The wechaty-puppet-gitter
will search the environment variable named WECHATY_PUPPET_GITTER_TOKEN
to get the token if you do not set it in the options
.
Resources
GitHub Projects
- IRC ⚡ Gitter, https://irc.gitter.im
- Bot that synchronises messages from gitter and irc
- Add a Integration feature for IRC (two-way sync between gitter room and a designated IRC channel)
- Slack API: Enabling interactions with bots
- Matrix <-> Gitter bridge
HISTORY
master v1.0 Release
Release v1.0
- v0.7 (Oct 2021): Upgrade to Puppet v0.51 API
- v0.5 (Sep 2021): ES Modules support
v0.4 (Aug 27, 2020)
- Support send/receive image (#2)
v0.2 (Aug 21, 2020)
Initial version.
PuppetGitter
is a Gitter Puppet for https://gitter.im
AUTHOR
<!-- markdownlint-disable MD033 --> <a href="https://stackexchange.com/users/265499"> <img src="https://stackexchange.com/users/flair/265499.png" width="208" height="58" alt="profile for zixia on Stack Exchange, a network of free, community-driven Q&A sites" title="profile for zixia on Stack Exchange, a network of free, community-driven Q&A sites"> </a>COPYRIGHT & LICENSE
- Code & Docs © 2020-now Huan LI <zixia@zixia.net>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons