ShellMate
p/shellmate
Give your Mac Terminal superpowers.
Sam Odio
ShellMate AI — A Mac terminal productivity tool powered by OpenAI
Featured
44
ShellMate is a lightweight, open-source app that gives you superpowers in your Mac Terminal. It will observe what you're doing and detect errors, suggest fixes, or even suggest the next command you haven't run yet but should.
Replies
Best
Sam Odio
For developers, everything starts and ends in Terminal. You want to keep your hands on the keyboard, not reach for your mouse to go to ChatGPT. This is why we built ShellMate (at first, just for ourselves). It’s for devs that still use the Mac Terminal (like we do) and want an easy way to layer in AI assistance. Shellmate gives you dynamic error correction and guidance seamlessly in the Mac Terminal while keeping you in the flow. You can: - Use ShellMate to detect & fix errors. - Ask ShellMate questions about your Mac Terminal context. - Highlight text to call Shellmate's "attention" to a particular issue. I hope you’re as excited about it as I am. I’d love your help in developing it further, which is why we’re open sourcing it. Contributions welcome! Thanks for your interest and let me know what you think!
Sam Odio
@dash4u You can see in the demo-video (1 min 5 sec in) a multi-step process where ShellMate is walking me through several steps to run a python script:
Right now, the logic is pretty simple, but with Mac's Accessibility access, we're able to use prior Terminal context (even text that has scrolled off the screen) and prior commands to infer your current intent. That seems to be pretty effective at diagnosing the error you're experiencing in most cases.
Gabe Perez
Literally made Terminal a magical experience. I asked it for an impressive command and it gave me telnet towel.blinkenlights.nl which then proceeded to play Star Wars right in the Terminal lol
Does it work with 3rd party terminal emulators like Ghostty, Alacritty, Kitty, iTerm, etc. Almost nobody that I know uses the macOS Terminal due to its slow speed and lack of true color support, etc.
Sam Odio
@jdsimcoe Not yet, but it's OSS, so anyone could add support! https://github.com/srosro/deepsp...
Gabor Cselle
I use this daily (Sam let me try it early since we work in the same incubator's offices) and it gives me helpful terminal suggestions without getting in the way.
Daniel Delattre
This app is truly a game changer for the day-to-day experience of an engineer. I'm very accustomed to using the Linux terminal—in fact, I do everything within the terminal. There are always situations where I forget some commands, like fixing my keyboard layout or editing a video with ffmpeg. When I'm on my macOS device, I feel incredibly empowered in the terminal, as if I have infinite memory to recall all the important commands and arguments. I've noticed how much I rely on ShellMate for everyday tasks when I'm on Linux and don't have the app available. Thank you so much for the investment and effort put into developing an app like this. @sodio @mary_dyer
Amensa Hulk
SheIIMate is a lifesaver ! Being able to ask for commands right in the terminal has saved me so much time .
Kristian Mischke
This looks really neat! Is there any way to use a local llm like ollama?
Ema Elisi
Congrats on launching ShellMate, @sodio! This looks like a game-changer for Mac Terminal users. The seamless AI integration for error handling will definitely boost productivity. Excited to see how the community contributes to its development. Can't wait to try it out! Upvoted!
Ghost Kitty
Comment Deleted
Elke
This looks really promising, @sodio! The focus on staying in the flow while coding is essential for productivity. Can’t wait to try out ShellMate and contribute to its development! Upvote!
Sam Odio
@elke_qin Thanks, Elke! Yes please take a look at the repo and consider contributing/extending its functionality: https://github.com/srosro/deepsp... PS - have you published 24 apps on product hunt? woah! niice.
Robert Thomas
This sounds like a fantastic tool for devs, @sodio! I'm curious—how does ShellMate handle complex command scenarios, especially for less common terminal commands? Also, will there be an option to customize the suggestions it provides? I'm wondering about the balance between guidance and keeping the workflow fluid. Looking forward to seeing how it evolves!
Daniel Delattre
@sodio @robertthomas2 Currently, you can expect the same level of intelligence from ShellMate as you do when getting help from ChatGPT, as the tool uses the GPT-4.0 model to process terminal content. Whether you provide tips to ShellMate about what you want to execute (which can be a natural language description) or rely on your terminal command history—context—plus your current attempt, ShellMate is designed to infer your intention and provide appropriate suggestions. Even for tasks that typically require multiple commands, it will do its best to suggest a single command to solve everything, combining smaller commands with &&, for example.
dashuai
This looks like a game changer! As a dev who often works in Terminal, I can appreciate how ShellMate could save time and reduce friction. The ability to get suggestions directly in-context is fantastic. Excited to see where this goes, @sodio! Definitely upvoting this!
AwesomeYang
ShellMate is really shaping up to be an essential tool for any developer using Mac Terminal! The ability to detect and fix errors on the fly is a huge time-saver, and the way it can suggest the next command is a neat touch that really keeps your workflow smooth. I love that it’s built specifically for those of us who prefer to keep our hands on the keyboard rather than hopping over to other apps for help. The interactive aspect, where you can highlight text to get ShellMate’s attention, feels super intuitive and takes the frustration out of debugging. Plus, it’s great to see you’re open-sourcing it and inviting contributions from the community! I can definitely see potential for integrating even more intelligent suggestions or even learning from frequent tasks. Looking forward to seeing how ShellMate evolves!
Anne Boehm
The sm shortcut is so intuitive and easy to use. Good luk!
Alex
This is exactly what the Terminal needed! As a fellow dev, I always find myself troubleshooting errors and losing my focus. ShellMate sounds like the perfect companion to keep that coding flow uninterrupted. Love that it’s open-source too - can't wait to dive in and contribute! 🖥️ @sodio, you’re onto something awesome here! Let’s ship it!
William Scott
Congratulations on launching ShellMate, @sodio! It sounds like a game-changer for developers who rely heavily on the Mac Terminal. The prospect of AI-assisted command suggestions and error corrections is thrilling. I'm excited to see this project evolve—open-sourcing it is a smart move for gathering contributions. Can’t wait to see how it boosts productivity! Keep it up!
Bryan
This is really intriguing, @sodio! ShellMate sounds like a game changer for anyone living in the Terminal. I mean, who hasn’t felt the pain of a syntax error when you’re just trying to get things done? The whole idea of having a supportive AI buddy that suggests not only fixes but the next command is genius! Open sourcing it is a great move; it’ll be cool to see how the community contributes to its evolution. I can already envision it being a part of every dev's workflow—no more mouse reach for me! Can't wait to test it out and see if it really keeps me in the flow. Looking forward to seeing the growth and any new features that come out of this! 💻
seshu bonam
awesome work and most accessible offering for experimenting with LORAs
Dylan
Loving the idea behind ShellMate! Integrating AI directly into the terminal makes it so much easier to catch and fix errors on the fly
Kevin Wu
Nice tool for developers. Finally they don't have to remember all options for commands.