https://github.com/t3tra-dev/electron-repl
A command-line REPL tool for Electron applications that allows you to execute JavaScript code in the main process.
https://github.com/t3tra-dev/electron-repl
Last synced: about 1 year ago
JSON representation
A command-line REPL tool for Electron applications that allows you to execute JavaScript code in the main process.
- Host: GitHub
- URL: https://github.com/t3tra-dev/electron-repl
- Owner: t3tra-dev
- License: mit
- Created: 2025-01-31T03:50:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-31T04:56:05.000Z (about 1 year ago)
- Last Synced: 2025-03-13T19:42:04.430Z (about 1 year ago)
- Language: Rust
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.ja.md
- License: LICENSE
Awesome Lists containing this project
README
[[英語/English](README.md)]
# electron-repl
ElectronアプリケーションのメインプロセスでJavaScriptコードを実行できるコマンドラインREPLツールです。
## 特徴
- 実行中のElectronアプリケーションに接続
- メインプロセスでのJavaScriptコード実行
- macOSとLinuxをサポート(Windows対応は近日公開)
- コマンド履歴機能
- 見やすい色付き出力
## インストール
```bash
cargo install electron-repl
```
## 使い方
```bash
electron-repl <アプリ名> [ポート番号]
```
### 引数
- `アプリ名`: Electronアプリケーションの名前 (必須)
- `ポート番号`: DevTools用のポート番号 (デフォルト: 9222)
### 使用例
```bash
electron-repl Discord
```
## 対応プラットフォーム
- macOS
- Linux
- Windows(近日対応予定)
## ライセンス
MIT License - 詳細は[LICENSE](LICENSE)をご覧ください