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

重构了后端,支持/textinput接口输入文字,支持对bilibili弹幕的读取,支持live2d模型说话时晃动 #43

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

Y0oMu
Copy link
Contributor

@Y0oMu Y0oMu commented Nov 26, 2024

  1. index.html里面加了关于说话摇晃的判定,通过虚拟鼠标指针在角色附近转来实现的,然后转的幅度现在调了一个感觉还比较稳定的。

  2. main.py和server.py进行了比较大幅度的重构,其实本来没想变那么多的,但确实bug多了就开始让claude帮我猛猛改就变化的多了,以及删了一些参数注释(因为太长了就爆单轮输入上限了就改不动了),麻烦在考虑merge的时候多多包涵😭

  3. 加了一个danmakuAPI的文件夹,里面有读取b站指定直播间弹幕的功能,使用方法是在config里面最末尾加的bilibili参数配置好,然后python danmakuAPI/bilibili_liver.py 就行

@Y0oMu Y0oMu changed the base branch from main to dev November 26, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant