electron-repl

Crates.ioelectron-repl
lib.rselectron-repl
version0.1.1
created_at2025-01-31 03:53:41.198428+00
updated_at2025-01-31 04:54:58.855165+00
descriptionA command-line REPL tool for Electron applications that allows you to execute JavaScript code in the main process.
homepagehttps://github.com/t3tra-dev/electron-repl
repositoryhttps://github.com/t3tra-dev/electron-repl
max_upload_size
id1537124
size64,152
t3tra (t3tra-dev)

documentation

https://github.com/t3tra-dev/electron-repl/blob/main/README.md

README

[Japanese/日本語]

electron-repl

A command-line REPL tool for Electron applications that allows you to execute JavaScript code in the main process.

Features

  • Connect to running Electron applications
  • Execute JavaScript code in the main process
  • Support for macOS and Linux (Windows support coming soon)
  • Command history support
  • Colored output for better readability

Installation

cargo install electron-repl

Usage

electron-repl <app-name> [port]

Arguments

  • app-name: Name of the Electron application (required)
  • port: Port number for DevTools (default: 9222)

Example

electron-repl Discord

Supported Platforms

  • macOS
  • Linux
  • Windows (coming soon)

License

MIT License - see LICENSE for details

Commit count: 3

cargo fmt