Skip navigation
OpenCode now let's you enable sound and desktop notifications for the TUI.
0:00 / 0:27

OpenCode now let's you enable sound and desktop notifications for the TUI.

kmdr

@kmdrfx7.6K followers

Visit on X
434 likesDownloadOriginal post

33,134 views

OpenCode now let's you enable sound and desktop notifications for the TUI. Sounds are customisable. You can turn off sound or desktop notifications individually. Desktop notifications use OSC 9/99/777 sequences where available, might not work reliably in all terminals.

23 Comments

Comments from the original post on X (Twitter)

  • Simon Klee's profile picture

    @simonklee

    You enabled this by default on dev and I was super confused as to where that bell sound came from.

    5 likes

  • vogel's profile picture

    @ryanvogel

    no twerking, no repost

    4 likes

  • kmdr's profile picture

    @kmdrfx

    On Davids verse? I want to enjoy Barcelona, not fear for my life.

    4 likes

  • Aaron Francis's profile picture

    @aarondfrancis

    Oh heck yeah. I've gotten questions about that! Nice work

    2 likes

  • blackwell's profile picture

    @BlackwellV90362

    @thdxr Opencode has either had this for a long time, or when I gave it some sound files to notify me it just wired it in.

    1 like

  • avrl ☘'s profile picture

    @avrldotdev

    OOO wow that's what the PR was about, cool cool very cool!

    1 like

  • Gary Liu's profile picture

    @stefrich45040

    @thdxr A touch of genius in a small change.

    1 like

  • Daniel Pop's profile picture

    @vdanielpop

    give us the song link, man! it's dope

    1 like

  • Ian Keefer's profile picture

    @keeferian

    @thdxr Thank god. Deleting my shitty plugin i wrote

    1 like

  • Jett's profile picture

    @JettPtacek

    Immediately opening opencode to add this to my own opentui project

    1 like

  • Kamil Kseń's profile picture

    @KsenKamil

    oh, so I don't need a plugin anymore? nice

  • Mike's profile picture

    @n3onr1ft

    Damn dude, you had me worried there for a second. Every time I start a new session I like to give the logo a couple pokes for fun. When I didn't hear sound I was like WTF DID THEY DO?!

  • Daniel Velazco's profile picture

    @velazcod

    @thdxr Heh, nice. I built a plugin and a mobile app with push notifications for this.

  • FelikZ's profile picture

    @TheFelikZ

    No thank you. I think it for people who still use notifications sound on their phones.

  • NJ's profile picture

    @nadeem_jaleel

    @thdxr If there was a way to do a push notification every time open code completes a task in cli … that would be great

  • Max Headroom's profile picture

    @CosmicMonad

    Why's this thing called opencode? Same cynical insulting joke like openai? Last time I tried it, thing wasn't able to connect to a regular oai endpoint. Had to pay someone to use it.

  • Nilay's profile picture

    @dohypemyhustle

    damn it I just spent 20 mins last week to build a plugin for this

  • quantumweb's profile picture

    @quantumwebco

    Can we turn off the logo sound tho? I use this for notifications from opencode

  • deekay's profile picture

    @flexdinesh

    @jayair can we get this as an api so we can trigger this from plugins? something like notification.trigger()?

  • kmdr's profile picture

    @kmdrfx

    @dpandiyan @jayair It is available in the TUI plugin API.

    2 likes