Hacker News new | ask | show | jobs
by com2kid 207 days ago
I used to daily drive this, most of the effects were minimized but I found that a little bit of white noise really helped make my terminal a lot easier on the eyes to read. I wonder if it is related to how some people find that film grain has a pleasing effect.

For those looking at the screenshots note that the terminal is incredibly customizable, you don't have to have all the effects dialed up to 11!

Sadly bit rot has set in and the project doesn't work that well now days. Also a lack of tab support really hurts it as a daily driving terminal.

6 comments

I have ghostty set up with this “starfield” shader: https://github.com/0xhckr/ghostty-shaders/blob/main/starfiel...

I also have it set up to do adaptive theme, so in light mode the galaxy is mostly just a little noise on the black text but in dark mode it’s like I’m piloting a space ship. Highly recommend.

I also documented a few other shaders on my blog here: https://catskull.net/fun-with-ghostty-shaders.html

Edit: I use the "starfield" shader, not the "galaxy" shader. Doh!

This is fantastic - but I encountered something strange. I was searching `ghostty per window shader` and your site came up as the first hit. Excellent - however, this was the text under the link:

Fun with Ghostty Shaders 22 Feb 2025 — Ghostty doesn't directly support shaders, but a repo with shaders can be cloned to ~/.config/ghostty/shaders. Examples include 'drunkard+retro- ...

Now, no where in the text on the site does it say this - so did google just wrongly summarize and put it in as "website text". To be clear, this isn't an AI overview - its in the main list of links! Maybe this has been happening and i just missed it but its absurd! It doesn't even fit with the text! Thanks for the resource, again, had a lot of fun with that.

What the crap is going on with this. Is Google just blindly making stuff up these days? Why would it show some preview text that doesn’t exist on the page.
Maybe they noticed that everybody ignores/downvotes/hates/hides the AI overviews, so the next attempt to force people to see them is to replace descriptions and previews with generated summaries?
Thanks for reminding me that ghostty supports shaders! Now to find a good one with scanlines…
If only the “just snow” one would have had the snow floating down (instead of, inexplicably, up)!
I added DIRECTION, and use it agains the `q`. 0.25 makes them fall slowly.

    #define DIRECTION 0.25

    // usage:
    vec2 q = DIRECTION * uv * (1.0 + fi * DEPTH);
be sure to tweak the rest, it's fun!
The shader is pretty small, I bet a little fiddling with changing minuses to plus signs would fix that right up (or down)!
Simply rotate your monitor. /j
oh that water one is cute. makes me think of old gnome effects? I wonder how distracting it is in practice
Bit disappointed that Galaxy is the only one without a preview, what does it look like?
an image is available in the PR where it was added: https://github.com/0xhckr/ghostty-shaders/pull/30
lol I'm smart apparently. It's not the "galaxy" shader, it's the "starfield" shader! I should double check before commenting I guess.

https://github.com/0xhckr/ghostty-shaders/blob/main/starfiel...

I'm not sure what "galaxy" looks like but it might not have worked or shown nothing.

Oh, that one's really pretty! I actually went to check if wezterm supported shaders after seeing the preview on your site, but tragically it doesn't.
I love it because I have glare/doubling around words. Adding some visual noise can mask my own eye problems, and adding some visual effects with the glowbar and jittering if I feel like it, can really make it easier to focus for some reason.
Having the same with audio. I actually like tape hiss. :-O
I miss the old phonecall background hiss, now it's impossible to tell the difference between someone being silent in a call and a disconnected 'line'.
... and the crackles and pops of a vinyl record?
> Also a lack of tab support really hurts it as a daily driving terminal.

For some, perhaps.

I've not needed tabbed terminals ever since vim got proper terminal support. I run shells within vim, so have them in splits, tabs, etc in a plain xterm.

Sorta like a tmux replacement, but with better editor support :-)

You hardcore vim folks are a different breed :-)
> You hardcore vim folks are a different breed :-)

Nah, we're just lazy :-)

Need a shell? Why leave vim? Need to connect to and issue SQL queries to diagnose a database? Why leave Vim?

The actual hardcore folk are those Emacs weenies.

Need a shell? Use Emacs.

Read email? Use Emacs.

Manage my calendar? Emacs.

Note taking? Static website builder? Browse websites? Git client?

Emacs, Emacs, Emacs and (you guessed it) Emacs.

Spreadsheet, File manager, Remote editing, Calculator, Dictionary/Thesaurus ... all Emacs.

Those guys seriously need a therapist ... of course, Emacs has that too (Good 'ol M-x doctor)

Emacs even has its own Vim emulator to solve Emacs lack of an editor!
Fun fact, you can use Ghostty and vibecode the shader you want. In fact, the other day I used Claude Code to create me a custom CRT shader.
It'd be awesome to run something like this headless, maybe with a frame buffer. I setup my home lab with Freebsd recently and it's just sitting there without a cool CRT screen. :/