Authentication
HtmlQuill supports browser-state auth profiles through auth.json.
Auth file resolution order:
--auth-file PATHHTMLQUILL_AUTH[paths].auth_filefrom config$XDG_CONFIG_HOME/htmlquill/auth.jsonor~/.config/htmlquill/auth.json
Example auth.json:
{
"version": 1,
"profiles": {
"medium": {
"kind": "browser_state",
"playwright_storage_state": "~/.config/htmlquill/auth/medium.storage-state.json",
"chromium_user_data_dir": "~/.config/htmlquill/chromium/medium"
}
}
}
Security notes
Do not commit
auth.json, storage-state files, or browser profile directories.Recommended permissions:
chmod 600 ~/.config/htmlquill/auth.json.Recommended browser profile directory permissions:
chmod 700 ~/.config/htmlquill/chromium/medium.