Tactical Media Broadcast Hub — initial release
Self-hosted multi-platform broadcast newsroom for activist collectives: publishing pipeline with group approval and DST-proof scheduling, TweetDeck-style column wall with hostile-content-safe rendering, live control room with Auto Director, bridged chat governance with polls and quorum, distributed sandboxed transcode workers, encrypted content-addressed archive, monthly analytics. MIT licensed. See README.md and docs/.
This commit is contained in:
commit
aa5e262f3a
880 changed files with 111042 additions and 0 deletions
11
apps/web/scripts/control-room-register.cjs
Normal file
11
apps/web/scripts/control-room-register.cjs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// Existing TypeScript compiler only; node:test remains the test runner. No runtime dependency.
|
||||
const ts = require("typescript");
|
||||
const fs = require("node:fs");
|
||||
function compile(module, filename) {
|
||||
const result = ts.transpileModule(fs.readFileSync(filename, "utf8"), {
|
||||
compilerOptions: { module: ts.ModuleKind.CommonJS, target: ts.ScriptTarget.ES2022, jsx: ts.JsxEmit.ReactJSX, esModuleInterop: true }, fileName: filename,
|
||||
});
|
||||
module._compile(result.outputText, filename);
|
||||
}
|
||||
require.extensions[".ts"] = compile;
|
||||
require.extensions[".tsx"] = compile;
|
||||
Loading…
Add table
Add a link
Reference in a new issue