AtlatestRepositorytube

tube / treepackage.sgl

1;;; tube - Video platform management CLI and MCP server
2;;;
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.
6
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(package
13 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: (list
24 (config
25 name: 'dev
26 output-dir: "build/dev"
27 debug?: #t
28 optimize: 0
29 bundle?: #t)
30 (config
31 name: 'release
32 output-dir: "build/release"
33 debug?: #f
34 optimize: 2
35 bundle?: #t))
37 provides: (list
38 mcp-server: #{ name: "tube"
39 args: #["serve"]
40 secret-env: #{ YOUTUBE_ACCESS_TOKEN: #t
41 YOUTUBE_CLIENT_ID: #t
42 YOUTUBE_CLIENT_SECRET: #t
43 TWITCH_CLIENT_ID: #t
44 TWITCH_CLIENT_SECRET: #t
45 TWITCH_ACCESS_TOKEN: #t } })
47 dependencies: (list
48 (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: (list
61 (task
62 name: 'build
63 description: "Compile tube modules"
64 steps: (list
65 (compile-sigil-modules sources: "src/**/*.sgl"
66 output-dir: (config-output-subdir "lib"))))))