GitHunt
JE

Jenderal92/Cookie-Edit

A high-performance modular CLI tool to manage, analyze, and test HTTP cookies. Features real-time health tracking, domain grouping, and curl export integration.

๐Ÿช Cookie-Edit


Cookie-Edit is a lightweight, professional CLI tool built for developers to manage, test, and analyze HTTP cookies. Designed with a clean modular architecture, it's perfect for debugging APIs and testing web sessions directly from your terminal or Termux.

โœจ Features

  • Centralized Management: Create, Read, Update, and Delete (CRUD) cookies in a local JSON store.
  • Smart Grouping: Organize and view cookies automatically grouped by their domain.
  • Health Tracking: Monitor cookie expiration with real-time "Live" vs "Expired" status indicators.
  • Request Engine: Send GET/POST requests and automatically capture new cookies from server responses.
  • Curl Integration: Instantly generate --cookie strings for use in external terminal commands.
  • Deep Analytics: View statistics on your cookie jar, including Secure and HttpOnly flags.
  • One-Click Cleanup: Quickly wipe all expired cookies to keep your workspace clean.

๐Ÿ“‚ Project Structure

Cookie-Edit/
โ”œโ”€โ”€ main.py              # Application entry point
โ”œโ”€โ”€ network/             # HTTP request and capture logic
โ”œโ”€โ”€ core/                # Data management and cookie health logic
โ”œโ”€โ”€ utils/               # Table rendering, JSON I/O, and logging
โ”œโ”€โ”€ config/              # Path and environment settings
โ””โ”€โ”€ data/                # Local storage (cookies.json)

๐Ÿš€ Getting Started

  1. Clone the repository:
git clone https://github.com/Jenderal92/Cookie-Edit.git
cd Cookie-Edit
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the tool:
python main.py

๐Ÿ›  Usage

  • Testing APIs: Use the HTTP Request menu to see how a server interacts with your current cookies.
  • Debugging: Check the "Health" status to ensure your session hasn't timed out during testing.
  • Migration: Export your session as a Curl string to continue testing in other professional tools.

๐Ÿ›ก Security

Cookie-Edit stores data locally in data/cookies.json. To protect your session data, the data/ directory is included in .gitignore to prevent it from being uploaded to public repositories.


Languages

Python100.0%

Contributors

Created March 9, 2026
Updated March 9, 2026