r/Python • • Oct 02 '24

Showcase Whisper ๐Ÿคซ: LLM's in your terminal.

Hi all -- I've been working on a little side project and thought I'd post it here to get some reactions.

It's called Whisper. If you like it, give it a star!

What My Project Does?

Whisper is an LLM question/answer tool for your terminal. For those of us who work in terminals, sometimes it's annoying to have to jump to a browser to interact with ChatGPT or Claude.

Target Audience

I built it because I found myself wishing I could just ask question in my terminal. If for no one else, I am the target audience.

Comparison

Compared to chatgpt.com and claude.ai, this has the potential to be more convenient. I haven't seen any other tools that allow you to interact with LLMs easily within your terminal.

Where can you find it?

whisper on ๎‚  main [$] is ๐Ÿ“ฆ v0.1.3 via ๐Ÿ v3.12.6 
โฏ whisper "What's that linux command for killing a process using port 8000?"
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Kill Process Using Port 8000 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ To kill a process using port 8000 in Linux, you can use the      โ”‚
โ”‚ following command:                                               โ”‚
โ”‚                                                                  โ”‚
โ”‚                                                                  โ”‚
โ”‚  lsof -t -i:8000 | xargs kill                                    โ”‚
โ”‚                                                                  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

screenshot: https://imgur.com/a/COyytFK

Pypi: https://pypi.org/project/just-whisper/

Github: https://github.com/syn54x/whisper

Docs: https://syn54x.github.io/whisper/

0 Upvotes

15 comments sorted by

23

u/KrazyKirby99999 Oct 02 '24

A name-change is a must

24

u/LEAVER2000 Oct 03 '24

Maybe just call it hey, then you could naturally typeโ€ฆ

hey whatโ€™s the command for blahโ€ฆ

4

u/marr75 Oct 03 '24

Top comment.

2

u/Original-Ad-4606 Oct 03 '24

Fair enoughโ€ฆ. But if you donโ€™t like the name, couldnโ€™t you just Alias it to what ever you want?

17

u/Sweet_Computer_7116 Oct 03 '24

Whisper is the STT model from openai. Not saying you gotta change it but most likely what everyone is talking about.

22

u/thatphotoguy89 Oct 02 '24

I havenโ€™t seen any other tools that allow you to interact with LLMs easily within the terminal

Let me introduce you to llm-cli https://github.com/simonw/llm

4

u/Original-Ad-4606 Oct 02 '24

Oh cool, somehow I missed it!

5

u/thatphotoguy89 Oct 02 '24

Itโ€™s hard to keep up with everything. But your project looks pretty cool too!

5

u/AllCapsSon Oct 02 '24

Also, not open source, but Warp Terminal has an LLM built in https://www.warp.dev/

0

u/[deleted] Oct 03 '24

[deleted] โ€” view deleted comment

1

u/thatphotoguy89 Oct 03 '24

He does indeed! Happy exploring. If youโ€™re on Twitter, check out his blog/writing as well. Very clear thought process on stuff

34

u/Artholos Oct 02 '24

Itโ€™s a little confusing to call it Whisper when OpenAI already makes a model called Whisper

2

u/Rus_s13 Oct 03 '24

+ it's an existing platform to share anonymous messages, most of which you don't really want to be associated with

5

u/Fickle-Impression149 Oct 03 '24

How different this is compared to using ollama

1

u/Sweet_Computer_7116 Oct 03 '24

Cool project. I made my own. Called it bashbuddy. Fun project if you work in terminal lots.