Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wangjiezhe/hexo-next-discussbot
DiscussBot comment system for NexT.
https://github.com/wangjiezhe/hexo-next-discussbot
Last synced: about 1 month ago
JSON representation
DiscussBot comment system for NexT.
- Host: GitHub
- URL: https://github.com/wangjiezhe/hexo-next-discussbot
- Owner: wangjiezhe
- License: lgpl-3.0
- Created: 2019-12-13T17:50:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T15:03:19.000Z (8 months ago)
- Last Synced: 2024-04-18T10:22:20.042Z (8 months ago)
- Language: Nunjucks
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-next - hexo-next-discussbot
README
# Hexo NexT DiscussBot
![Theme Version](https://img.shields.io/badge/NexT-v8.4.0+-blue?style=flat-square)
![Package Version](https://img.shields.io/github/package-json/v/wangjiezhe/hexo-next-discussbot?style=flat-square)
![npm](https://img.shields.io/npm/v/hexo-next-discussbot?style=flat-square)
![License](https://img.shields.io/github/license/wangjiezhe/hexo-next-discussbot?style=flat-square)DiscussBot comment system for NexT.
## Preview
![image](https://i.loli.net/2019/12/14/8thYSXx9cdWv5L7.png)
## Install
```bash
npm install hexo-next-discussbot
```or
```bash
yarn add hexo-next-discussbot
```## Configure
You can config those in both **hexo** or **theme** `_config.yml`
```yaml
# DiscussBot
# You can get your siteid from https://comments.app/
# Demo: https://comments.app/view/FLRGs2N1
discussbot:
enable: false
site_id: # get from comments.app
# number: comments showed per page
number: 5
# color: use HEX number for accent color
color: 3DA0F0
# colorful: 0 or 1, use different colors for names
colorful: 0
# dark: 0 or 1, use dark theme
dark: 0
# dislike: 0 or 1, show only likes, or show both like and dislikes
dislikes: 0
# outlined: 0 or 1, use filled icon or outlined icon
outlined: 0
```## Known issues:
- Not compatible with pjax.
- Comments are linked to the site url exactly.