recipe-app / secrets.example.toml
ronheichman's picture
Deploy recipe web app
ed3c16c verified
Raw
History Blame Contribute Delete
1.99 kB
# --- USDA (FoodData Central API) ---
[usda]
api_key = "your-usda-api-key"
# --- Pipeline (paths and tokens) ---
[pipeline]
prompt_path = "prompt.md"
download_dest_dir = "./data"
book_dir_relative = "books"
profile_db_path = "profiles_db.sqlite"
recipe_db_filename = "recipe_links.db.gz"
documents_db_filename = "data/documents.db"
# --- Google Service Account ---
[google_service_account]
type = "service_account"
project_id = "your-project-id"
private_key_id = "your-private-key-id"
private_key = "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
client_email = "your-service-account@project.iam.gserviceaccount.com"
client_id = "000000000000000000000"
auth_uri = "https://accounts.google.com/o/oauth2/auth"
token_uri = "https://oauth2.googleapis.com/token"
auth_provider_x509_cert_url = "https://www.googleapis.com/oauth2/v1/certs"
client_x509_cert_url = "https://www.googleapis.com/robot/v1/metadata/x509/your-service-account%40project.iam.gserviceaccount.com"
# --- Google Drive ---
[google_drive]
folder_id = "your-drive-folder-id"
# --- ChefSteps (scrape login) ---
[chefsteps]
email = "your-email@example.com"
password = "your-password"
# --- Milk Street (scrape login; Olive/Omeda subscription) ---
[milkstreet]
email = "your-email@example.com"
password = "your-password"
# --- ChefSteps Algolia (search index; optional if not using ChefSteps source) ---
[chefsteps_algolia]
app_id = "your-chefsteps-algolia-app-id"
api_key = "your-chefsteps-algolia-search-key"
# --- ATK Algolia (America's Test Kitchen search index; optional if not using ATK source) ---
[atk_algolia]
app_id = "your-atk-algolia-app-id"
api_key = "your-atk-algolia-search-key"
# --- Web search (Tavily; used by scripts/tools web search and image audit) ---
[web_search]
api_key = "your-tavily-api-key"
# --- share_webapp remote admin sync (optional) ---
[share_webapp_remote]
base_url = "https://your-space.hf.space"
admin_email = "admin@example.com"
admin_password = "your-admin-password"