July 16th, 2024

Show HN: Magic-cli – A copilot for your command line

The GitHub repository for Magic CLI enhances command line operations using LLMs. It includes command suggestions, task command generation, installation methods, configuration options, roadmap, security protocols, and contribution guidelines. Inquiries welcome.

Read original articleLink Icon
ProjectsSuggestionsAlternatives
Show HN: Magic-cli – A copilot for your command line

The GitHub repository at the provided URL pertains to Magic CLI, a command line utility leveraging LLMs to enhance command line operations. It offers features like command suggestions and task command generation, along with installation methods and configuration options. The repository also outlines the project's roadmap, security protocols, and contribution guidelines. For further information or support regarding Magic CLI, inquiries are welcome.

Related

Show HN: Triplit – Open-source syncing database that runs on server and client

Show HN: Triplit – Open-source syncing database that runs on server and client

The GitHub URL provides details on `@changesets/cli`, a tool for versioning and publishing code in multi-package and single-package repositories. Full documentation and common questions are accessible in their repository.

Show HN: Glasskube – Open Source Kubernetes Package Manager, alternative to Helm

Show HN: Glasskube – Open Source Kubernetes Package Manager, alternative to Helm

The GitHub repository for Glasskube, a Kubernetes package manager, offers a user-friendly CLI/UI, package management, secure updates, GitOps integration, reactions/comments, and support for private packages. It includes installation guides, architecture, support channels, and contribution guidelines.

Show HN: Improve LLM Performance by Maximizing Iterative Development

Show HN: Improve LLM Performance by Maximizing Iterative Development

Palico AI is an LLM Development Framework on GitHub for streamlined LLM app development. It offers modular app creation, cloud deployment, integration, and management through Palico Studio, with various components and tools available.

My List of CLI Gems

My List of CLI Gems

The article discusses various CLI gems for package management, categorized into sections like Utilities, Git tools, and more. Highlighted gems include fzf, bat, lazygit, tmux, and dua-cli for different functionalities.

MobileLLM: Optimizing Sub-Billion Parameter Language Models for On-Device Use

MobileLLM: Optimizing Sub-Billion Parameter Language Models for On-Device Use

The GitHub repository contains MobileLLM code optimized for sub-billion parameter language models for on-device applications. It includes design considerations, code guidelines, outcomes on common sense reasoning tasks, acknowledgements, and licensing details. Contact repository individuals for support.

AI: What people are saying
The comments on the GitHub repository for Magic CLI discuss various aspects and comparisons with other tools.
  • Several users compare Magic CLI to other tools like Termium, Warp, and aichat, noting similarities and differences.
  • Concerns are raised about the default "unsafe-execution" mode, suggesting it should be "clipboard" by default for safety.
  • Some users share their own simpler implementations or alternatives, questioning the complexity of Magic CLI.
  • There are mentions of other similar projects and tools, such as please-cli, llm-cmd, and open-interpreter.
  • Comments also touch on the user experience and potential pitfalls, referencing historical issues with similar tools.
Link Icon 28 comments
By @Carrok - 3 months
Default mode should probably not be “unsafe-execution” but instead should be “clipboard”. Make people turn on the unsafe mode.
By @notarealllama - 3 months
Huh, and I'm here running llama 3 locally (and claude.ai for less complex stuff), asking well formatted and specific questions and still adjusting the output before implementing it.

Besides I need .sh scripts not just cli completion.

But this reminds me of warp. Gonna have to give it a spin in the morning.

By @pcwelder - 3 months
I've been using https://github.com/tom-doerr/zsh_codex with gpt4-o and it saves a lot of strokes as compared to github copilot cli to query, since I just have to press ctrl-x in addition to the prompt.

Magic-cli also seems to be using same workflow as github copilot, so I'm not rushing to use it.

By @computatrum - 3 months
By @teddyh - 3 months
Beware the pitfalls of yesteryear: <http://www.catb.org/~esr/jargon/html/D/DWIM.html>
By @ano-ther - 3 months
Neat. How does it compare to https://llm.datasette.io/en/stable/ ?
By @boomskats - 3 months
This is nice. I've been taking Termium[0] for a spin and it's been pretty great for the most part, but the Rumsfeld-complete always-on autosuggest/copilot UX they're aiming for does feel like a bit of a compromise.

On occasions when I do know what I don't know, and want to specifically opt in, this looks perfect.

[0]: https://codeium.com/blog/termium-codeium-in-terminal-launch

By @pmarreck - 3 months
I have a single Bash function called "please" that basically does the same thing

https://github.com/pmarreck/dotfiles/blob/master/bin/functio...

By @sathishvj - 3 months
My version called "gencmd" also has a web page, supports multiple models, and also has org+groups support. Please try it out - would love your feedback. https://gencmd.com/
By @bongodongobob - 3 months
Can I ask why it's so complicated? I made something similar about a year ago and it's less that 150 lines of Python. Gives you an explanation, option to run it with/without sudo, pretty colors, etc.

I guess I'm not very familiar with Rust but it just seems like a lot for what it does.

By @h43z - 3 months
I've never seen this extra measure "curl --proto '=https' ..."
By @kordlessagain - 3 months
I got stuck on setting the ollama.embedding_model. No clue what to do.
By @darby_nine - 3 months
How's the latency?
By @tiberriver256 - 3 months
I'll bet this was a lot of fun to make. Very cool project.

Was there any particular motive for building your own over using something that's been around a bit longer like aichat?

https://github.com/sigoden/aichat

By @xp84 - 3 months
I'm not affiliated with it, but I've been using the Warp terminal program for a few months now and suspect that if you're interested in this kind of thing, you might like that too.

In short, besides the obvious AI stuff, which works well:

- You can edit the command line as though it's in a GUI program (including with mouse, etc) instead of it being inside the terminal where you need to use different keybindings and no mouse.

- When in a shell, instead of your window being one long stream of text, each command and each output is a discrete area, so it's easier to, say, select the whole output of a command.

By @rekttrader - 3 months
We as a computing populace are getting more and more comfortable with footguns.
By @icholy - 3 months
By @voodooEntity - 3 months
Funny, i recently build something really similar ^^

https://github.com/voodooEntity/go-clibuddy

By @renewiltord - 3 months
All of these solutions seemed very heavyweight in my usage. I wanted something that fit within my existing flow and using copilot.vim, EDITOR=nvim, C-x C-e was the solution for me. https://news.ycombinator.com/item?id=40911564

It's very composable and I can do incremental work with it.

By @Xen9 - 3 months
The general concept is limited "command line" as means of giving a single agent agency without the need to program every integration separatively.

The AGI version is "command line" also enabling the agents to communicate, modify, make each other.

By @fragmede - 3 months
https://github.com/KillianLucas/open-interpreter/ is my preferred implementation of approximately the same thing