Post your handy self made command line utilities

Hello fellow Sora enthusiasts! :waving_hand:

I noticed there’s a lack of shared tools and practical CLI utilities in this community, so I wanted to contribute a handy self-contained Bash script I wrote for interactive prompt selection and clipboard copying—perfect for anyone working with Sora AI video generation and photography prompt workflows.


:artist_palette: Why you’ll love this tool

  • Self-contained: Comes preloaded with 10 meticulously crafted, professional photography prompts tailored for Sora’s cinematic lighting and camera lexicon.
  • Interactive: Fuzzy-search prompt titles using fzf for lightning-fast access.
  • Preview: Nicely formatted preview of selected prompts via bat.
  • Clipboard: Automatically copies the full prompt text to your Wayland clipboard using wl-copy.
  • Lightweight: Minimal dependencies, runs entirely in the terminal.
  • Customizable: Easy to extend with your own prompts.

:hammer_and_wrench: Get the Script

I’ve published the full script as a GitHub Gist for easy access and updates:

:backhand_index_pointing_right: soraprompts.sh


:light_bulb: How to use

  1. Download the script locally, e.g.,

    curl -o https://gist.github.com/4ndr0666/5d1cfe1c0b5b9b0f6f1e60ad60ef2ae3
    

2. Make it executable:

   ```bash
   chmod +x soraprompts.sh
   ```

3. Run it:

   ```bash
   ./soraprompts.sh
   ```

4. Use the fuzzy finder menu to select your prompt. The preview will appear, and the prompt will be copied to your clipboard automatically.

:handshake: Share your utilities!

If you’ve created handy CLI tools or scripts for Sora or related AI workflows, please post them here! Let’s build a helpful toolkit repository together.


Happy prompting!
— 4ndr0666

1 Like

Can I say: I don’t get it…

A shell is a long distance away from a web browser with Sora.

How about just switching browser tabs over to such an “interactive selection and copy” web page with more UI?

Then there is no danger of untrusted code running in a terminal.

2 Likes