https://github.com/Luanf/cligpt Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} Luanf / cligpt Public * Notifications * Fork 2 * Star 14 Terminal autocomplete integation with GPT 14 stars 2 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights Luanf/cligpt This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/L] Use Git or checkout with SVN using the web URL. [gh repo clone Luanf/] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @Luanf Luanf Add *.tape and *.gif to .gitignore ... 7f57145 Mar 26, 2023 Add *.tape and *.gif to .gitignore 7f57145 Git stats * 2 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .gitignore Add *.tape and *.gif to .gitignore March 26, 2023 22:29 README.md Add CliGPT script for natural language Linux commands generation March 26, 2023 22:15 cligpt.zsh Add CliGPT script for natural language Linux commands generation March 26, 2023 22:15 install.sh Add CliGPT script for natural language Linux commands generation March 26, 2023 22:15 View code CliGPT Demo Setup Run Thanks for being here README.md CliGPT Streamline your terminal experience by generating Linux commands from natural language queries, reducing the need to leave the terminal for manual web searches. Demo [6874747073] Setup chmod +x install.sh ./install.sh This will copy CliGPT into your .zshrc file. Modify it accordingly if you are not a zsh user. Make sure you have the OPENAI_API_KEY environment variable set. You can do so by running: export OPENAI_API_KEY= Or by adding the above command to your .zshrc, or whatever other environment variable setup you prefer. Run cligpt You will be asked to confirm if you want to run the command or not, no need to copy and paste it. Thanks for being here If you enjoyed this, you might like GitGPT - to get suggestions for Git, altough CliGPT can work with Git commands as well. About Terminal autocomplete integation with GPT Resources Readme Stars 14 stars Watchers 2 watching Forks 2 forks Releases No releases published Packages 0 No packages published Languages * Shell 100.0% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.