videohub-queue
Skill183 starsChanged 6 days agoMITView on GitHub
管理 VideoHub 的闲时队列和本地 API。适用于 Chrome 插件、队列查看、添加任务、清空任务和调整闲时时间窗口。
- Sends data out
In this repository11 other files it gives its agents.
- browser-useSkill
- videohub-beat-editorSkill
- videohub-cover-designerSkill
- videohub-douyinSkill
- videohub-ffmpegSkill
- videohub-film-commentarySkill
- videohub-liveSkill
- videohubSkill
- videohub-story-editorSkill
- videohub-subtitlesSkill
- videohub-youtubeSkill
The file
Files
VideoHub Idle Queue
复用 F:/work/VideoHub/src/api_server.py:19 提供的本地 API。
前置条件
必须先启动 GUI:
python main.pyGUI 启动后会拉起本地 Flask API,默认端口 8765。
可用接口
GET /api/healthGET /api/queuePOST /api/queue/addDELETE /api/queue/clearDELETE /api/queue/remove/<task_id>GET /api/settingsPUT /api/settings
示例
curl http://127.0.0.1:8765/api/health
curl http://127.0.0.1:8765/api/queue
curl -X POST http://127.0.0.1:8765/api/queue/add -H "Content-Type: application/json" -d '{"platform":"youtube","url":"https://example.com","title":"sample"}'
curl -X DELETE http://127.0.0.1:8765/api/queue/remove/0
curl -X DELETE http://127.0.0.1:8765/api/queue/clear请求要求
新增任务至少包含:
platformurltitle
当前任务默认值
src/api_server.py会把扩展请求转换成闲时任务,默认生成字幕、嵌入字幕,但translate_to_chinese默认为False。- 如果任务参数里没有
target_language,后端 worker 会使用默认zh-CN。 - 如需非中文字幕翻译,应在调用链中显式传入
target_language(例如ja、ko、ru)。
注意
- 这个 skill 不是独立后端,它依赖正在运行的 GUI 状态。
- 队列实际执行仍由
main.py中的 idle queue 定时逻辑负责。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

