Skip to content

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

License

Notifications You must be signed in to change notification settings

t3tra-dev/electron-repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages