<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] ## Tinode 簡介 ` `即時消息服務器。純[Go](http://golang.org/)(授權[GPL 3.0](http://www.gnu.org/licenses/gpl-3.0.en.html))的后端,Java,Javascript和Swift的客戶端綁定以及對C ++,C#,Go,Java,Node,PHP,Python,Ruby,Objective-C等的[gRPC](https://grpc.io/)客戶端支持。(許可證[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0))。有線傳輸是通過websocket進行JSON傳輸(也可以進行長時間輪詢)的自定義綁定,或者是帶有gRPC的[protobuf](https://developers.google.com/protocol-buffers/)。持久存儲[RethinkDB](http://rethinkdb.com/),MySQL和MongoDB(實驗性)。還存在第三方不受支持的[DynamoDB適配器](https://github.com/riandyrn/chat/tree/master/server/db/dynamodb)。可以通過編寫自定義適配器來支持其他數據庫。 Tinode*不是*XMPP / Jabber。它與XMPP*不*兼容。它是XMPP的替代品。從表面上看,它很像開源的WhatsApp或Telegram。 ## Tinode Doc [Tinode-server-github](https://github.com/tinode/chat) [Tin-android-github](https://github.com/tinode/tindroid) [Tin-ios-github](https://github.com/tinode/ios) [Tinode server API.md](https://github.com/tinode/chat/blob/master/docs/API.md) ## 使用Docker部署 可以使用docker命令 一鍵安裝 ``` $ docker network create tinode-net \ && docker run --name mysql --network tinode-net --restart always --env MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql:5.7 \ && docker run -p 6060:6060 -d --name tinode-srv --network tinode-net tinode/tinode-mysql:latest ``` ## Ubuntu使用二進制安裝Tinode 參考鏈接:[https://rethinkdb.com/docs/install/](https://rethinkdb.com/docs/install/) 選擇使用rethinkdb,安裝rethinkdb ``` source /etc/lsb-release && echo "deb https://download.rethinkdb.com/repository/ubuntu-$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add - sudo apt-get update sudo apt-get install rethinkdb rethinkdb --bind all --daemon ``` 安裝tinode-rethinkdb ``` wget https://github.com/tinode/chat/releases/download/v0.16.6/tinode-rethinkdb.linux-amd64.tar.gz \ && tar -zxvf tinode-rethinkdb.linux-amd64.tar.gz \ && ./init-db -data=data.json \ && nohup ./tinode -config=tinode.conf -static_data=static & ``` **演示站點**: [http://192.168.84.241:6060/](http://192.168.84.241:6060/) **測試賬號**: | 賬號 | 密碼 | | --- | --- | | alice | alice123 | | bob | bob123 | | carol | carol123 | | dave | dave123 | | frank | frank123 | ## 項目截圖 ## [安卓系統](https://github.com/tinode/tindroid/) ![](https://github.com/tinode/chat/raw/master/docs/android-contacts.png) ![](https://github.com/tinode/chat/raw/master/docs/android-chat.png) ![](https://github.com/tinode/chat/raw/master/docs/android-account.png) ## [iOS](https://github.com/tinode/ios) ![](https://github.com/tinode/chat/raw/master/docs/ios-contacts.png) ![](https://github.com/tinode/chat/raw/master/docs/ios-chat.png) ![](https://github.com/tinode/chat/raw/master/docs/ios-acc-personal.png) ## [桌面網站](https://github.com/tinode/webapp/) ![](https://github.com/tinode/chat/raw/master/docs/web-desktop-2.png) ## 使用的技術 - go - mysql - mongodb ## 主要功能 * 多種平臺: * [安卓系統](https://github.com/tinode/tindroid/) * [iOS](https://github.com/tinode/ios) * [web](https://github.com/tinode/webapp/) * 可編寫腳本的[命令行](https://github.com/tinode/chat/blob/master/tn-cli) * 一對一的消息傳遞。 * 群組消息傳遞,每個成員的訪問權限均單獨管理。成員的最大數量是可配置的(默認為128)。 * 帶故障轉移的分片群集。 * 具有各種操作權限的靈活訪問控制。 * 服務器為人員,小組對話生成的狀態通知。 * 支持自定義身份驗證后端。 * 各種編程語言的綁定: * 沒有外部依賴關系的Javascript。 * 依賴[Jackson](https://github.com/FasterXML/jackson)和[Java-Websocket的Java](https://github.com/TooTallNate/Java-WebSocket)。適用于Android,但沒有Android SDK依賴項。 * Swift依賴于[SwiftWebSocket](https://github.com/tidwall/SwiftWebSocket)。 * 使用[gRPC的](https://grpc.io/docs/languages/)C / C ++,C#,Python,PHP,Ruby和其他語言。 * Websocket,長輪詢以及[基于](https://grpc.io/)TCP或Unix套接字的[gRPC](https://grpc.io/)。 * JSON或[protobuf版本3](https://developers.google.com/protocol-buffers/)有線協議。 * 帶有[Letsencrypt](https://letsencrypt.org/)或常規證書的可選內置[TLS](https://en.wikipedia.org/wiki/Transport_Layer_Security)。[](https://letsencrypt.org/) * **用戶搜索/發現。** * 消息的豐富格式,markdown樣式:\* style \*→**style**。 * 內聯圖像和文件附件。 * 適用于聊天機器人的表單和模板化響應。 * 消息狀態通知:消息傳遞到服務器;接收和閱讀通知;鍵入通知。 * 支持客戶端數據緩存。 * 能夠阻止服務器端不必要的通信。 * 匿名用戶(對于與聊天中的技術支持有關的用例很重要)。 * 使用[FCM](https://firebase.google.com/docs/cloud-messaging/)或[TNPG](https://github.com/tinode/chat/blob/master/server/push/tnpg)推送通知。 * 使用本地文件系統或Amazon S3對大對象(例如視頻文件)進行存儲和帶外傳輸。 * 擴展功能的插件,例如,啟用聊天機器人。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看