Better HN
topnewbestaskshowjobs
Log inSign up

sawka

234 karma · joined Sep 2, 2020 (6y ago) · 73 submissions

Founder at https://waveterm.dev
Submissions

comment 2y ago · link · parent

Been hard at work on a new rendering engine for Wave Terminal (https://github.com/wavetermdev/waveterm). Coded up a quick proof of concept for 4th of July showing fireworks rendering in the terminal, triggered by a CLI command. New version is not live yet, but hoping to go into beta soon :)

2.

Fireworks in the CLI, Triggered by CLI Command – Happy 4th of July [video](youtube.com ↗)

1 points · by sawka · 2y ago · 1 comment

comment 2y ago · link · parent

Interesting take! By implementing our UI in React, we're hoping to make it significantly easier and more accessible to write cross-platform terminal extensions (and renderers / apps for different types of content). One of the interesting directions we're looking at is providing native web-based UI for terminal programs. Like a TUI library that renders to actual UI :)

comment 2y ago · link · parent

Hah, 100% not a paid promotion, although it is kinda awesome that you think it is! We were thrilled with the coverage (our first article!) after we soft launched on /r/opensource.

comment 2y ago · link · parent

Hah, we did not come up with the headline :). Really the vision for Wave is to have an out-of-the-box excellent terminal experience that's consistent across all of the machines that you log into. We also bring cool new features to the terminal like command blocks, output renderers, persistent sessions, and universal history (across all of your sessions, local and remote).

comment 2y ago · link · parent

Wave is a terminal, so you're free to use any editor you'd like, including vim, emacs or ed. We just provide another option for users who don't find vim or emacs very intuitive. I've used emacs to code for over 25 years and have no problem using the CLI or text editors (and it seems like neither do you), but there is a learning curve to teaching intro CS students or semi-technical folks how to use vim on the CLI ("type escape colon w q enter to save")

comment 2y ago · link · parent

Telemetry is completely optional and anonymous (and we provide a switch to turn it off when you launch the app).

comment 2y ago · link · parent

Wave uses electron for rendering, but a Golang backend for networking and heavy lifting. This gives Wave the ability to be cross platform and still efficient under the hood.

comment 2y ago · link · parent

We're looking into Wails! Definite benefits with tighter integration with Go (and we can ditch the node server).

comment 2y ago · link · parent

absolutely no telemetry in the helper, full stop. you can inspect the code yourself.

we do hear the feedback though and are working on a popup/notification that will prompt you before we push the helper program for the next release.

comment 2y ago · link · parent

yes! would love to do this. the biggest issue is security and how to sandbox that html from the rest of the terminal. we have some ideas on how to do this (iframes, postMessage, etc.) that i think could work.

comment 2y ago · link · parent

agree in principle, but i will split some hairs here. if you type "ls" into your local terminal, there's an implicit agreement that it will run the remote "ls" program. the helper program facilitates that in the same way that any other terminal + ssh + shell combo does. it only runs commands in response to your activities in the terminal.

comment 2y ago · link · parent

the helper program is completely open source (waveshell) it is similar to the shell scripts or additions to your rc files that other modern terminals might add when connecting to a remote machine to support advanced features. the helper does not need any additional permissions, does not open any ports, runs only for the duration of the connection, and communicates exclusively via stdout/stdin over your standard ssh connection.

comment 2y ago · link · parent

i think the terminal can be much better than it is today. i quit my job and started working on this full time after making the prototype because i was convinced that universal history, inline rendering, and persistent sessions just needed to happen. that being said, building a new terminal is hard and requires direction and a full-time team. these things are expensive and venture money will help us bring this idea to life quickly.

i also want to point out that the main competitor in this space is also venture backed and is closed source. we need the money to keep up (with help from the OSS community) and make sure there is a great open alternative in the market.

comment 2y ago · link · parent

ya, i love iTerm. been a loyal user for more than 10 years. that is until Wave of course :)

comment 2y ago · link · parent

i'd love to figure out what is causing this as we haven't been able to repro it. if you don't mind adding a comment to the issue with anything novel or interesting in your .bashrc / .bash_profile or your machine setup it would be much appreciated.

comment 2y ago · link · parent

zsh support and international character support are our top two issues right now. I know the intl chars can work, we just didn't do enough international testing before launch. sorry to hear that it didn't work out of the box for you (the big profile files are also on our radar).

comment 2y ago · link · parent

Would love to get any suggestions for what people would like to see rendered inline in the terminal. Things like graphs, audio/video streams, filesystem view (that supports drag&drop from your local machine), graphviz, pdfs. Maybe a graphical way to view a JIRA or Github issue and add a comment? Visual diff? Let me know what you think?

comment 2y ago · link · parent

I used Discord for Wave because it is real-time, free, and has a lot of community and auto-moderation facilities built in. It also seems to scale well to large communities. Because you asked, I think it is fair game to share our discord link here: https://discord.gg/XfvZ334gwU

comment 2y ago · link · parent

I hear you. That is a problem with a lot of (bad) UIs and why I think people love text-UI (because it is harder to screw up). First, I don't want to get rid of the text UI -- you can always render your commands using the traditional terminal interface. We just want to provide an option to display the output in a richer way. I think Github does a good job of this. You can view a file with line numbers and annotations on the side, but copy/paste won't grab that content because of how the HTML is structured. We hope be similarly attentive to things like that (but of course it is still a WIP).

comment 2y ago · link · parent

Haven't tested it myself, but some people have gotten it to run on Windows via WSL. We'll have a true Windows port at some point as well.

comment 2y ago · link · parent

a couple that have come up a lot in my talks with devs who use the CLI, but don't necessary live in it are: copy/paste, dealing with tmux, getting disconnected, using 'vi' remotely, having to setup prompts/colors/aliases on every new remote machine, editing commands without using the mouse. I'm not saying there aren't ways to do all of this now (especially when you have a lot of experience), but there can be a steep learning curve for new devs.

comment 2y ago · link · parent

All of the tty processing, networking, and stream processing is done in Go, so it is fast. There is obviously more performance work to do, but in some situations our model can actually be faster than other terminals. If you cat a 1GB file in Wave, it actually runs quickly because the frontend can drop frames, while the Go backend is buffering the stream (so to answer your question, JS is not in the hot path, only Golang is).

comment 2y ago · link · parent

https://waveterm.dev has some screenshots. Also checkout our twitter feed https://twitter.com/wavetermdev . I couldn't post the homepage as the main link because of a dup check on HN (someone unaffiliated with the company posted the link last week).

comment 2y ago · link · parent

Yes, and we own commandline.dev! I wanted, and got, the email address mike (at) commandline.dev :)

comment 2y ago · link · parent

thanks, appreciate it! you also get the award for first comment :)

27.

Show HN: Wave – Modern Open-Source Terminal (macOS and Linux)(github.com ↗)

82 points · by sawka · 2y ago · 90 comments

comment 2y ago · link · parent

not yet, but it will. using electron will let us get there quickly, especially if we base support on WSL. honestly it is more of a problem with packaging and testing at this point vs some underlying incompatibility.

note that our windows port will be more like a replacement for PuTTY than a replacement for powershell (at least in the first version). so it will make it easier to log into and administer remote (linux) machines.

comment 2y ago · link · parent

we don't have parity with tmux yet. in terms of scripting and screen splitting, tmux is better. but, we will get there for most of the features, and i hope we'll be able to deliver those features in a more user-friendly and accessible way to non-power users. by using web tech, we know it is (relatively) easy and possible.

imo, building these types of features into your terminal make a lot more sense than having them run on every remote machine. ever run tmux inside of tmux?

123