![]() brew "jq" # Lightweight and flexible command-line JSON processor. brew "fortune" # Infamous electronic fortune-cookie generator (cli-fun) brew "git" # Distributed revision control system brew "git-lfs" # Git "Large File Support" brew "gnu-sed" # GNU implementation of the famous stream editor brew "glib" # ? dependency ? brew "gnu-sed" # brew "go" # Open source programming language to build simple/reliable/efficient software brew "grep" # GNU grep, egrep and fgrep brew "highlight" # Convert source code to formatted text with syntax highlighting brew "htop" # Improved top brew "httpie" # User-friendly cURL replacement (), http /status/418 brew "hub" # Add GitHub support to git on the command-line brew "hugo" # Configurable static site generator brew "imagemagick" # Software suite for displaying, converting, and editing raster image and vector image files. # Try `for i in $(cowsay -l) do cowsay -f $i "$i" done` brew "exa" # Modern replacement for 'ls' brew "exiv2" # EXIF and IPTC metadata manipulation library and tools brew "faas-cli" # OpenFaas CLI tool brew "findutils" # Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed. brew "cowsay" # Configurable talking characters in ASCII art. # Don’t forget to add `$(brew -prefix coreutils)/libexec/gnubin` to `$PATH`. # See brew "ack" # Search tool like grep, but optimized for programmers brew "ansible" # Automate deployment, configuration, and upgrading brew "asciinema" # Record and share terminal sessions brew "bat" # cat on steroids () brew "bitwarden-cli" # Secure and free password manager for all of your devices brew "certbot" # brew "coreutils" # GNU File, Shell, and Text utilities # Install GNU core utilities (those that come with macOS are outdated). prompt_new_command Īfter you are done, run npm run dev to push the update locally to your Raycast.Tap "homebrew/bundle" tap "homebrew/cask" tap "homebrew/core" tap "homebrew/cask-fonts" tap "homebrew/cask-versions" # for Firefox Developer Edition tap "candid82/brew" tap "romkatv/gitstatus" tap "romkatv/powerlevel10k" tap "yqrashawn/goku" tap "zaquestion/tap" # for lab, a Git wrapper for GitLab. You could then read this prompt from the preferences in the new_command.ts file: const prompt = getPreferenceValues ( ). For example, if you want to add a new command called New Command (the corresponding file is new_command.ts), add the following entry to the commands array: , Declare your new command in the package.json file. It's safe to kill the npm run dev process and close the terminal window.ĭepending on the desired behavior of the new command, duplicate the execute.ts or rewrite.ts files. This set of commands should install the extension to Raycast. First, you will need to install the extension from source: cd ~/Developer # or wherever you want to store the extension git clone For example, you can add more commands or change the default model. If you are comfortable with modifying the source code, you can also add more commands to your liking. You will need to provide your OpenAI API key.Ĭustomize your prompts and keyboard shortcuts in the settings. Follow the wizard to finish the setup.Search for ChatGPT Quick Actions using the "Store" command in Raycast.Additionally, I have included some additional features, such as a token counter and a cost estimator. You don't have to remember all these shortcuts, as Raycast also conveniently provide these options in the UI. If the default gpt-3.5-turbo is not powerful enough for you, you may use cmd + shift + R to regenerate the result with gpt-4. If you are not happy with the output, you can regenerate the results with cmd + R. ![]() The output from ChatGPT will stream to the Raycast UI, which allows you to copy the output to your clipboard using the keyboard shortcut enter or paste it directly into your foreground application using cmd + enter. Here is the Summarize shortcut working in the wild: Sorry, your browser doesn't support embedded videos. For Summarize, Refine, and Rewrite, you may customize the prompt in the Extension settings. You can assign a dedicated keyboard shortcut to each of these commands. Rewrite: Rewrite the the selected text using an academic tone.Refine: Refine the writing of the selected text.Summarize: summarize and explain the selected text for you.Execute: Similar to preview, but directly pastes the result into your foreground application.Preview: use your selected text (e.g., "Write me an email about blah blah") as the input, then stream the output to the Raycast UI.Several commands available in the Raycast Extension.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |