frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A cross-platform terminal emulator written in Java

https://github.com/sebkur/forceterm
65•sebkur•7mo ago
It's based on the jediterm library developed for IDEs, but it can also be put to work as a standalone terminal emulator with tabs. The library has been around for more than 10 years, but I don't think anyone made a terminal emulator app from it?

Comments

jarym•7mo ago
Nice work! Code looks pretty clean but what motivated you to write it?
sebkur•7mo ago
I found the jediterm library and noticed people asking for releases but the team didn't seem interested (see https://github.com/JetBrains/jediterm/issues/299 and https://github.com/JetBrains/jediterm/issues/303). I noticed there are even working examples in the source tree though for a standalone terminal application (https://github.com/JetBrains/jediterm/tree/master/JediTerm/s...) so I thought "let's just package that up into binaries, maybe add tabs to make it convenient to use".
sebkur•7mo ago
One thing I guess this app can do is help track down or surface more still existing bugs in the jediterm library when people start using a jediterm based terminal in their everyday life instead of just while using IntelliJ or Android Studio.
mdaniel•7mo ago
I've heard of this %PATH% thing which allows the user to control where they place executables https://github.com/sebkur/forceterm/blob/release-1.1.0/src/m...
RonanSoleste•7mo ago
Also not very platform independent
sebkur•7mo ago
Well, it does check if we are on Windows just one line before: https://github.com/sebkur/forceterm/blob/release-1.1.0/src/m...
alganet•7mo ago
Trivia:

Windows also has %PATHEXT%. It's a set of executable extensions like bat, exe, com, cmd.

It is what allows calling `program` and reaching `program.exe`.

sebkur•7mo ago
hmm, I agree, this is pretty hard-coded. It should work for a default installation of git-bash, but of course, the user could have chosen a different location at install time.

I'm not even sure how popular git bash is on Windows, I vaguely remember cygwin might be something many user that care to use a terminal might have installed?

roscas•7mo ago
My main reason to use or not use a terminal is to scroll with mouse wheel and change the font size. No fancy gpu acceleration or nice profiles to open servers. A good host with category tree view is a plus, like MobaXterm has. But Terminator does what I need. My pick.
sebkur•7mo ago
Mouse wheel is working on my Linux box. Is it not on yours? what kind of system?

I guess for now there's not much reason to prefer this terminal over any other. I guess we'd need to add something unique, though I'm not sure yet what that might be.

sebkur•7mo ago
The performance of jediterm seemed quite impressive though when I made a quick smoke test with a command such as `time tree ~` in comparison to my regular xfce terminal at lest.
bitwize•7mo ago
Neat! A new graphical app in Java!
sebkur•7mo ago
Thanks!
0x445442•7mo ago
What does this buy over all the other terminal emulators? I see why the component is in IDEs so the developer doesn't need to switch apps to get to the terminal. Now a full fledged JVM shell that supports most of the commands we come to expect in a shell and also has the JVM and it's whole ecosystem at its fingertips, that might be something.
sebkur•7mo ago
I'm breeding over the same thing. What can we do with this now that would't be so easy within other ecosystems that terminal emulators are typically written in (usually C I guess)?
zerr•7mo ago
Why Swing instead of JavaFX?
mdaniel•7mo ago
I believe OP's project is just doing some lightweight "make it executable" bits but the actual JediTerm that it is using for the "terminal" part is, itself, on Swing/AWT https://github.com/JetBrains/jediterm/blob/4cef2840aed5ec1d6...

Although, interestingly, while digging up that link I noticed the JediTermMain that for sure makes it plausibly executable so I dunno if OP's project is actually just "for funzies" or if there's otherwise something added https://github.com/JetBrains/jediterm/blob/4cef2840aed5ec1d6...

sebkur•7mo ago
yeah, the jediterm library provides a Swing component (JediTermWidget extends JPanel) so it seemed natural to create an app around it that is also Swing based. I guess it's possible to integrate Swing components into JavaFX apps as well, so that should work too.

You're right, I'm not doing much except adding some build logic for creating executables really. I also added tabbing and light / dark mode. I guess we could also at least add more options that are readily available for the jediterm widget (https://github.com/JetBrains/jediterm/blob/4cef2840aed5ec1d6...)

potato-peeler•7mo ago
What is a terminal emulator? Is it just a terminal just like power shell? But why is it an emulator?
phil9909•7mo ago
Power Shell is not a terminal, it is a shell (hence the name). Yes, you are using Power Shell in a terminal window, but that is a different program. And it is called a terminal emulator because what we now call a terminal or terminal window is in fact a software emulation of a hardware terminal: https://en.m.wikipedia.org/wiki/Computer_terminal

Edit: To make it a bit clearer: You can access your shell of choice (Bash, Fish, Power Shell, Cmd, ...) in different terminal emulators (Windows Console, GNOME Terminal, Visual Studio Code, Kitty, Forceterm, ...). The drawing of the characters to the screen, scrolling, menus and other UI parts are handeled by the terminal, but the actual logic (processing the commands you type) is done by the shell. The shell decides WHAT to display and the terminal emulator decides HOW it is displayed.

potato-peeler•7mo ago
I think I need to know what a shell is before I can understand a terminal. To me shell is just a layer exposed by the OS which allows programs to access OS functions.

And terminal is an interactive UI to interact with the OS and its programs. Emulator is synonymous with something here?

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
87•awaaz•2h ago•12 comments

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

https://github.com/localgpt-app/localgpt
221•yi_wang•8h ago•90 comments

Haskell for all: Beyond agentic coding

https://haskellforall.com/2026/02/beyond-agentic-coding
113•RebelPotato•8h ago•31 comments

SectorC: A C Compiler in 512 bytes (2023)

https://xorvoid.com/sectorc.html
303•valyala•16h ago•58 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
116•swah•5d ago•204 comments

The Architecture of Open Source Applications (Volume 1) Berkeley DB

https://aosabook.org/en/v1/bdb.html
30•grep_it•5d ago•3 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
232•mellosouls•18h ago•390 comments

Matchlock: Linux-based sandboxing for AI agents

https://github.com/jingkaihe/matchlock
3•jingkai_he•1h ago•0 comments

Roger Ebert Reviews "The Shawshank Redemption" (1999)

https://www.rogerebert.com/reviews/great-movie-the-shawshank-redemption-1994
32•monero-xmr•4h ago•38 comments

Moroccan sardine prices to stabilise via new measures: officials

https://maghrebi.org/2026/01/27/moroccan-sardine-prices-to-stabilise-via-new-measures-officials/
29•mooreds•5d ago•2 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
185•surprisetalk•15h ago•191 comments

Modern and Antique Technologies Reveal a Dynamic Cosmos

https://www.quantamagazine.org/how-modern-and-antique-technologies-reveal-a-dynamic-cosmos-20260202/
4•sohkamyung•5d ago•0 comments

LineageOS 23.2

https://lineageos.org/Changelog-31/
57•pentagrama•4h ago•10 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
195•AlexeyBrin•21h ago•36 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
202•vinhnx•19h ago•21 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
80•gnufx•14h ago•65 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
366•jesperordrup•1d ago•108 comments

Wood Gas Vehicles: Firewood in the Fuel Tank (2010)

https://solar.lowtechmagazine.com/2010/01/wood-gas-vehicles-firewood-in-the-fuel-tank/
53•Rygian•3d ago•21 comments

uLauncher

https://github.com/jrpie/launcher
24•dtj1123•4d ago•6 comments

First Proof

https://arxiv.org/abs/2602.05192
148•samasblack•18h ago•93 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
104•momciloo•16h ago•24 comments

Substack confirms data breach affects users’ email addresses and phone numbers

https://techcrunch.com/2026/02/05/substack-confirms-data-breach-affecting-email-addresses-and-pho...
58•witnessme•5h ago•22 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
610•theblazehen•3d ago•219 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
113•thelok•18h ago•25 comments

LLMs as Language Compilers: Lessons from Fortran for the Future of Coding

https://cyber-omelette.com/posts/the-abstraction-rises.html
5•birdculture•1h ago•0 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
344•1vuio0pswjnm7•22h ago•561 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
921•klaussilveira•1d ago•282 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
180•speckx•4d ago•267 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
46•mbitsnbites•3d ago•7 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
312•isitcontent•1d ago•39 comments