Coder Social home page Coder Social logo

follow-the-vine-to-get-to-the-melon / bilibili_blacklist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harrynull/bilibili_blacklist

0.0 0.0 0.0 2.6 MB

A website to share and manage their bilibili danmaku blacklist.

Home Page: https://harrynull.tech/bilibili/

License: MIT License

JavaScript 8.09% HTML 1.89% Python 0.41% TypeScript 20.78% CSS 0.49% Dockerfile 0.64% EJS 67.70%

bilibili_blacklist's Introduction

Bilibili 屏蔽词分享平台

ss.png

Travis branch dependencies license

这是一个可以用来分享、管理您在Bilibili设置的弹幕屏蔽词的网站。

请注意:这并不是Bilibili的官方网站/项目,与Bilibili官方无关。

演示站:http://harrynull.tech/bilibili/

为什么要做这个

Bilibili的弹幕环境是众所周知的不尽人意,而其自带的弹幕屏蔽系统虽然支持正则,但是普通用户难以编写,虽然网上已经有类似的屏蔽词列表,如Bilibili-Block-Listbili_blocklistbilibili-ban-list等,但是由于每个人的接受能力和制作者的主观性,导致一些“误伤”的情况,例如,有的人觉得“233”是烘托气氛的弹幕,有的人觉得是无意义的刷屏弹幕。此外,操作也较为复杂,多需要手动导入xml。于是,我便想制作这样一个平台,可以让用户方便的选择自己需要屏蔽的弹幕的类型,做到按需屏蔽、一键屏蔽,在一定程度上缓解B站弹幕质量问题。

本地搭建

  1. clone源码
  2. npm install
  3. 安装mongodb.
  4. npm run build && node .

从已有网站导入分享数据:

GET /fetch_sharelist 即可获得sharelist数据库的内容。
GET /tags 即可获得tags。

​ 例如:http://harrynull.tech/bilibili/fetch_sharelist。

导入示例:

mongoimport --db bilibili_blacklist --collection sharelist --file fetch_sharelist.json --jsonArray

使用

如果您是普通用户,您可以直接使用上方的演示站。

如果您是开发者,欢迎用上方的方法自行搭建,然后访问http://localhost:8000进行操作。

Docker搭建

  1. 安装好Docker
  2. 本地编译
  3. 下载源码
docker build -t bilibili-blacklist .
  1. 运行
docker run -d --restart=always --name=bilibili-blacklist -p 8000:8000 bilibili-blacklist

原理

原理详见Wiki

建议和BUG

欢迎提出issue

更新

C = Change I = Improve & Optimize R = Remove N = New F = Fix

更新内容 (2017/7/23):

  1. [I] 改进了UI
  2. [N] 管理员删除后台
  3. [F] issue #1
  4. [N] 屏蔽词误伤安全级别
  5. [N] 投票系统
  6. [N] Tags
  7. [N] 筛选&排序

更新内容 (2017/7/14):

  1. [R] 制作屏蔽列表中移除了『用户』选项,同时移除已有屏蔽列表中的『用户』屏蔽项。
  2. [F] 屏蔽列表不允许重复,同时移除已有屏蔽列表中的重复项。
  3. [I] 查看详细的时候不会重复下载已有数据。
  4. [I] 改进了一些UI。
    1. 现在不会显示空的简介框。
  5. [F] 不允许空评论,原有的空评论会被隐藏。
  6. [I] 添加屏蔽词页面现在可以删除屏蔽词了。
  7. [I] 使用typescript重构代码。
  8. [I] 使用ejs重构代码。

许可证

MIT License.

MIT License

Copyright (c) 2017 Null

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

bilibili_blacklist's People

Contributors

harrynull avatar ciring avatar dependabot[bot] avatar gesrua avatar

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.