Skip to content

feat: support custom Chromium cookie directories - #76

Open
LuciusChen wants to merge 1 commit into
jackwener:mainfrom
LuciusChen:fix/issue-61-custom-chromium-profile
Open

LuciusChen wants to merge 1 commit into
jackwener:mainfrom
LuciusChen:fix/issue-61-custom-chromium-profile

Conversation

@LuciusChen

Copy link
Copy Markdown
Contributor

Summary

  • add TWITTER_CHROMIUM_USER_DATA_DIR for ungoogled-chromium and other custom Chromium profiles
  • accept either a User Data root or a direct profile directory
  • discover both Cookies and modern Network/Cookies databases
  • reuse browser-cookie3's Chromium decryptor and pass the matching Local State file on Windows
  • keep in-process and subprocess fallback extraction behavior aligned

Validation

  • python -m pytest -q — 245 passed, 6 deselected
  • ruff check .
  • mypy twitter_cli

Closes #61.

@c4nc

c4nc commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Same note as in my comment on #75: I've made a maintained fork (c4nc/twitter-cli) that cherry-picks your #75/#76/#77 with explicit attribution in the README; if the original repo resumes I'd rather help there. Thanks again.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants