~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fixed secrets - if .secrets.toml doesnt work it can be added via envs
LearningCircuit8584d6c4ac02
diff --git a/pyproject.toml b/pyproject.tomlindex 2bf54feda5..0b3c688371 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -66,4 +66,4 @@ include-package-data = true[tool.setuptools.package-data]"local_deep_research.web" = ["templates/*", "static/*", "static/**/*"]-"local_deep_research.defaults" = ["*.toml", "*.py"]+"local_deep_research.defaults" = ["*.toml", "*.py", "*.template"]diff --git a/src/local_deep_research/config.py b/src/local_deep_research/config.pyindex 79d4cd3f06..277ae86c6e 100644--- a/src/local_deep_research/config.py+++ b/src/local_deep_research/config.py@@ -145,6 +145,19 @@ def init_config_files():if not os.path.exists(search_engines_file) and os.path.exists(default_engines):shutil.copyfile(default_engines, search_engines_file)logger.info(f"Created search_engines.toml at {search_engines_file}")++ # Create .env.template if it doesn't exist+ env_template_file = CONFIG_DIR / ".env.template"+ if not env_template_file.exists():+ shutil.copy(defaults_dir / ".env.template", env_template_file)+ logger.info(f"Created .env.template at {env_template_file}")++ # Optionally create an empty .env file if it doesn't exist+ env_file = CONFIG_DIR / ".env"+ if not env_file.exists():+ with open(env_file, "w") as f:+ f.write("# Add your environment variables here\n")+ logger.info(f"Created empty .env file at {env_file}")except Exception as e:logger.error(f"Error initializing Windows config files: {e}")else:@@ -183,7 +196,17 @@ def init_config_files():if not search_engines_file.exists():shutil.copy(defaults_dir / "search_engines.toml", search_engines_file)logger.info(f"Created search_engines.toml at {search_engines_file}")+ env_template_file = CONFIG_DIR / ".env.template"+ if not env_template_file.exists():+ shutil.copy(defaults_dir / ".env.template", env_template_file)+ logger.info(f"Created .env.template at {env_template_file}")+ # Optionally create an empty .env file if it doesn't exist+ env_file = CONFIG_DIR / ".env"+ if not env_file.exists():+ with open(env_file, "w") as f:+ f.write("# Add your environment variables here\n")+ logger.info(f"Created empty .env file at {env_file}")secrets_file = CONFIG_DIR / ".secrets.toml"if not secrets_file.exists():with open(secrets_file, "w") as f:diff --git a/.env.template b/src/local_deep_research/defaults/.env.templatesimilarity index 100%rename from .env.templaterename to src/local_deep_research/defaults/.env.template