MCPcopy
hub / github.com/jabbany/CommentCoreLibrary

github.com/jabbany/CommentCoreLibrary @0.11.1 sqlite

repository ↗ · DeepWiki ↗ · release 0.11.1 ↗
902 symbols 1,692 edges 92 files 108 documented · 12%
README

弹幕核心通用构件 CommentCoreLibrary

NPM version Bower version Built with Grunt License Build Status: Linux Coverage Status

其它语言: English

弹幕核心通用构件是一套基于JavaScript构建的弹幕控制器,意在催化HTML5下弹幕播放器的发展。同时方便 希望了解弹幕播放器运作原理的开发者,提供简单但是深入的入门。开发者们可以根据弹幕核心通用构件来自定义 自己的流媒体注释播放模式。

不管你在开发基于Javascript的Web服务,还是其他的需要弹幕播放功能服务,都可以参考弹幕核心 的实现代码。我们以简单的方法构建了 (1) 时间轴管理 (2) 基础空间规划 (3) 弹幕过滤 (4) 高级弹幕效果 (5) 基础格式解析 (6) 代码弹幕支持。

测试

你可以在这里 访问到测试页面。 我们欢迎各种BUG报告

许可

本项目采取非常宽松的MIT许可。该许可允许你把本项目运用在任何开源或是闭源的,非营利或商业性的项目中。 您只需在使用到的地方添加下面一行注释:

CommentCoreLibrary (//github.com/jabbany/CommentCoreLibrary) - Licensed under the MIT license

使用

  • 有关本项目的文档 可以在 docs/ 文件夹里面找到。
  • 一些实验性模块在 experimental/ 里。
  • 测试数据在 test/ 里。

做出贡献

非常欢迎提交问题报告和意见建议,同时你也可以在GitHub上Fork本工程,并发送Pull请求来提交 你对项目的贡献。我们非常欢迎二次开发哟!有关具体介绍请参考 CONTRIBUTING

我们欢迎对项目任何细节处的针对性研发,尤其比如:解析功能、高级弹幕/代码弹幕和CSS优化等。 如果希望研发播放器的构造和功能,请参考姊妹项目 ABPlayerHTML5。

Extension points exported contracts — how you extend this code

IScriptingContext (Interface)
(no doc) [7 implementers]
src/scripting/host/IScripter.ts
ISpaceAllocator (Interface)
(no doc) [2 implementers]
src/core/CommentSpaceAllocator.ts
IMotionManager (Interface)
(no doc) [8 implementers]
src/scripting/api/Runtime/ScriptManager.ts
IBinArray (Interface)
* Definintions for binary array tools
src/core/Core.d.ts
ISerializable (Interface)
(no doc) [27 implementers]
src/scripting/api/Display/ISerializable.ts
CCLOptions (Interface)
* Options for CommentCoreLibrary
src/core/Core.d.ts
IComment (Interface)
(no doc) [5 implementers]
src/scripting/api/Display/IComment.ts
ICommentManager (Interface)
(no doc) [2 implementers]
src/core/Core.d.ts

Core symbols most depended-on inside this repo

hasOwnProperty
called by 98
src/scripting/api/Display/DisplayObject.ts
$
called by 76
demo/tutorial/main.js
addEventListener
called by 62
src/scripting/host/IScripter.ts
log
called by 31
src/scripting/host/IScripter.ts
$
called by 31
demo/scripting/sandbox.js
bind
called by 29
src/core/CommentFactory.ts
error
called by 26
src/scripting/host/IScripter.ts
propertyUpdate
called by 20
src/scripting/api/Display/DisplayObject.ts

Shape

Method 544
Function 180
Class 140
Interface 38

Languages

TypeScript100%

Modules by API surface

src/scripting/api/Display/DisplayObject.ts83 symbols
src/scripting/api/Display/Matrix.ts59 symbols
src/scripting/api/Display/Bitmap.ts38 symbols
src/scripting/api/Runtime/Runtime.ts32 symbols
src/core/Comment.ts32 symbols
src/scripting/api/Runtime/Timer.ts31 symbols
src/scripting/api/Display/Filter.ts28 symbols
src/scripting/api/Tween/Tween.ts26 symbols
src/scripting/host/ScriptingContext.ts25 symbols
src/scripting/host/Unpacker/Shape.ts23 symbols
src/scripting/api/Runtime/ScriptManager.ts22 symbols
src/scripting/api/Display/TextField.ts22 symbols

Dependencies from manifests, versioned

coveralls3.0.3 · 1×
grunt1.0.4 · 1×
grunt-autoprefixer3.0.4 · 1×
grunt-contrib-clean2.0.0 · 1×
grunt-contrib-coffee2.1.0 · 1×
grunt-contrib-concat1.0.1 · 1×
grunt-contrib-copy1.0.0 · 1×
grunt-contrib-cssmin3.0.0 · 1×
grunt-contrib-jasmine2.0.3 · 1×
grunt-contrib-jshint2.1.0 · 1×
grunt-contrib-uglify4.0.1 · 1×

For agents

$ claude mcp add CommentCoreLibrary \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact