claudedwithlove
explore/mherod-get-cookie

get-cookie

Cherished

Extract and decrypt cookies stored in Chrome, Chromium, Firefox, and Safari browsers across macOS, Windows, and Linux. Programmatically access browser cookies for API testing, automation, and debugging without manual credential management or DevTools extraction.

M
by mherod
·0··submitted April 18, 2026
View on GitHub
Clauded With Love Rating
7.9 / 10

A TypeScript library that extracts and decrypts cookies directly from browser databases (Chrome, Firefox, Safari) across multiple operating systems, eliminating the need for manual cookie extraction from DevTools. The tool provides both CLI and programmatic APIs with runtime-specific optimizations for Node.js and Bun.

Code Quality7.5
Usefulness8.5
Claude Usage8.0
Documentation8.5
Originality7.0
Highlights
  • Multi-runtime support with auto-detection and explicit entrypoints for Node.js (better-sqlite3) and Bun (bun:sqlite)
  • Comprehensive cross-platform browser support handling different encryption methods (Chrome keychain/DPAPI, Safari binary files)
  • Excellent developer experience with clear CLI interface, TypeScript support, and immediate practical examples for API testing workflows
To Improve
  • Add comprehensive test coverage including unit tests for encryption/decryption logic and integration tests across different browser versions
  • Include security considerations documentation about cookie access permissions and potential risks of programmatic cookie extraction