Running Timecode Toolbox from the CLI
While most people will probably want to download the Desktop edition of Timecode Toolbox (which makes use of Electron),§ it's also possible to run a headless Server edition from the command line.
You may want to do this for example:
- To run Timecode Toolbox on linux
- To run Timecode Toolbox on a server in a rack
- To run Timecode Toolbox on a low-power machine that doesn't have a display, such as a Raspberry Pi or similar single-board computer
Instructions for doing this can be found on the download page, but in essence you simply need to make sure you have a newish version of NodeJS installed, and then run:
npx @arcanewizards/timecode-toolbox@latest
A message will then be printed to the log that details which port is being used for the application, which you can then use to connect to the UI from a web browser on the same machine or another machine on the same network.
The log messages will also be available to see from the debug tools, the same as when running the Desktop version of the app.
Environment Variables / Command-Line Options
As Timecode Toolbox is primarily meant to be accessed and used via the UI, there aren't many options that can be configured from the command-line or via environment variable.
The one exception to this is the PORT environment variable,
which can be used to specify a specific port that Timecode Toolbox should use
for is main application listener.
This environment variable is completely optional,
but when set will prevent the port from being changed from the settings in the UI.