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
sigil: "0.20"16
description: "Video platform management CLI and MCP server"17
url: "https://codeberg.org/sigil/tube"18
license: "BSD-3-Clause"19
authors: (list "David Wilson <[email protected]>")21
entry: '(tube main)22
bundle-name: "tube"24
configs: (list25
(config26
name: 'dev27
output-dir: "build/dev"28
debug?: #t29
optimize: 030
bundle?: #t)31
(config32
name: 'release33
output-dir: "build/release"34
debug?: #f35
optimize: 236
bundle?: #t))38
provides: (list39
mcp-server: #{ name: "tube"40
args: #["serve"]41
secret-env: #{ YOUTUBE_ACCESS_TOKEN: #t42
YOUTUBE_CLIENT_ID: #t43
YOUTUBE_CLIENT_SECRET: #t44
TWITCH_CLIENT_ID: #t45
TWITCH_CLIENT_SECRET: #t46
TWITCH_ACCESS_TOKEN: #t } })48
dependencies: (list49
(from-git url: sigil-repo package: "sigil-run" version: ">=0.21")50
(from-git url: sigil-repo package: "sigil-stdlib" version: ">=0.21")51
(from-git url: "codeberg:sigil/sigil-tls" version: "^0.16")52
(from-git url: "codeberg:sigil/sigil-http" version: "^0.18")53
(from-git url: "codeberg:sigil/sigil-json" version: "^0.16")54
(from-git url: "codeberg:sigil/sigil-mcp" version: "^0.17")55
(from-git url: "codeberg:sigil/sigil-log" version: "^0.17")56
(from-git url: sigil-repo package: "sigil-args" version: ">=0.21")57
(from-git url: youtube-repo version: "^0.9")58
(from-git url: twitch-repo version: "^0.1")59
(from-git url: oauth-repo version: "^0.9")60
;; (sigil env) is imported by the test suite. It resolved ambiently on a61
;; developer machine and NOT in a delivered CI tree, so the first CI run62
;; failed with "library not found: (sigil env)" while the local suite was63
;; green. Declared explicitly so both agree.64
(from-git url: sigil-repo package: "sigil-env" version: ">=0.21"))66
dev-dependencies: (list67
(from-git url: sigil-repo package: "sigil-test" version: ">=0.21")68
(from-git url: sigil-repo package: "sigil-test-runner" version: ">=0.21"))70
tasks: (list71
(task72
name: 'build73
description: "Compile tube modules"74
steps: (list75
(compile-sigil-modules sources: "src/**/*.sgl"76
output-dir: (config-output-subdir "lib"))))))