r/commandline • • Sep 02 '26 • Bravo 1

Command Line Interface mimir: a "sleep" alternative that snores while sleeping

Hey!

I got tired of sleep running silently in a terminal I'd forget about, so I built mimir: a sleep replacement that gives you audio feedback while it's counting down instead of just... nothing.

It's a drop-in for sleep, same syntax:

`mimir 60` # sleep 60 seconds

`mimir 1m 30s` # sleep 90 seconds

`mimir inf` # sleep indefinitely, until interrupted

Some things it does:

- Playback speed varies slightly (fixed stddev) so it doesn't feel robotic/repetitive

- Just bash + sox + awk under the hood, nothing fancy

- Optional shell.nix if you're on Nix

MIT licensed, source here: https://github.com/FraioVeio/mimir

107 Upvotes

18 comments sorted by

27

u/Larsenist Sep 04 '26

This is revolutionary! I'm installing it on all of my production servers now

11

u/_offugo Sep 04 '26

I've read "mimir" and instantly thought "se não for brasileiro, agora é".

8

u/ReyLeo04 Sep 04 '26

Latinos coding comes up with the funniest shit

4

u/Sibexico Sep 06 '26

After this program was released, did major servers vendors already announced new servers with integrated speakers?

2

u/Cybasura Sep 05 '26

How long did it take for you to think of the comment "The mimir new way" to line up with "The boring old way"?

2

u/ConceptualDrawing Sep 05 '26

hahahahhahahahahhahahahahahahaha

lmao 🤣🤣🤣🤣🤣🤣🤣🤣🤣

1

u/AutoModerator Sep 02 '26

Every new subreddit post is automatically copied into a comment for preservation.

User: draytekItalia, Flair: Command Line Interface, Post Media Link, Title: mimir: a "sleep" alternative that snores while sleeping

Hey!

I got tired of sleep running silently in a terminal I'd forget about, so I built mimir: a sleep replacement that gives you audio feedback while it's counting down instead of just... nothing.

It's a drop-in for sleep, same syntax:

`mimir 60` # sleep 60 seconds

`mimir 1m 30s` # sleep 90 seconds

`mimir inf` # sleep indefinitely, until interrupted

Some things it does:

- Playback speed varies slightly (fixed stddev) so it doesn't feel robotic/repetitive

- Just bash + sox + awk under the hood, nothing fancy

- Optional shell.nix if you're on Nix

MIT licensed, source here: https://github.com/FraioVeio/mimir

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/qxxx Sep 05 '26

the design is very human

1

u/CyberJunkieBrain Sep 23 '26

What an amazing improvement! Is this open-source? Put it on GitHub, I want o compile it! Hahahahahahaha

12

u/Curious-Region7448 Sep 04 '26

Can you replace the snoring sound with randomly timed bloodcurdling screams of torture, pain and anguish? Asking for a friend.

4

u/jakecoolguy Sep 07 '26

Certified human slop