tarzi 0.2.0

Rust-native lite search for AI applications
Documentation
# =============================================================================
# Tarzi Configuration File
# =============================================================================
# This file contains settings for the tarzi web fetcher and search tool.
# Modify these settings according to your requirements.

# -----------------------------------------------------------------------------
# General Settings
# -----------------------------------------------------------------------------
[general]
# Logging level for the application
# Options: trace, debug, info, warn, error
# log_level = "info"

# Request timeout in seconds
# timeout = 30

# -----------------------------------------------------------------------------
# Web Fetcher Settings
# -----------------------------------------------------------------------------
[fetcher]
# Fetcher mode - how to retrieve web content
# Options: "browser_headless", "browser_headed", "plain_request"
# mode = "browser_headless"

# Output format for fetched content
# Options: "markdown", "html", "text"
# format = "markdown"

# HTTP proxy server (optional)
# Uncomment and configure if you need to use a proxy
# proxy = "http://127.0.0.1:7890"

# Web driver executable
# Options: "chromedriver", "geckodriver"
# web_driver = "geckodriver"

# Optional: Use an external WebDriver endpoint (overrides driver/port logic if set)
# web_driver_url = "http://localhost:4444"  # Example: connect to a remote geckodriver

# -----------------------------------------------------------------------------
# Search Engine Settings
# -----------------------------------------------------------------------------
[search]
# Search engine to use
# Options: "bing", "google", "google_serper" (alias "serper"), "brave",
#          "duckduckgo", "baidu", "sogou_weixin"
# engine = "bing"

# Access mode: "auto" (API → plain HTTP → browser), "apiquery", "webquery"
# mode = "auto"

# Optional API key for the selected engine (env vars take precedence):
#   BRAVE_API_KEY for brave, SERPER_API_KEY for google_serper
# api_key = ""

# URL pattern for search queries (overrides engine default when set)
# Use {query} as placeholder for the search term
# query_pattern = "https://example.com/search?q={query}"

# Maximum number of search results to return
# limit = 5