AtlatestRepositorytube
1
;;; tube - Video platform management CLI and MCP server2
;;;3
;;; Manage YouTube and Twitch from one interface — video uploads,4
;;; metadata editing, analytics, stream scheduling, and chat.5
;;; Usable as a CLI and as an MCP server for AI-assisted content ops.7
(define sigil-repo "codeberg:sigil/sigil#v0.8.0")8
(define youtube-repo "codeberg:sigil/sigil-youtube")9
(define twitch-repo "codeberg:sigil/sigil-twitch")10
(define oauth-repo "codeberg:sigil/sigil-oauth")12
(package13
name: "tube"14
version: "0.1.0"15
description: "Video platform management CLI and MCP server"16
url: "https://codeberg.org/sigil/tube"17
license: "BSD-3-Clause"18
authors: (list "David Wilson <[email protected]>")20
entry: '(tube main)21
bundle-name: "tube"23
configs: (list24
(config25
name: 'dev26
output-dir: "build/dev"27
debug?: #t28
optimize: 029
bundle?: #t)30
(config31
name: 'release32
output-dir: "build/release"33
debug?: #f34
optimize: 235
bundle?: #t))37
provides: (list38
mcp-server: #{ name: "tube"39
args: #["serve"]40
secret-env: #{ YOUTUBE_ACCESS_TOKEN: #t41
YOUTUBE_CLIENT_ID: #t42
YOUTUBE_CLIENT_SECRET: #t43
TWITCH_CLIENT_ID: #t44
TWITCH_CLIENT_SECRET: #t45
TWITCH_ACCESS_TOKEN: #t } })47
dependencies: (list48
(from-git url: sigil-repo package: "sigil-run")49
(from-git url: sigil-repo package: "sigil-stdlib")50
(from-git url: sigil-repo package: "sigil-tls")51
(from-git url: sigil-repo package: "sigil-http")52
(from-git url: sigil-repo package: "sigil-json")53
(from-git url: sigil-repo package: "sigil-mcp")54
(from-git url: sigil-repo package: "sigil-log")55
(from-git url: sigil-repo package: "sigil-args")56
(from-git url: youtube-repo package: "sigil-youtube")57
(from-git url: twitch-repo package: "sigil-twitch")58
(from-git url: oauth-repo package: "sigil-oauth"))60
tasks: (list61
(task62
name: 'build63
description: "Compile tube modules"64
steps: (list65
(compile-sigil-modules sources: "src/**/*.sgl"66
output-dir: (config-output-subdir "lib"))))))