Code Monkey home page Code Monkey logo

Comments (5)

xfgryujk avatar xfgryujk commented on August 23, 2024
  1. 这个功能bilichat很早就有了,但是和blivechat定位不符所以一直没加
  2. 如果要加,不好配置,用户理解起来困难。图床怎么选,如果允许用户上传图片会不会被滥用。配置塞到URL里会不会过长

from blivechat.

eric2788 avatar eric2788 commented on August 23, 2024

关于滥用问题,首先是建议仅限主播上传,而且有数量限制,并且是每位主播的表情包库分开,本地储存位置也有很多种方式
如果担心图床问题,可以采用base64方式储存,也是采用本地存储

当然这些功能只能说是锦上添花,优先度低于主要功能也是正常的。

from blivechat.

xfgryujk avatar xfgryujk commented on August 23, 2024
  1. 根本没办法判断当前用户是不是主播
  2. 如果允许上传图片是不是可以把我的硬盘塞满

from blivechat.

eric2788 avatar eric2788 commented on August 23, 2024

等等,我是不是误会了什么
不是主播开exe来使用web app吗?
然后再捕获弹幕姬元素
为啥会分不清楚用户和主播

如果不是的话那抱歉我可能误会了

from blivechat.

eric2788 avatar eric2788 commented on August 23, 2024

啊,原来你说的是公共的
公共的话确实不行,我这边说的是私人的

公共的话只能透过bilibili的auth api去获取uid然后再透过一些条件判断是否为主播,例如签约与否/粉丝数
而透过auth api则需要输入密码,确实是有风险

from blivechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.