Live data from Hacker News

Upterm – A terminal emulator and interactive shell based on Electron

github.com

21–30 of 127 posts

Re: Upterm – A terminal emulator and interactive shell based on Electron

#22
post #2

Hi, author of Upterm here. Ask me anything.

Almost all my terminals are ssh'd into some remote machine. Do you still get the features like enhanced command line completion in this scenario? What about integrated screen/some other kind of reconnection?

Re: Upterm – A terminal emulator and interactive shell based on Electron

#23

Electron... no thanks! I will wait for Alacritty, in the meantime iTerm2 and Terminal.app are there...

I really think the auto completion benefits can easily outweigh the performance penalty of running a term on top of Chromium

So long as you're down for 20 minutes of battery life.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#25
post #2

Hi, author of Upterm here. Ask me anything.

Autocompletion for env variables is great:

i.e.

`cd $THAT_ENV_DIRECTORY`

however I always get

`The directory "$THAT_ENV_DIRECTORY" doesn't exist. `

although clearly it does as it is autocompletion suggested

Re: Upterm – A terminal emulator and interactive shell based on Electron

#26

Looks really cool! The only caveat is that I'm not sure I want to have another electron app chewing through 15% of my CPU...

Surprisingly it has pretty moderate resource usage. I have both iTerm and Upterm running on my laptop, here are the stats. Of course, your mileage may vary.

https://imgur.com/a/bwD06

Re: Upterm – A terminal emulator and interactive shell based on Electron

#28
post #2

Hi, author of Upterm here. Ask me anything.

I made a superficially similar thing but I've never released it.

My differences: (1) The shell is in pure js. It's a thin wrapper around shelljs but I had plans to move to a builder type syntax, eg. fs.cp().f("/tmp/foo").t("/tmp/bar").x();

(2) I made an api so people could quickly code up graphical output for commands.

Just wondering if you'd be interested in integrating a feature like this. Do you have a chat channel?

Re: Upterm – A terminal emulator and interactive shell based on Electron

#29
post #20

I'm not going to spend hundreds of megabytes to display text on the screen. Not to mention the input latency this will have between keystrokes. The style of autocompletion shown can already be achieved with zsh - autocompletion should not be a function of your terminal emulator, but rather your shell. However, this is all just my opinion and maybe there will be a load of users, me and people who share my opinions wil…

I wish the same autocompletion could be achieved in ZSH. Then I wouldn't start this project at all. The problem with ZSH is that you have to

* Make a decision you want completion.

* Press tab for it to appear.

* Guess when your token is precise enough to be unambiguous or else cycle through results.

Not to mention fuzzy search.

It may sound as not that much of an overhead, but it's so much slower than what I have in, say, Intellij IDEA.

Post reply on HN