God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Ell – A command-line interface for LLMs written in Bash https://ift.tt/6Fq1yM9
Show HN: Ell – A command-line interface for LLMs written in Bash Hi HN! I've created a CLI tool called "ell" that allows you to interact with LLMs directly from your terminal. Designed with the Unix philosophy in mind, ell is simple, modular, and extensible. You can easily pipe input and output to integrate with other tools. Its templates and hook-based plugins enable you to customize and extend its functionality to suit any needs. Check out the README for usage instructions and examples. I developed this tool because existing solutions often felt too heavy, with many dependencies, or they weren't friendly to piping and customization. I, on the contrary, wrote in almost pure Bash with least dependencies. Additionally, I found a lack of tools that could read past terminal output as context. Imagine encountering an issue in your terminal and being able to directly ask an LLM for help with a simple command—this is now possible with ell (see the demo video). Known limitations: - To maintain simplicity and efficiency, jq is used for JSON parsing. - Cannot avoid curl to sending HTTPS requests. If only there were SSL / TLS support in `/dev/tcp/`! - Perl is used to handle terminal escape sequences because regex in Bash does not support looking around. - Markdown syntax highlighting is not perfect due to the need for streaming output. It relies on a simple state machine instead of a full parser, which may produce falsy results. - Other known issues are listed in Github Issues. Please help add more! I welcome any criticism and suggestions, whether it's about the idea or code! https://ift.tt/Hv7WNfd August 2, 2024 at 01:55AM
Subscribe to:
Post Comments (Atom)
Show HN: Investor asks "what did engineering ship?" https://ift.tt/1DThgM2
Show HN: Investor asks "what did engineering ship?" Gitmore (https://gitmore.io) – dev visibility for founders and stakeholders. *...
-
A word of prayer for you this month of July. God bless you abundantly, Amen. Fr. Kris Ikegwuonu, MDM. (+234 803 435 7990)
-
Show HN: Applesoft BASIC editor with example programs This is an Applesoft BASIC editor that extracts and updates code into a live Apple II ...
-
Show HN: A Spotify player in the terminal with full feature parity https://ift.tt/oZgrl1Q July 18, 2024 at 02:57AM
No comments:
Post a Comment