生態系統
大約 2 分鐘...
Waline 是經典的前後端分離 Client/Server 架構,提供了較為完善的 API 介面。你可以基於伺服器提供的 API 自行實作自己的客戶端。
客戶端清單
官方的客戶端實作,使用 Vue + TypeScript 建構。
作者 @MHuiG,適配 Waline 介面。使用方式如下:
<script src="https://unpkg.com/minivaline/dist/MiniValine.min.js"></script> <div id="waline-comments"></div> <script> new MiniValine({ el: '#waline-comments', backend: 'waline', serverURLs: 'YOUR SERVER URL', }); </script>作者 @BeiyanYunyi。使用 Solid.js 建構,使用方式詳見專案頁面與說明文件。
Rust 實作
得益於前後端 API 分離的架構設計,waline-mini 是 Rust 實作的伺服器,非常適合執行在伺服器資源受限的環境上。
Cloudflare Workers 實作
Waline_On_Worker 是使用者基於 Worker 實作的伺服器,彌補了 Waline 無法執行在 Cloudflare Workers 上的不足。
外掛
你可以使用下列外掛來在不同工具上使用 Waline:
Hexo
- @waline/hexo-next: Waline comment system for NexT.
Docsify
- docsify-waline: A simple comment plugin for docsify.
VuePress
- vuepress-plugin-comment2: Comment system for VuePress2.
- @mr-hope/vuepress-plugin-comment: Comment system for VuePress1.
Gatsby
- gatsby-plugin-waline: Comment system plugin for Gatsby.
Others:
- vuepress-plugin-comment-plus: Comment system plugin for VuePress.
主題
Hexo
- 🦋 Butterfly
- 🍬 Kratos-Rebirth
- 🍭 MengD
- ⛲ Fluid
- 🚚 Kaze
- ✌🏻 Volantis
- 🗒 Blank
- 🐴 Stun
- 🤖 Yun
- 🦄 Unicorn
- 💀 freemind.bithack
- 🤡 Redefine
- 🌟 Keep
VuePress
Hugo
更多
我們期待來自社群的更多客戶端與外掛以擴展 Waline 生態。🎉
如果你實作了 Waline 的客戶端、生態外掛與支援 Waline 的主題,歡迎發送 PR!
TIPS: 評論區僅作評論展示,如有問題諮詢請去 Github Discussion 中提問。
