Commit85fe8707Recorded25 Mar 2026Repositorytube
Initial package scaffolding
Changed
dev-redirects.sgl | 12 ++++++++++++
package.sgl | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)Diff
dev-redirects.sgladded
@@ -0,0 +1,12 @@
+1
;; Development redirects — point dependencies at local checkouts+2
(redirects+3
repos: (list+4
(for-repo+5
url: "codeberg:sigil/sigil"+6
use: (from-path dir: "../sigil"))+7
(for-repo+8
url: "codeberg:sigil/sigil-youtube"+9
use: (from-path dir: "../sigil-youtube"))+10
(for-repo+11
url: "codeberg:sigil/sigil-twitch"+12
use: (from-path dir: "../sigil-twitch"))))package.sgladded
@@ -0,0 +1,62 @@
+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")+8
(define youtube-repo "codeberg:sigil/sigil-youtube")+9
(define twitch-repo "codeberg:sigil/sigil-twitch")+10
+11
(package+12
name: "tube"+13
version: "0.1.0"+14
description: "Video platform management CLI and MCP server"+15
url: "https://codeberg.org/sigil/tube"+16
license: "BSD-3-Clause"+17
authors: (list "David Wilson <[email protected]>")+18
+19
entry: '(tube main)+20
bundle-name: "tube"+21
+22
configs: (list+23
(config+24
name: 'dev+25
output-dir: "build/dev"+26
debug?: #t+27
optimize: 0+28
bundle?: #t)+29
(config+30
name: 'release+31
output-dir: "build/release"+32
static?: #t+33
debug?: #f+34
optimize: 2+35
bundle?: #t))+36
+37
provides: (list+38
mcp-server: #{ name: "tube"+39
args: #["serve"]+40
secret-env: #{ YOUTUBE_ACCESS_TOKEN: #t+41
TWITCH_CLIENT_ID: #t+42
TWITCH_ACCESS_TOKEN: #t } })+43
+44
dependencies: (list+45
(from-git url: sigil-repo package: "sigil-run")+46
(from-git url: sigil-repo package: "sigil-stdlib")+47
(from-git url: sigil-repo package: "sigil-tls")+48
(from-git url: sigil-repo package: "sigil-http")+49
(from-git url: sigil-repo package: "sigil-json")+50
(from-git url: sigil-repo package: "sigil-mcp")+51
(from-git url: sigil-repo package: "sigil-log")+52
(from-git url: sigil-repo package: "sigil-args")+53
(from-git url: youtube-repo package: "sigil-youtube")+54
(from-git url: twitch-repo package: "sigil-twitch"))+55
+56
tasks: (list+57
(task+58
name: 'build+59
description: "Compile tube modules"+60
steps: (list+61
(compile-sigil-modules sources: "src/**/*.sgl"+62
output-dir: (config-output-subdir "lib"))))))