Configuration

Configuration

Set up cookies, Discord webhooks, Telegram authentication, compression settings, and more.

All configuration is managed from the Settings page in the sidebar. Settings are stored in the local SQLite database — no config files to edit.

Cookie Authentication

StreamStash reads cookies directly from your web browser to authenticate with platforms. No credentials are stored in the app.

  1. Log into the platform (TikTok, Instagram, Twitter, etc.) in your browser — Firefox, Chrome, Edge, or Brave are all supported.
  2. In StreamStash Settings, click Check next to the platform name to verify which account is detected.
  3. That's it — StreamStash reads your live browser session automatically.
Note: Firefox is the preferred browser for cookie extraction. If you have issues, try logging in via Firefox.
Recommended for Instagram & Twitter/X: We've tested rate limits thoroughly across all platforms — but for Instagram and Twitter/X, we still recommend using dedicated accounts separate from your personal ones, as a safety net. In our testing, these have been the strictest platforms when it comes to automated activity. Using dedicated accounts keeps your main profiles out of any potential rate-limit or restriction issues, especially if you plan to track many creators or download at high volume.

Compression Settings

StreamStash can compress recordings and downloads to save disk space.

SettingOptionsDescription
CodecH.264, H.265, H.264 NVENC, H.265 NVENC, OffNVENC uses your NVIDIA GPU for faster encoding
Quality (CRF/CQ)16–35Lower = better quality, larger files. 20–24 recommended
Presetultrafast, fast, medium, slowSlower = better compression ratio
Source qualityOn / OffDownload in original source quality rather than the default re-encoded version (Power tier)
Recommended: For older NVIDIA GPUs (GTX 10xx series), use CQ 18–22. For newer GPUs or software encoding, CQ 22–26 works well.

Discord Webhooks

Get real-time notifications in Discord when events happen. Each platform has its own webhook URL — leave blank to disable.

WebhookTriggers
RecordingsLive detections, recording completions and failures
FeedsTikTok feed downloads, username changes
InstagramInstagram download completions
TwitterTwitter download completions
TelegramTelegram download completions
ForumForum thread archive completions
AlbumsAlbum archive completions
RedditReddit scrape completions
SnapchatSnapchat scrape completions
SystemSession issues, disk alerts, app restarts

Use the Test Webhook button to send a test message and verify your setup.

Telegram Authentication

Telegram requires API credentials for downloading from channels (including restricted/private ones).

  1. Go to my.telegram.org and log in with your phone number.
  2. Navigate to API development tools and create a new application.
  3. Copy the API ID (numeric) and API Hash (32-character hex string).
  4. In StreamStash Settings, enter the API ID, API Hash, and your phone number (with country code, e.g. +44...).
  5. Click Send Auth Code — a verification code will be sent to your Telegram app.
  6. Enter the code in StreamStash. If you have 2FA enabled, you'll also need your password.
Session persistence: Your Telegram session is saved locally in the telegram_sessions/ folder. You only need to authenticate once.

Instagram & Twitter Rate Limits

StreamStash includes built-in protections against rate limiting:

These settings can be adjusted in Settings under each platform's section.

Archives Configuration (Forum & Albums)

SettingDefaultDescription
Max file size0 (unlimited)Skip downloads above this size in MB

StreamStash supports archiving from a curated list of forums and image/video hosts. The full supported-sites list is shown in the app under Settings → Archives.

Desktop App Settings

Environment Variables

These can be set in a .env file in the app directory:

VariableDefaultDescription
FLASK_PORT5000Web UI port
RECORDINGS_DIR./recordingsMedia storage path (overrides UI setting)