Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/james58899/chat-bridge
同步不同聊天平台的訊息
https://github.com/james58899/chat-bridge
chat irc nodejs telegram-bot
Last synced: 24 days ago
JSON representation
同步不同聊天平台的訊息
- Host: GitHub
- URL: https://github.com/james58899/chat-bridge
- Owner: james58899
- License: mit
- Created: 2016-08-22T22:24:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T03:11:05.000Z (over 1 year ago)
- Last Synced: 2024-04-13T22:24:55.680Z (7 months ago)
- Topics: chat, irc, nodejs, telegram-bot
- Language: JavaScript
- Size: 501 KB
- Stars: 15
- Watchers: 5
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chat-bridge [![CodeFactor](https://www.codefactor.io/repository/github/james58899/chat-bridge/badge)](https://www.codefactor.io/repository/github/james58899/chat-bridge)
同步不同聊天平台的訊息# 系統需求
- node.js 7.10.1+
- npm / yarn# 安裝方法
1. `git clone https://github.com/james58899/chat-bridge.git`
2. `cd chat-bridge`
3. `npm install`
4. 更改data資下夾下的設定檔
5. `node index.js`## 設定資訊
### irc.json
* `host` IRC伺服器位置
* `port` IRC伺服器連線port
* `secure` 是否使用SSL連線
* `nick` bot在IRC上的nickname
* `username` bot在IRC上的username
* `realname` bot在IRC上的realname
* `channel` 要加入並轉發的頻道,目前僅支援單一頻道
* `pasteeToken` 設定 paste.ee 的API Token,可留空
* `title` 是否開啟連結標題解析,需要 [node-icu-charset-detector](https://github.com/mooz/node-icu-charset-detector)### telegram.json
* `token` Telegram Bot API Token
* `ChatID` 要轉發的頻道的ID### ignore.json
忽略清單,防止有多個bot時造成loop