TDX COLLAB by Function Store & TheTouchLab
All docs pages
  1. Docs
  2. Quick start
  3. Sessions and roles
  4. Working together
  5. The Collab Zone
  6. Keep Local and local tools
  7. Optional safety
    1. Vanilla: only TouchDesigner's own COMPs
    2. No Scripts: Python stays with whoever wrote it
    3. Review: the host decides
    4. What these do not catch
  8. Classroom
  9. Remote installation
  10. Diagnostics and reports
  11. Parameters
  12. Known issues
  13. Changelog
TDXCollab Docs

Optional safety

A TouchDesigner project runs Python, and a partner's edits run on your machine. Among people who trust each other that is fine. For a workshop, a public jam or a first session with someone new, the host can switch on two rules: one keeps components out, the other holds code back until the host has looked at it. Both are off by default, both are on the Host page of the TDXCollab COMP, and they count for everyone in the session. Partners see which are on in the Status line and the People heading of the TDXCollab window, and the status bar tells them when they join and whenever the host switches one.

Vanilla: only TouchDesigner's own COMPs

No Scripts: Python stays with whoever wrote it

No Scripts holds back two kinds of Python.

Each side also cleans what arrives before any of it can run: a COMP or a whole zone from a partner is opened in TouchDesigner's /sys/quiet, where nothing cooks, and what does not pass is taken out.

Review: the host decides

Whatever No Scripts holds back goes to the host.

Flags: what the code reaches

Before you read a line, the host's TDXCollab scans everything under review for code that reaches outside TouchDesigner or hides what it does. Each flag names the line, what was found and why it matters.

LevelWhat it meansFor example
DangerIt can change your machine, your files or your project, or it hides codeos.system, subprocess, deleting or writing files, project.save (the prank that saved a copy of a partner's project under another name), quitting, creating or destroying operators, run(), exec or eval with code in it, imports by name, decoded code, changing a module for everyone (sys.modules, SomeModule.x = ...), naming TDXCollab, naming a private place (.ssh, .env, AppData, ~/.tdxcollab), uploading a file
CautionWorth a look before approvingimporting os, socket or requests, network calls, file dialogs, saving an operator to a file, names built at run time, Python's internals, reading a file, reaching outside the zone (op('/...'), op('../...'), root, a global OP Shortcut, parent() climbing two networks or more), your clipboard, environment, preferences or undo history, time.sleep, input(), while True with no break, making an operator that sends data off the machine or writes files, pointing one at an address
InfoUsually harmlesslisting a folder, decoding data, a parent shortcut or iop found by searching up, another component's extension, moving your network editors

The scan follows the usual disguises: another name for the same thing (p = project, from os import system as s), getattr with the name written out, and decoded or pieced-together text fed to exec. A parameter's own .eval(), which every TouchDesigner script uses to read a value, is not flagged. It reads names, it does not run anything, and it cannot prove code harmless: no flag means nothing it knows was found, not that the code is safe. A partner cannot send flags of their own: only your scan counts.

Approvals are saved with the zone. Only the host's count: a partner's copy of the Keep Local table and a partner's zone the host takes bring none. Deleting an approval by hand (Open Table) holds that item again on every side until it is approved again.

What these do not catch

The switches themselves are listed with the rest on the Parameters page.