Skip to content

Features

StremThru uses a feature flag system to enable or disable specific functionality.

Configuration

Set the STREMTHRU_FEATURE environment variable with a comma-separated list of feature flags.

Syntax

  • +feature — Enable an opt-in feature
  • -feature — Disable an opt-out feature
  • feature — Enable only the specified features (disables all others not listed)

Examples

Enable a specific opt-in feature:

sh
STREMTHRU_FEATURE=+some_feature

Disable a specific opt-out feature:

sh
STREMTHRU_FEATURE=-some_feature

Combine multiple flags:

sh
STREMTHRU_FEATURE=+feature_a,-feature_b

TIP

Use the + and - prefix syntax to selectively toggle features without affecting others. Without prefixes, only the explicitly listed features will be enabled.