All Projects → javaterminal → Terminalfx

javaterminal / Terminalfx

Licence: mit
Java FX Terminal Emulator

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Terminalfx

Alacritty Debian
Debian packages for alacritty.
Stars: ✭ 34 (-81.82%)
Mutual labels:  terminal, terminal-emulators
Snowflake
Graphical SFTP client and terminal emulator with helpful utilities
Stars: ✭ 1,676 (+796.26%)
Mutual labels:  terminal, terminal-emulators
Webterminal
ssh rdp vnc telnet sftp bastion/jump web putty xshell terminal jumpserver audit realtime monitor rz/sz 堡垒机 云桌面 linux devops sftp websocket file management rz/sz otp 自动化运维 审计 录像 文件管理 sftp上传 实时监控 录像回放 网页版rz/sz上传下载/动态口令 django
Stars: ✭ 1,124 (+501.07%)
Mutual labels:  terminal, terminal-emulators
Ninjaterm
A serial port terminal that's got your back.
Stars: ✭ 24 (-87.17%)
Mutual labels:  terminal, javafx
Galacritty
WIP GTK terminal emulator based on Alacritty
Stars: ✭ 136 (-27.27%)
Mutual labels:  terminal, terminal-emulators
Teds Terminal
A modern terminal emulator with high DPI support, mouse wheel scaling, 32-bit colour and tty compatible.
Stars: ✭ 20 (-89.3%)
Mutual labels:  terminal, terminal-emulators
Cancer
It's terminal.
Stars: ✭ 98 (-47.59%)
Mutual labels:  terminal, terminal-emulators
Terminator
multiple GNOME terminals in one window
Stars: ✭ 649 (+247.06%)
Mutual labels:  terminal, terminal-emulators
Pyxtermjs
A fully functional terminal in your browser.
Stars: ✭ 127 (-32.09%)
Mutual labels:  terminal, terminal-emulators
Xterm.js
A terminal for the web
Stars: ✭ 12,019 (+6327.27%)
Mutual labels:  terminal, terminal-emulators
Wezterm
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
Stars: ✭ 770 (+311.76%)
Mutual labels:  terminal, terminal-emulators
Macterm
Terminal emulator for macOS with 24-bit color, bitmap and vector graphics.
Stars: ✭ 162 (-13.37%)
Mutual labels:  terminal, terminal-emulators
Terminator Themes
🤘 The biggest collection of Terminator themes.
Stars: ✭ 717 (+283.42%)
Mutual labels:  terminal, terminal-emulators
Alacritty
Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.
Stars: ✭ 36,273 (+19297.33%)
Mutual labels:  terminal, terminal-emulators
Mtm
Perhaps the smallest useful terminal multiplexer in the world.
Stars: ✭ 677 (+262.03%)
Mutual labels:  terminal, terminal-emulators
Awesome Terminals
Terminal Emulators
Stars: ✭ 80 (-57.22%)
Mutual labels:  terminal, terminal-emulators
Neoterm
👍 A modern-designed Android terminal emulator for the 21st century.
Stars: ✭ 453 (+142.25%)
Mutual labels:  terminal, terminal-emulators
Tilix
A tiling terminal emulator for Linux using GTK+ 3
Stars: ✭ 4,670 (+2397.33%)
Mutual labels:  terminal, terminal-emulators
Hyper
A terminal built on web technologies
Stars: ✭ 37,504 (+19955.61%)
Mutual labels:  terminal, terminal-emulators
Extraterm
The swiss army chainsaw of terminal emulators
Stars: ✭ 1,922 (+927.81%)
Mutual labels:  terminal, terminal-emulators

= JavaFX Terminal Emulator Rahman Usta :doctype: article :encoding: utf-8 :lang: en :toc: left :numbered: :terminalfx-version: 1.1.0

== JavaFX Terminal Emulator

TerminalFX is a terminal (PTY) emulator application written in JavaFX 12.

We use https://github.com/traff/pty4j[Pty4J] to get VT codes from running process and https://chromium.googlesource.com/apps/libapps/+/master/hterm/[hterm.js] from Chromium project to interact with Pty4J. TerminalFX is using powerful JavaFX WebView component to run hterm.js.

== Features

  • Multi OS (Mac, Win, *Nix) Support
  • Terminal Emulator (Xterm)
  • Copy and Paste Support
  • CygWin Support
  • Configurable (Color, Size, Font)
  • Multi Tab Support

== Usage

.Default Config [source,java]

TerminalBuilder terminalBuilder = new TerminalBuilder(); TerminalTab terminal = terminalBuilder.newTerminal();

TabPane tabPane = new TabPane(); tabPane.getTabs().add(terminal);

image::images\default.png[]

.Dark Config [source,java]

TerminalConfig darkConfig = new TerminalConfig(); darkConfig.setBackgroundColor(Color.rgb(16, 16, 16)); darkConfig.setForegroundColor(Color.rgb(240, 240, 240)); darkConfig.setCursorColor(Color.rgb(255, 0, 0, 0.5));

TerminalBuilder terminalBuilder = new TerminalBuilder(darkConfig); TerminalTab terminal = terminalBuilder.newTerminal();

TabPane tabPane = new TabPane(); tabPane.getTabs().add(terminal);

image::images\dark.png[]

== CygWin Support

[source,java]

TerminalConfig cygwinConfig = new TerminalConfig(); cygwinConfig.setWindowsTerminalStarter("C:\cygwin64\bin\bash -i"); <1>

TerminalBuilder terminalBuilder = new TerminalBuilder(cygwinConfig); TerminalTab terminal = terminalBuilder.newTerminal();

TabPane tabPane = new TabPane(); tabPane.getTabs().add(terminal);

<1> Set bash in cygwin path

image::images\cygwin.png[]

== Maven Dependency

[source,xml]

terminalfx-repo https://github.com/javaterminal/terminalfx/raw/master/releases com.kodedu.terminalfx terminalfx 1.1.0 com.kodedu.terminalfx terminalfx 1.0.8 ----

== Compile & Run

[source,bash]

git clone https://github.com/rahmanusta/TerminalFX cd TerminalFX mvn clean install mvn javafx:run

== Run as Java Module (Java 12)

The following modules have to be added in JVM parameters


--add-modules=javafx.controls,javafx.graphics

== Run command

You can run commands:

[source,bash]

terminal.onTerminalFxReady(() -> { terminal.getTerminal().command("java -version\r"); });

== Licence

This project is licensed under the MIT license. See link:LICENSE[LICENSE] for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].