OS.js is an open-source desktop implementation for your browser with a fully-fledged window manager, Application APIs, GUI toolkits and filesystem abstraction.
This is the Xterm Application for OS.js v3
bash
ssh
npm install --save --production @osjs/xterm-application
npm run package:discover
Start from application menu.
Note that it will log into a shell with the username you are logged in as.
If you want to change this behavior, you can add this to your src/server/config.js
file in the OS.js distribution:
{
xterm: {
// You can also set this as a string to force a username
login: false
}
}
You can also change the connection arguments:
{
xterm: {
ssh: {
// Custom hostname
hostname: 'localhost',
// Custom port
args: '-p 1022'
}
}
}
- Become a Patreon
- Support on Open Collective
- Contribution Guide
See the Official Manuals for articles, tutorials and guides.