À propos du projet

PSBITE (PowerShell Buffer Insert Text Editor) is a PowerShell module that offers a lightweight, VIM-like text editor for editing both local and remote files. It supports NORMAL and INSERT modes, common character operations, and real-time remote synchronization. The module is designed to be dependency-free, secure, keyboard-driven, and lightweight, making it suitable for environments where installing additional editors is restricted. The primary command, Start-PSBite, launches a built-in terminal editor for local or remote files. It supports basic VIM-style commands such as entering INSERT mode, yanking and pasting lines, deleting lines, saving, and quitting. Remote editing is performed over WinRM, with SSL enabled by default. A secondary function, Edit-RemoteFile, provides an alternative remote editing workflow by opening files in an external editor such as VSCode or Notepad. It monitors file changes and can perform unidirectional or bidirectional synchronization between local and remote copies. Options include using SSL, deleting temporary files after editing, running in silent mode, and enabling verbose output for debugging. PSBITE requires PowerShell 7 or later and can be installed from the PowerShell Gallery. The module is intended for users who need a simple, scriptable, and secure way to edit files in constrained or high-security environments without relying on external GUI applications or additional dependencies.