A filament plugin that gives you access to a terminal in your browser. It uses the xterm.js library to create a terminal emulator in your browser.
Caution
Please make sure the widget has proper permissions and is secure. This widget can be used to run commands on your server. Make sure you have proper security measures in place. Otherwise you might be at risk of being hacked and/or having your data compromised.
You can install the package via composer:
composer require thethunderturner/filament-xterm
You can publish the config file with:
php artisan vendor:publish --tag="filament-xterm-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-xterm-views"
Simply add the widget to your page using the following code:
protected function getHeaderWidgets(): array
{
return [
\TheThunderTurner\FilamentXterm\FilamentXtermWidget::class,
];
}
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.