Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update settings.md #74

Open
wants to merge 35 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9ee4628
Dev (#50)
Drew233 Feb 11, 2021
9c32a37
Update links.md (#51)
yanhuacuo Feb 14, 2021
1578d6f
Update links.md (#52)
ukityh Feb 19, 2021
287aa10
Update links.md (#53)
noneless Feb 19, 2021
e0d14cb
Update ci.yml
so1ve Mar 6, 2021
8353e1f
Update links.md (#54)
Yousazoe Mar 8, 2021
6fea21f
Update contact.md
Drew233 Mar 10, 2021
f165b5e
Update links.md
Colsrch Mar 15, 2021
7501375
Update links.md
starrywintersky Mar 20, 2021
7f74541
Merge pull request #55 from Colsrch/patch-4
Drew233 Mar 20, 2021
3078bc4
Merge pull request #56 from starrywintersky/patch-1
Drew233 Mar 20, 2021
d32be9c
Merge pull request #58 from ArtitalkJS/dev
Drew233 Mar 29, 2021
426915a
Update settings.md
Drew233 Mar 29, 2021
83cb31d
Update links.md
heavenly-zy Apr 6, 2021
6e025c9
Merge pull request #59 from heavenly-zy/patch-1
Drew233 Apr 6, 2021
6444c88
Update links.md
xiao015 May 18, 2021
2aef3dc
Merge pull request #60 from xiao015/patch-1
Drew233 May 19, 2021
2670983
Update doc.md
maxchang3 Jul 4, 2021
dff0aa9
Update links.md
Admsec Aug 5, 2021
d530479
Merge pull request #61 from MaxChang3/patch-1
Drew233 Aug 9, 2021
b37faa3
Merge pull request #62 from jfictory/patch-1
Drew233 Aug 9, 2021
6419b43
上传文件类型调整
penndu Sep 11, 2021
b9621fa
Update links.md
fmkli Oct 4, 2021
6b2527f
feat: add 洛竹的博客
Nov 20, 2021
92765ac
Update links.md
ukityh Jan 21, 2022
00eaf2d
Merge pull request #65 from fmkli/patch-1
Drew233 Feb 20, 2022
067cbde
Merge pull request #66 from youngjuning/patch-1
Drew233 Feb 20, 2022
d35d705
Merge pull request #67 from ukityh/patch-4
Drew233 Feb 20, 2022
0046212
Merge pull request #64 from penndu/patch-1
Drew233 Feb 20, 2022
3d09d13
Update release.md
Drew233 Feb 20, 2022
be64454
Update contact.md
Drew233 Feb 20, 2022
7dd3f69
Add files via upload
Drew233 Mar 17, 2022
bf423bc
[update]版本更新
Drew233 May 21, 2022
53163b9
Update README.md
Drew233 May 21, 2022
370aebc
Update settings.md
Tomortec Jul 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: npm install -g vuepress

- name: Install Dependencies
run: npm install
run: npm ci

- name: Generate Static Files
run: npm run docs:build
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
head: [
['link', { rel: 'shortcut icon', type: "image/x-icon", href: `https://cdn.jsdelivr.net/gh/drew233/cdn/atico.png` }],
['script', { data_ad_client: "ca-pub-9420537843748923", async: true, src: "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" }],
['script', { src: "https://cdn.jsdelivr.net/npm/artitalk" }],
['script', { src: "https://unpkg.com/artitalk" }],
],
output: {
globalObject: 'this'
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
home: true
heroImage: https://cdn.jsdelivr.net/gh/drew233/cdn/logol.png
heroImage: https://s1.ax1x.com/2022/05/22/OvT2X4.png
actionText: 使用文档 →
actionLink: /doc/
features:
Expand Down
19 changes: 12 additions & 7 deletions docs/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,25 @@ QQ 邮箱:[email protected]
## 捐赠

如果觉得本项目对你有帮助,并且愿意鼓励我,欢迎打赏~谢谢你的支持
打赏的时候请进行备注“Artitalk”

| 支付宝 | 微信 |
| ---- | ---- |
| <img width="135" src="https://cdn.jsdelivr.net/gh/drew233/cdn/zhifupay.jpg"> | <img width="135" src="https://cdn.jsdelivr.net/gh/drew233/cdn/weixinpay.png"> |

打赏列表
打赏列表,感谢下列小伙伴的支持
| 昵称 | 金额 | 留言 |
| ---- | ---- | ---- |
| *疚 | 8.88 | 加油,artitalk! |
| *哼 | 6.66 | 感谢artitalk~,很好用 |
| Ayan | 6.66 | AT.nb! |
| *禾 | 8.88 | 聊表心意,大佬加油! |
| *L | 8.88 | 加油,artitalk! |
| Georgel | 66.6 | 加油,artitalk! |

如果有小伙伴准备打赏,可以在备注中写上自己想对artitalk或者artitalk开发者说的一句话(当然也可以是自己的博客链接等)

| 支付宝 | 微信 |
| ---- | ---- |
| <img width="135" src="https://cdn.jsdelivr.net/gh/drew233/cdn/zhifupay.jpg"> | <img width="135" src="https://cdn.jsdelivr.net/gh/drew233/cdn/weixinpay.png"> |


如果你对本项目感兴趣并且有心一起完善功能的,欢迎pr~
如果你对本项目感兴趣并且有心一起完善功能的,欢迎pr或提出issue

## 👍 特别鸣谢

Expand Down
2 changes: 1 addition & 1 deletion docs/demo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
home: true
heroImage: https://cdn.jsdelivr.net/gh/drew233/cdn/logol.png
heroImage: https://s1.ax1x.com/2022/05/22/OvT2X4.png
title: 示例页面
---

Expand Down
4 changes: 2 additions & 2 deletions docs/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ GitHub 仓库:[Artitalk.js](https://github.com/ArtitalkJS/Artitalk)
6. 然后新建一个名为`atComment`的class,权限什么的使用默认的即可。
7. 点击 `class` 下的 `_User` 添加列,列名称为 `img`,默认值填上你这个账号想要用的发布说说的头像url,这一项不进行配置,说说头像会显示为默认头像 —— Artitalk 的 logo。
8. 在最菜单栏中找到设置-> 应用 keys,记下来 `AppID` 和 `AppKey` ,一会会用。
9. 最后将 `_User` 中的权限全部调为指定用户,或者数据创建者,为了保证不被篡改用户数据已达到强制发布说说
9. 最后将 `_User` 中的权限全部调为指定用户,或者数据创建者,为了保证不被篡改用户数据以达到强制发布说说

:::danger ❗ 关于设置权限的这几步
这几步一定要设置好,才可以保证不被 “闲人” 破解发布说说的验证
Expand Down Expand Up @@ -248,7 +248,7 @@ export default {
<script type="text/javascript" src="https://unpkg.com/artitalk@版本号/artitalk.js"></script>
```

### 🕸 JsDelivr
### 🕸 JsDelivr(国内无法使用!!!)

#### ⭐ 获取最新

Expand Down
15 changes: 12 additions & 3 deletions docs/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar: auto

| 博主 | 链接 | 框架 |主题 |
| ---- | ---- | ---- | ---- |
| Colsrch | [主创说](https://colsrch.cn/Creator-said/) | Hexo | [Volantis](https://github.com/volantis-x/hexo-theme-volantis) |
| Colsrch | [闲言碎语](https://colsrch.cn/shuoshuo/) | Hexo | [Volantis](https://github.com/volantis-x/hexo-theme-volantis) |
| Flexiston | [说说](https://blog.flesx.cn/say/) | Hexo | [Cards](https://github.com/ChrAlpha/hexo-theme-cards) |
| Ray | [闲言碎语](https://raycoder.me/shuoshuo/) | Hugo | [Tony](https://github.com/ThemeTony/hugo-theme-tony) |
| 笨蛋海绵 | [唠嗑](https://qzkyl.ml/shuoshuo/) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |
Expand All @@ -21,15 +21,24 @@ sidebar: auto
| 杜老师说 | [说说](https://dusays.com/shuoshuo/) | Hexo | [Volantis](https://github.com/penndu/hexo-theme-volantis) |
| Lete乐特 | [唠叨唠叨](https://yilia.lete114.top/say/) | Hexo | [Yilia-Pro](https://github.com/lete114/hexo-theme-yilia-pro) |
| Small-Rose | [说说](https://notes.zhangxiaocai.cn/artitalk/) | Hexo | [Matery](https://github.com/blinkfox/hexo-theme-matery) |
| Uki-HG | [说说](https://ishya.top/say/) | Hexo | [Next]() |
| Uki-HG | [说说](https://ishya.top/) | - | - |
| 凡尘纪 | [说说](https://hesifan.top/artitalk/) | Hexo | [Matery](https://github.com/blinkfox/hexo-theme-matery) |
| FMKLI | [说说](https://blog.fmkli.ga/say) | Hexo | [stun](https://github.com/liuyib/hexo-theme-stun/) |
| FMKLI的瞎写博客 | [Say](https://fmkli.js.org/blog/say/) | Jekyll | [Minima](https://github.com/jekyll/minima) |
| Ender's Blog | [说说](https://code004accepted.github.io/shuoshuo/) | Hexo | [Volantis](https://github.com/volantis-x/hexo-theme-volantis) |
| Qingxu | [说说](https://blog.qingxu.live/talk/) | Hugo | [hello-friend](https://github.com/panr/hugo-theme-hello-friend) |
| YFun's Blog | [说说](https://www.yfun.top/talk/) | Hexo | [fluid](https://github.com/fluid-dev/hexo-theme-fluid) |
| Weidows | [⭐ 陈茶酱醋 ⭐](https://weidows.github.io/artitalk/older_artitalk) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |
| Langkye | [说说](https://langkye.gitee.io/shuoshuo/) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |
| Ariescat | [哔哔](https://ariescat.top/bibi/) | Jekyll | [Hux](https://github.com/Huxpro/huxpro.github.io) |
| 五笔小筑 | [说说](https://wubi98.gitee.io/artitalk/) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |
| CCAI | [Twitter](https://iccai.tk/twitter/) | Hexo | [Magnetic](https://github.com/klugjo/hexo-theme-magnetic/) |
| Fl0w3r | [Artitalk](https://yousazoe.top/artitalk/) | Hexo | [NexT](https://github.com/theme-next/hexo-theme-next/) |
| starrywintersky | [说说](http://wintersky.xyz/shuoshuo/) | Hexo | [NexT](https://github.com/theme-next/hexo-theme-next/) |
| starrywintersky | [备忘录](http://wintersky.xyz/privatenotes/) | Hexo | [NexT](https://github.com/theme-next/hexo-theme-next/) |
| ClariS | [说说](https://silkyheart.moe/talk/) | Hexo | [Shoka](https://github.com/amehime/hexo-theme-shoka) |
| Dongzhi.| [自言自语](https://xiaocq.top/artitalk/) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |
| Jason | [说说&日常](https://fictory.cn/artitalk/) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |
| 洛竹的博客 | [说说](https://youngjuning.js.org/talk/) | Hexo | [Butterfly](https://github.com/jerryc127/hexo-theme-butterfly) |

## 如何加入成功案例

Expand Down
17 changes: 12 additions & 5 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
title: 更新日志
sidebar: auto
---

### 👍 `2022/05/22`
* `3.3`

* 解决由于jsdelivr失效带来的artitalk失效,改用unpkg

### 👍 `2021.02.11`
* `3.2.2`

* 无需手动引入`av-min.js`,加入检测,如果没有加载再加载
* 重新添加上传图片(视频)的功能。感谢[杜老师](https://dusays.com/)以及[去不图床](https://7bu.top/)的大力支持,Respect🙏!
* 重新添加上传图片的功能。感谢[杜老师](https://dusays.com/)以及[去不图床](https://7bu.top/)的大力支持,Respect🙏!
* 一些已知bug的修复
* 关于图片上传,现在给出两种方案
1. 什么都不管,默认匿名游客上传至去不图床
Expand All @@ -15,11 +21,12 @@ sidebar: auto

### 👍 `2020.11.27`
* `3.2.0`
因为图床策略更改,上传图片的功能暂停

* 重新添加上传图片(视频)的功能。感谢[杜老师](https://dusays.com/)以及[去不图床](https://7bu.top/)的大力支持,Respect🙏!
* 关于图片(视频)的上传
1. 大小限制为50M
2. 支持格式`jpg,jpeg,gif,png,ico,mp4,mov,svg`
* 重新添加上传图片的功能。感谢[杜老师](https://dusays.com/)以及[去不图床](https://7bu.top/)的大力支持,Respect🙏!
* 关于图片的上传
1. 大小限制为10M
2. 支持格式`jpg,png,webp,bmp,jpeg,gif`
3. 不可上传违反中国大陆和香港法律的图片以及色情图片!

### 👍 `2020.9.13~2020.11.24`
Expand Down
48 changes: 46 additions & 2 deletions docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,36 @@ JS 自带三套表情包(贴吧,bilibili小电视,QQ),分四页,最
* 可选项:0(关闭),1(开启)
* 参数类型: `Boolean`

### 📌blackAndWhiteTheme

* 功能:黑白色主题(类似于 [LeoLoveDairy](https://leolovedairy.life/ltalk/) 的风格)
* 默认值:0(关闭)
* 可选项:0(关闭),1(开启)
* 参数类型: `Boolean`

### 📌onLogin

* 功能:登录成功后的回调
* 默认值:无
* 回调参数:`loggedInUserName: String`(当前用户的名称)
* 参数类型: `function`

### 📌onShuoPublished

* 功能:说说发布成功后的回调
* 可能的使用场景:成功发布说说后通知订阅者、发布成功后添加自定义操作或动画等
* 默认值:无
* 回调参数:`userName: String, shuoshuoContent: String`(发布的用户名称,说说的 Markdown 内容)
* 参数类型: `function`

### 📌onCommentsPublished

* 功能:评论发布成功后的回调
* 可能的使用场景:成功发布评论后通知订阅者、“@” 某用户后向其发送邮件、发布成功后添加自定义操作或动画等
* 默认值:无
* 回调参数:`userName: String, commentsContent: String`(发布的用户名称,评论的 Markdown 内容)
* 参数类型: `function`

## 配置项填写示例

```html
Expand All @@ -141,18 +171,32 @@ JS 自带三套表情包(贴吧,bilibili小电视,QQ),分四页,最
fadai: "https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/fadai.png",
fanu: "https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/fanu.png",
},
onLogin: function(user) {
console.log("Login !");
console.log(`User: ${user}`)
},
onShuoPublished: function(user, content) {
console.log("Shuo Published !");
console.log(`User: ${user}`);
console.log(`Content: ${content}`);
},
onCommentsPublished: function(user, content) {
console.log("Comments Published !");
console.log(`User: ${user}`);
console.log(`Content: ${content}`);
}
})
</script>
```

# Artitalk_SafeMode
## Artitalk_SafeMode

**Artitalk_SafeMode**通过中间件的方式,在中间件替换APPID和APPKEY保护两者,避免两者暴露被刷

使用Artitalk_SafeMode,请在前端随意伪造APPID和APPKEY,然后将serverurl修改为中间件网址即可


## 👍CloudFlareWorker
### 👍CloudFlareWorker

CloudFlareWorker针对免费用户提供了每天10w次的调用方式,并且随时能够开启UnderAttack防刷.

Expand Down
1 change: 1 addition & 0 deletions files/baidu_verify_code-jB9x27TVgA.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
98592fb5ac2ffc2ded9df808b1648f15
Loading