15 ms·
Hyper 2, Electron based terminal
- domenukk 9y agoHyper is the only proper terminal emulator on Windows. Time to upgrade.
- ricksnyke 9y agoIsn't the console better now with Windows 10? Even has tabs the last I've heard.
- nonintuitive 9y agoHave you tried ConEmu? That's definitely my favorite.
- partycoder 9y agoConEmu makes Windows a bit more palatable. But the lack of a "UNIX philosophy" (everything is a file), makes the CLI less powerful on Windows. Some may argue that PowerShell fills that void. While it helps, it is not the same.
- lloeki 9y agoMaybe not for long: https://github.com/Microsoft/vscode/issues/34442 https://github.com/Microsoft/vscode/issues/34442
- nailer 9y agoAlso the default Windows terminal is getting tabs: https://github.com/Microsoft/console/issues/49 https://github.com/Microsoft/console/issues/49 This is also fascinating: https://github.com/Microsoft/console/issues/57 https://github.com/Microsoft/console/issues/57 - a proper PTY for Windows, implemented by Microsoft, with the ConEmu guy giving it a thumbs up.
- staticelf 9y agoHave you tried Powershell?
- Per_Bothner 9y agoDomTerm (https://domterm.org https://domterm.org) works very well on Windows using WSL (https://dzone.com/articles/running-domterm-terminal-emulator-on-windows-using https://dzone.com/articles/running-domterm-terminal-emulator...).
- ricardobeat 9y agoWith rendering moved to canvas, does it still make sense to use Electron? A lightweight drawing surface + js bindings could do the same in a much lighter package.
- mchan 9y agoInterested to see how this compares in performance and resource usage with Alacritty[1] [1]:https://github.com/jwilm/alacritty https://github.com/jwilm/alacritty
- tuananh 9y agotl;dr: Hyper 1 did pretty bad. I don't expect much from Hyper 2 https://drive.google.com/file/d/1eQJPan-hs4AgX1pK45WS2UNjjVgRykqx/view https://drive.google.com/file/d/1eQJPan-hs4AgX1pK45WS2UNjjVg... source: https://danluu.com/term-latency/ https://danluu.com/term-latency/
- pacomerh 9y agoHave you tried Kitty? https://github.com/kovidgoyal/kitty https://github.com/kovidgoyal/kitty, Pretty good too in terms of performance
- sanjeetsuhag 9y agoRust Evangelism Strike Force to the rescue.
- moistoreos 9y agoI laughed real hard at this phrasing: > Alacritty is the fastest terminal emulator in existence. Bold.
- adtac 9y agoEspecially true when the methodology to test performance was just `find /usr` [1], and comparing it with a just a few alternatives. I'm sure they have a better and more thorough benchmark these days, but that was pretty funny. [1] https://github.com/jwilm/alacritty/issues/289 https://github.com/jwilm/alacritty/issues/289
- whyever 9y agoDepends what you mean by "fast". It seems to have the highest stdout throughput, but that is not necessarily the most important metric: https://danluu.com/term-latency/ https://danluu.com/term-latency/
- reneberlin 9y agoWhile it was thinkable all the time, it renders me speechless, that finally somebody has put that stack under a terminal. The next big thing will be electron-based smooth-scroll, mouse-animation and finally: a 70mb beep.
- cozicoolmail 9y agoI also don't get it. Why would I want a full web browser to power my terminal? Just because we can, doesn't mean that we should...
- matlk 9y agoWindows?
- aandrieiev 9y agowhy bother with a cross-platform framework, then?
- TeMPOraL 9y agoYou wouldn't. It's pretty much purely a convenience for the author of the software.
- raquo 9y agoI'm just waiting for an electron based web browser.
- fahrradflucht 9y agoThat has already been done [0]. [0] https://github.com/brave/browser-laptop https://github.com/brave/browser-laptop
- reneberlin 9y agoI'm speechless. It's monday today and the day just begins. I hope for better news along the way ...
- riobard 9y agoIf it's just drawing pixels… what's the benefit of the web stack?
- TeMPOraL 9y ago- Easier to make a multiplatform application, compared to alternatives. - Makes it possible for people who don't know (and/or don't want to know) anything beyond the web stack to build "desktop" applications. - Easy to make it look nice by default, because you can reuse all the work that went into building the browser as a runtime, + you have a ton of eyecandy JS libraries to choose from.
- zxcmx 9y agoAlso you can have interesting rendering possibilities like in-line display of images, charts, tables. Longer-term: new generation of command-line tools with different ux paradigms for interactive use? Like, <3 TERM=linux and "everything is text" but there are also a lot of possibilities here which would be interesting to explore. Funny that people "get" jupityr notebooks but not this.
- sakuronto 9y agoFor what it's worth, I don't get Jupyter notebooks either.
- TeMPOraL 9y agoI see them as a "worse is better"-style half-implementation of Org Mode's tangling functionality on a more mainstream stack. For iteratively building a document that's mixed with some code and some output and looks kinda-nice, Jupyter is good enough.
- TeMPOraL 9y agoI'd totally love to see that happening. Except it isn't. I would even accept Electron if the primary motivation was to enable such a rich terminal interaction experience. But that's not what's the case here, apparently.
- LinaLauneBaer 9y agoI am using Hyper 2 since the beta and I really like it. It has replaced iTerm for me. Performance may still be an issue for some people. For example, printing to stdout seems slower on Hyper than on, let's say iTerm. To me it is noticeable but still feels nearly instant.
- emadb 9y agoWhy did you choose Hyper? IMVHO iTerm2 is still far way better as a terminal.
- LinaLauneBaer 9y agoPurely due to aesthetic reasons. I am not using the terminal for any complex stuff and this allows me to use the terminal which looks the best to my eyes. If my requirements change I may go back to iTerm but for now: something simple and nice looking is okay.
- antihero 9y agoIt supports the same themes I use for vs-code, which I like. Plus I prefer the minimal window borders.
- i_dont_know_ 9y agoMaybe I'm missing something... is there a benefit to this over a normal terminal/terminal emulator? (eg xterm, mac terminal etc)? As far as I can tell, putting it in electron would mean that you could embed arbitrary HTML structures inside the terminal (like web page previews or something), but from what I've read, it doesn't look like that's the goal.
- stephenr 9y agoPop quiz: what's more ridiculous, nodejs based command line utilities that do the same thing as two existing shell utilities and a pipe or a while loop etc; OR, an electron "shell"... which can then run those same nodejs "utilities"... Oh maybe that's the whole point. They want "it's javascript all the way down". I think I'd literally rather use a shell built on actual turtles. A turtle-shell, if you will.
- discordance 9y agoZeit's generally pretty JavaScript focused so it doesn't surprise me, but another electron app. Man :'(
- jitix 9y agoThe whole electron stack disgusts me. Mainly because of battery usage on my laptop and my phone! Its a clear example of "We can do it but should we do we?" The answer is NO!
- agumonkey 9y agohey, how else can I change the transparency of my shell with css ?
- alehander42 9y agoyou're kidding, but that's really it: people love to hate on electron, but nobody has a better solution. it's about "I can reuse my web-based UI on all desktops, mobile and web", not about css
- agumonkey 9y agoWell web based uis are subpar IMO, especially accounting for resource cost. /me goes back to emacs
- majewsky 9y agoYou can't. You can only change the transparency of the terminal. This comment (though probably by mistake) manages to perfectly illustrate the "reinventing things that we don't even understand" mindset that's going on in most of tech. (Also, there exist terminals written in C++ with Qt, and QtWidgets has had CSS support for custom styling for at least 10 years, probably much longer.)
- caspervonb 9y agoLike I've said a million times, https://medium.com/p/electron-is-cancer-b066108e6c32 https://medium.com/p/electron-is-cancer-b066108e6c32 Why would you use a full web stack terminal emulator, over.. well a normal native and actually reasonably fast terminal emulator? The trend is catching on, so maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webstack email client. Congratulations on reaching v2 tho!
- Agebor 9y agoLook several years into the future and what you could have there is electron being faster/lighter. Being web-based gives you a standard way for fetching and displaying content. It's just a matter of time that the performance improves. Especially when many people are experimenting with it. > maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webstack email client. It's definitely possible, once the browser becomes the new OS.
- OberstKrueger 9y agoThat's what has been said for a while about Electron: it'll be optimized and less heavy. Most applications use Electron are just as heavy as they always has been, and where there are exceptions, it's more due to moving away from the Electron-stack and putting functionality in lower-level languages, or things like this where it uses only a few elements and defers to other rendering techniques.
- s73v3r_ 9y agoWhy spend the time and effort to do that, though? The amount of resources used to bring Electron into something reasonable could be better used elsewhere, advancing things that we don't already have.
- movedx 9y agoGood read. Thanks. And I agree: Electron is horrible to deal with as an end-user. I've been using Vim for some time and then decided to use VS Code. The integrations, plugins, and everything else were awesome, but man the 3-4GB of RAM was just crazy. Despite the fact my machine has 16GB of RAM, I'm dealing with quite a few VMs and Docker containers locally, so actually 16GB isn't a lot.
- sbr464 9y agotried it for a bit, moved back to iterm2
- 0xFFC 9y agoI had high hopes for this project. Particularly considering the fact default terminal in Windows is a total crap and it seems Microsoft is not interested at all to fix the problems (yeah, I know, they are saying they are working on it but they haven’t delivered in 3 years, how hard it is to add unlimited scroll bar option? Or hide scroll bar?. I wish I could’ve run gnome-terminal in Windows.) Back to hyper. Hyper disappointed me. 1) Text wrapping is a such important feature in modern terminal emulators I cannot live without. They added text reflow in 2.0 as far as I checked. But when you use you would see it is complete disaster. Text does not wrap sometime. Sometime it completely erased. So long story short it is completely buggy. 2) Start up time is horrible. Electron based app should generally design a background service and a UI process. This way when you launch UI it would be way faster than cold start up. I do this for chrome, slack, discordapp, etc. I wish they had better architecture and was a option to enable background thread or service.
- DannyBee 9y ago"2) Start up time is horrible. Electron based app should generally design a background service and a UI process. This way when you launch UI it would be way faster than cold start up. I do this for chrome, slack, discordapp, etc. I wish they had better architecture and was a option to enable background thread or service. " I don't even know where to begin with this. So, the suggestion for "the stack for my thing is so large and deep that it takes forever to startup" is not "hey, maybe don't do that" or "hey, maybe we should find a way to optimize", it's "make sure it's always warm". I don't even begin to understand why this is a world we want to live in.
- dawnerd 9y agoTry cmder for Windows. It’s nice and fast.
- sime2009 9y ago> Start up time is horrible I'm surprised to hear that there are people who fully close and quit their terminal emulator.
- WorldMaker 9y ago> they are saying they are working on it but they haven’t delivered in 3 years The CommandLine blog is a fascinating read of Microsoft's progress over the last three years: https://blogs.msdn.microsoft.com/commandline/ https://blogs.msdn.microsoft.com/commandline/ They've delivered a lot (much of it WSL-driven now that Linux apps run inside it more often), even if they haven't added your particular wishlist items. For revamping a part of Windows that had almost died on the vine, they seem to be doing a fascinating job, over the last few years, even within Windows' strong mandate to maintain backward compatibility at all costs.
- _o_ 9y agoI think that electron desperately needs boot loader and own kernel, then they will be able to reimplement whole operating system in js. ...god of bloated software and goddess of complex solutions of simple non problems got their blood sacrifice and the sun will rise again.
- reneberlin 9y agoWhen the aliens will slurp up our "latest advancements in technology" they will have a huge clusterfuck and some serious hickups. Maybe we should put warning-stickers upon some stuff.
- drinchev 9y agoWow so much hate in this thread. First, the author is not doing this for his CV. Second, the benefits of using electron are enormous for any JS developer and there are a lot. Third, I also hate electron apps and wouldn’t use this app, but I’m not going to jump back to “why electron is bad” discussion, since I can’t suggest anything better in 2018.
- sakuronto 9y agoWhat about good ol' QT?
- drinchev 9y agoLast time I checked the bindings of QT[1] for NodeJS were not updated since 6 years. I think they are still unmaintained and also are lacking the community around it. I think GitHub embracing Chrome-wrapped-apps was a significant move, since no other company did something similar for desktop javascript applications. Maybe we will need to wait a bit more, until some of the big tech companies realises that having better QT / GTK bindings and build tools, examples, proper documentation will benefit a lot the company and the community around it. Until then, we are stuck. [1] : https://github.com/arturadib/node-qt https://github.com/arturadib/node-qt
- rhodysurf 9y agoThen learn a new language? It shouldn’t be that hard to transition between languages for UI stacks
- dspillett 9y ago> Then learn a new language? Learn a new language (Python/C++/other) in order to learn and use a different framework (Qt)? Thanks for your advice I'll down tools right now and get on with that using my time the way I want to. (Actually I've never developed anything using Electron yet, though some personal projects may get implemented that way in future should they ever get off the ground) I fully understand much of the criticism of Electron and similar: the results are rather bulky in terms of both package size and memory use (and if you aren't careful sometimes CPU use) which can add up to quite a performance hit if running a number of small apps/tools that are large because of the framework. For interactive (or script-called) non-resident utilities startup time can be a significant issue too. But there are a lot of entitled people out there who seem to be of a mind that because they don't like Electron (for those reasons or whatever else) they have the right to demand that developers stop using it. If you don't want to use an Electron driven application then the solution is to not use that Electron driven application. There are no doubt alternatives out there. If not then the deep knowledge you have that makes you an expert on why it would be better developed other ways should allow you to write your own and compete. This is true for both paid-for services like this (show them who is boss by collectively voting with your wallets) and free and/or open source options (in which case making demands of the creator/maintainer seems even more egregious IMO). </rant>
- movedx 9y agoI just can't stand Electron based applications at all. I can't stand JavaScript actually, but that's something different entirely. I'm really looking forward to learning Flutter (https://flutter.io https://flutter.io) so I can finally do some mobile based application development in a cross platform manner without having to use JavaScript. Prior to Flutter I was considering Swift and Kotlin and just maintaining two code bases (and two languages.) Hopefully I won't need to now. On desktops I would just go native. Is it really that hard to maintain several code bases? Is there literally no other options at all? I'm considering Go + QT here, or something along those lines.
- mathw 9y agoI've been playing with Flutter and it seems pretty good. Dart isn't too hard to get your head around and isn't too annoying, although I do find myself disappointed that I have to learn yet another language for it. I don't have a particular problem with learning languages, but it's another speedbump on the way. And Dart is about a million times better than JS for the way I like to think about code.
- movedx 9y agoGlad to hear it! I'm looking forward to giving it a try, but right now I'm hooked on Lua and Corona! Ha! :)
- Per_Bothner 9y agoUsing JavaScript to implement a terminal emulator makes sense if you take advantage of html/css. If it's just to implement a conventional terminal emulator, it may be difficult to justify the perforance/memory costs. But html/css does enable a lot of neat features, such as embedded graphics, css styling, etc. I think for DomTerm the features justify the costs: https://opensource.com/article/18/1/introduction-domterm-terminal-emulator https://opensource.com/article/18/1/introduction-domterm-ter...
- deleted 9y ago[deleted]
- _pmf_ 9y agoWhen you absolutely need that "tar xf" to take 23900 times longer.
- cdelsolar 9y agowhy would it take 23900 times longer
- tonyarkles 9y ago`tar xf` probably wouldn't take longer, but `tar xvf` might, depending on how good/bad the stdout performance is.
- bojanvidanovic 9y agoFor something so essential in my daily work as terminal, I'd rather stick with iTerm or similar. However, it's an interesting project and congrats to the author on v2.
- Rjevski 9y agoOh great, a terminal emulator using 100+ MB of RAM. Just what I needed.
- kyriakos 9y agoWhy would anyone pay for a terminal?
- forabi 9y agoBecause your shell isn't slow enough
- anotherevan 9y agoHonestly, I only clicked on this page to read all the comments hating on electron. Not helping with my confirmation bias though.
- noxecanexx 9y agoCame here for the same reason. Although I am more interested in what @rauchg is doing
- SnowingXIV 9y agoMy gripe was always having a terminal not blend in with the editor which makes this nice but vscode essentially does that out of the box for me. Now if I ever need the terminal and I'm not looking to code anything, I just use the native terminal. I can see why some people might like this if they are using sublime, atom, etc other editors that don't have terminal included but that was the only void this somewhat filed. (And yes, you can edit up the native terminal but you still get a different looking top bar).
- tbodt 9y agoI solve this problem by using vim, so my terminal is my editor.
- notheguyouthink 9y agoAgreed (though I use Kakoune). With that said, first class integration around a shell could definitely make me change editors. As much as I like terminal editors, it's a very limited medium to write an editor. I imagine a Vim/Kakoune/Emacs/etc could be written in a GUI and have even more features yet still retain first class focus on keyboard UX.
- matzy 9y agoyou mean....like emacs?
- notheguyouthink 9y agoI'm confused, isn't emacs in the shell? Are you saying that emacs is a gui editor? I was talking about GUI editors. I already use a term editor. I even game an example of vim/kakoune/emacs, ie, term editors.
- matzy 9y agoEmacs is a gui editor. It has a shell mode, but it's primarily supposed to be used through the GUI. GUI Emacs is literally everything you described looking for above - an advanced GUI with more features than you could evere learn, yet one that still retains first class focus on keyboard UX.
- solarkraft 9y agoUses weird window decoration, uses a weird type face, doesn't support tabs ... And hell, it's Electron. I'll stay with the few-kb, vala[C]/gtk elementary terminal.
- vittore 9y agoAlthough it does support tabs and you can use any decoration/type face you want.
- wishinghand 9y agoWhile everyone fights about Electron I have a slightly off topic question- why are programs like these called a terminal emulator (emphasis on emulator)?
- jowiar 9y agoA physical "terminal" is a piece of hardware: https://en.wikipedia.org/wiki/VT100 https://en.wikipedia.org/wiki/VT100
- btlr 9y agoOn my Mac I still prefer iTerm, but I really like using Hyper on my Windows box.
- cozuya 9y agoReally looking forward to trying this out on my Windows box at home. About twice a year I look for good terminal programs for it and it seems nearly impossible. To this day I just have a bunch of Git Bash windows running...
- entropy_six 9y agoGive ConEmu a try if you haven't yet. https://conemu.github.io/ https://conemu.github.io/
- Per_Bothner 9y agoHave you tried DomTerm (http://domterm.org http://domterm.org)? It works great on Windows, though it requires WSL: https://dzone.com/articles/running-domterm-terminal-emulator-on-windows-using https://dzone.com/articles/running-domterm-terminal-emulator...
- s73v3r_ 9y agoWhy does everything have to be built on HTML/CSS/JS nowadays? What happened to the days when people would learn new languages that were appropriate for the project they were taking on?
- smolsky 9y agoOh, great, people are still latched onto the Electron hype. We now have another 150MB/window application. Great. How about pushing the envelope further and using a Quake engine as the base (it has a console).
- sixothree 9y agoYet people still insist on using Chrome as their web browser.
- seba_dos1 9y agoWouldn't a Quake engine based terminal emulator actually be way lighter? :P
- nineteen999 9y agoI know you're joking, but I did one in Unreal Engine 4, although it's attached to a Z80 CPU emulation for running CP/M (and hopefully FUZIX later on). https://i.imgur.com/Q6307w3.jpg https://i.imgur.com/Q6307w3.jpg The terminal has pretty good ANSI X3.64 support and can connect to a Linux box via telnet.
- tluyben2 9y agoOw that is pretty cool! Can we play around with that somewhere?
- nineteen999 9y agoHopefully by the end of the year. It's one of those situations where the emulator works great, but there's no game as such for it to interface to yet, and I'm sort of struggling to come up with basic gameplay mechanics.
- techdragon 9y agoI would LOVE to play around with that in the unreal engine editor just to see what cool stuff I can do with it. Please release it as a component somewhere by itself without the rest of the game. So much retro <3 for this little console you built.
- muzzio 9y agoI used Hyper for a little while a few months ago and thought it was okay. Still prefer iTerm for daily use. One thing that it’s amazing at, though, is taking promotional screenshots. It hides the OS bar by default, plus looks just generally great. For instance: https://github.com/snapcrafters/fkill https://github.com/snapcrafters/fkill
- Per_Bothner 9y agoSome comments comparing DomTerm (http://domterm.org/ http://domterm.org/) and Hyper2 (H2): DT does not require Electron: There are also embeddings for Qt (using QtWebEngine), Atom, Theia - or you can use a desktop browser. If you use Electron, it is only used for the "chrome" (menus etc). The "backend" (server) is a C program. (It works great on Windows using WSL.) There is also a simplified pure-Java backend. Hyper2 is clearly faster. Using canvas seems like a win in that respect, but I'm concerned this limits the ability to style the output using CSS. Using a more structured representation (e.g. DOM) also preserves valuable information about the output. The ideal might be to have a structured representation as "the truth" but render to a canvas. This might still be less flexible in terms of using CSS, but that might be an ok tradeoff. Om H2, if you change the window width, wrapped lines are not re-calculated. H2 does not "remember" tabs. I.e if you 'cat Makefile', and copy the output, you get spaces, not tabs. H2 shows a lot more errors when running the vttest test suite. DT supports hyper-links to file positions. For example clicking on FILENAME:LINE:COLUMN: (as produced by many compilers) will open a (customizable) editor and go to that position. DT supports "printing" images, rich text, and general HTML. DT supports tabs, draggable panes, detachable sessions (like tmux/screen), and a builtin input editor.
- hestefisk 9y agoInteresting experiment, but I think I will stick to rxvt.
- pattisapu 9y agoNo operating-system specific bar on the top of the window is kind of nice for screen casting.
- kup0 9y agoI'm somewhat on the fence when it comes to Electron applications, because I do tend to prefer everything to be "lightweight" even if the machine it is on has a ton of performance overhead. That said, I have not disliked my experience with VS Code and Hyper. I like iTerm's performance better but I aesthetically prefer Hyper. I like Sublime Text's performance far more than VS Code, but VS Code has come a long way and is free, and I don't use it enough to justify paying for ST currently.