132 lines
3.2 KiB
JSON
132 lines
3.2 KiB
JSON
{
|
|
"app": {
|
|
"name": "Password Generator",
|
|
"version": "4.1.0",
|
|
"environment": "production"
|
|
},
|
|
"locale": {
|
|
"default": "en",
|
|
"supported": [
|
|
"en",
|
|
"de",
|
|
"de_CH",
|
|
"fr",
|
|
"it",
|
|
"es",
|
|
"pt",
|
|
"ja",
|
|
"zh"
|
|
],
|
|
"fallback": "en",
|
|
"languages": {
|
|
"en": "English",
|
|
"de": "Deutsch",
|
|
"de_CH": "Schwyzerdütsch",
|
|
"fr": "Français",
|
|
"it": "Italiano",
|
|
"es": "Español",
|
|
"pt": "Português",
|
|
"ja": "日本語",
|
|
"zh": "中文"
|
|
}
|
|
},
|
|
"llm": {
|
|
"default_provider": "openai",
|
|
"timeout": 30,
|
|
"max_tokens": 500,
|
|
"temperature": 0.7,
|
|
"retry_attempts": 3,
|
|
"retry_delay": 1000,
|
|
"providers": {
|
|
"openai": {
|
|
"name": "OpenAI",
|
|
"models": {
|
|
"gpt-3.5-turbo": "GPT-3.5 Turbo",
|
|
"gpt-4": "GPT-4",
|
|
"gpt-4-turbo": "GPT-4 Turbo",
|
|
"gpt-4o": "GPT-4 Omni"
|
|
},
|
|
"default_model": "gpt-3.5-turbo"
|
|
},
|
|
"claude": {
|
|
"name": "Claude",
|
|
"models": {
|
|
"claude-3-opus-20240229": "Claude 3 Opus",
|
|
"claude-3-sonnet-20240229": "Claude 3 Sonnet",
|
|
"claude-3-haiku-20240307": "Claude 3 Haiku"
|
|
},
|
|
"default_model": "claude-3-sonnet-20240229"
|
|
},
|
|
"gemini": {
|
|
"name": "Gemini",
|
|
"models": {
|
|
"gemini-pro": "Gemini Pro",
|
|
"gemini-1.5-pro": "Gemini 1.5 Pro",
|
|
"gemini-1.5-flash": "Gemini 1.5 Flash"
|
|
},
|
|
"default_model": "gemini-pro"
|
|
},
|
|
"perplexity": {
|
|
"name": "Perplexity",
|
|
"models": {
|
|
"llama-3-sonar-small-32k-online": "Llama 3 Sonar Small (32k)",
|
|
"llama-3-sonar-large-32k-online": "Llama 3 Sonar Large (32k)",
|
|
"llama-3-8b-instruct": "Llama 3 8B Instruct",
|
|
"llama-3-70b-instruct": "Llama 3 70B Instruct"
|
|
},
|
|
"default_model": "llama-3-sonar-small-32k-online"
|
|
}
|
|
}
|
|
},
|
|
"generator": {
|
|
"max_passwords_per_request": 100,
|
|
"default_count": 1,
|
|
"roulette_interval_seconds": 3,
|
|
"xkcd": {
|
|
"wordlists_path": "data/wordlists",
|
|
"wordlists": {
|
|
"en": {
|
|
"label": "EFF English Wordlist",
|
|
"file": "eff_large_wordlist_en.txt"
|
|
},
|
|
"de": {
|
|
"label": "German Common Words",
|
|
"file": "german_common_words_de.txt"
|
|
},
|
|
"ch": {
|
|
"label": "Slängikon",
|
|
"file": "swiss_german_slaengikon.txt"
|
|
},
|
|
"fr": {
|
|
"label": "French Common Words",
|
|
"file": "french_common_words_fr.txt"
|
|
},
|
|
"it": {
|
|
"label": "Italian Common Words",
|
|
"file": "italian_common_words_it.txt"
|
|
},
|
|
"es": {
|
|
"label": "Spanish Common Words",
|
|
"file": "spanish_common_words_es.txt"
|
|
}
|
|
}
|
|
},
|
|
"cache_enabled": true,
|
|
"cache_ttl": 3600
|
|
},
|
|
"security": {
|
|
"rate_limit_enabled": true,
|
|
"rate_limit_max_requests": 120,
|
|
"rate_limit_window": 3600,
|
|
"require_https": true,
|
|
"cors_enabled": true,
|
|
"cors_origins": [
|
|
"https://yourdomain.com"
|
|
]
|
|
},
|
|
"logging": {
|
|
"enabled": true,
|
|
"level": "info"
|
|
}
|
|
}
|