webarc/config.toml
JMARyA dc4fb4079e
Some checks are pending
ci/woodpecker/push/build Pipeline is pending
fragments
2025-02-25 12:39:05 +01:00

89 lines
1.5 KiB
TOML

# Rewrite links to point back to the archive itself
ROUTE_INTERNAL=true
# Download missing routes on demand
DOWNLOAD_ON_DEMAND=true
[websites]
# You can blacklist sites which wont work well
BLACKLIST_DOMAINS = [
"^gitlab", # All domains starting with gitlab
"youtube" # YouTube
]
# Consider a refresh after interval (in days) (Global)
outdated = 3
# Keep last n versions (Global)
keep_n = 5
# Domain configuration (Example)
[[websites.domains]]
# The domain the config applies to
domain = "example.com"
# Consider a refresh after interval (in days)
outdated = 30
# Keep last n versions
keep_n = 5
# Blacklisted Path (Regexes)
blacklist_paths = ["/.*"]
# Exclude <audio> tags
no_audio = false
# Exclude <video> tags
no_video = false
# Exclude <img> tags
no_image = false
# Exclude CSS
no_css = false
# Exclude Javascript
no_javascript = false
# Exclude fonts
no_fonts = false
# Exclude iframes
no_frames = false
# User Agent
user_agent = "Safari"
#[ai]
# Ollama URL (Enables vector search)
#OLLAMA_URL="127.0.0.1:11434"
# --- Website Config
[[websites.domains]]
domain = "developer.mozilla.org"
no_javascript = true
[[websites.domains]]
domain = "github.com"
no_javascript = true
[[websites.domains]]
domain = "en.wikipedia.org"
no_javascript = true
[[websites.domains]]
domain = "api.flutter.dev"
no_javascript = true
no_video = true
[[websites.domains]]
domain = "docs.flutter.dev"
no_javascript = true
no_video = true
[[websites.domains]]
domain = "home-assistant.io"
no_javascript = true