mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 14:04:35 +00:00
Drops hls.js, the HLS glue JS, M3U8 manifest rewriting, VMAP resolution, and the proxyVideos/hlsPlayback preferences. Videos now render as native <video> elements with the highest-resolution MP4 variant. Promo card videos that only provide HLS/VMAP streams show as unavailable since those are ads.
54 lines
1.1 KiB
TOML
54 lines
1.1 KiB
TOML
# teapot Configuration
|
|
|
|
[server]
|
|
# Domain for generating links - change this to your own domain/ip
|
|
hostname = "localhost"
|
|
title = "teapot"
|
|
address = "0.0.0.0"
|
|
port = 8080
|
|
https = false # Set to true when using HTTPS
|
|
httpMaxConnections = 100
|
|
staticDir = "./public"
|
|
|
|
[cache]
|
|
# Cache TTL settings (in-process cache, no external dependencies)
|
|
listMinutes = 240 # How long to cache list info
|
|
rssMinutes = 10 # How long to cache RSS queries
|
|
|
|
[config]
|
|
# Secret key for cryptographic signing of video URLs
|
|
hmacKey = "secretkey"
|
|
|
|
# Use base64 encoding for proxied media URLs
|
|
base64Media = false
|
|
|
|
# Enable RSS feeds
|
|
enableRSS = true
|
|
|
|
# Enable debug endpoints (/.sessions)
|
|
enableDebug = false
|
|
|
|
# HTTP/HTTPS proxy (SOCKS proxies not supported)
|
|
proxy = ""
|
|
proxyAuth = ""
|
|
|
|
# API proxy host, e.g. localhost:7000
|
|
apiProxy = ""
|
|
|
|
# Enable this if cookie-based auth is failing
|
|
disableTid = false
|
|
|
|
# Max requests per session to avoid race conditions
|
|
maxConcurrentReqs = 2
|
|
|
|
[preferences]
|
|
# Default theme
|
|
theme = "teapot"
|
|
|
|
# URL replacements for privacy
|
|
replaceTwitter = ""
|
|
replaceYouTube = ""
|
|
replaceReddit = ""
|
|
|
|
infiniteScroll = false
|