Coder Social home page Coder Social logo

ghosteric / blivechat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xfgryujk/blivechat

0.0 1.0 0.0 1.44 MB

用于OBS的仿YouTube风格的bilibili直播聊天层

License: MIT License

Dockerfile 0.82% JavaScript 17.37% HTML 0.39% Vue 73.63% Python 7.79%

blivechat's Introduction

blivechat

用于OBS的仿YouTube风格的bilibili直播聊天层

最近喜欢看VTuber,想为此写些程序,于是有了这个东西。写到一半发现有类似项目了:bilibili-live-chatBiliChat 本项目就当做练手吧,而且对YouTube的模仿程度更高

OBS截图
Chrome截图
样式生成器截图

特性

  • 兼容YouTube直播chat的样式
  • 金瓜子礼物模仿Super Chat显示
  • 高亮舰队、房管、主播的用户名
  • 支持屏蔽弹幕、限制最大速度等设置
  • 自带样式生成器

使用方法

发布版

  1. 下载发布版(仅提供x64 Windows版)
  2. 双击blivechat.exe运行服务器,或者用命令行可以指定host和端口号:
    blivechat.exe --host 127.0.0.1 --port 80
  3. 用浏览器打开http://localhost,输入房间ID,保存配置,进入房间,复制房间URL
  4. (可选)用样式生成器生成样式,复制CSS
  5. 在OBS中添加浏览器源,输入URL和自定义CSS,或者可以在首页的样式设置里输入CSS

源代码版

  1. 编译前端(需要安装Node.js和npm):
    cd frontend
    npm i
    npm run build
  2. 运行服务器(需要Python3.6以上版本):
    pip3 install -r requirements.txt
    python3 main.py
    或者可以指定host和端口号:
    python3 main.py --host 127.0.0.1 --port 80
  3. 用浏览器打开http://localhost,输入房间ID,保存配置,进入房间,复制房间URL
  4. (可选)用样式生成器生成样式,复制CSS
  5. 在OBS中添加浏览器源,输入URL和自定义CSS,或者可以在首页的样式设置里输入CSS

Docker

  1. docker run -d -p 80:80 xfgryujk/blivechat:latest
  2. 以下略

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.