Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

Create setup_fabric.bat, a batch script to automate setup and running…

Open Thepathakarpit opened this issue 1 year ago • 2 comments

What this Pull Request (PR) does

Automates setup and usage of fabric in really user friendly way in one command. -It does the following:

  1. Checks for administrator privileges.
  2. Installs Chocolatey (a package manager for Windows) if it's not already installed.
  3. Uses Chocolatey to install Go and Git if they're not already installed.
  4. Installs Fabric and the yt helper using go install.
  5. Runs Fabric setup.
  6. Prompts the user for YouTube and OpenAI API keys and adds them to the Fabric configuration.
  7. Provides a menu-driven interface to:
  8. Run Fabric with custom options -List patterns -List models -Update patterns -Exit the script

Just open cmd as an administrator run setup_fabric.bat (move to folder where it is saved first) and done it will do everything and ask for all the required info from users.

Thepathakarpit avatar Aug 22 '24 03:08 Thepathakarpit

We need some folks with Windows experience to comment on whether this is a good approach for assisting Windows installs.

danielmiessler avatar Sep 08 '24 00:09 danielmiessler

We need some folks with Windows experience to comment on whether this is a good approach for assisting Windows installs.

I have no coding knowledge but with this bat file I was able to install Fibre for windows faster with some assistance from chatgpt. So yes, this approach is a blessing for noobs who have no idea what is going on with the setup.

I am still wondering how to use the new GUI, using the right sequence of pattern prompts/commands, how to integrate Fibre with Crewai and Agent-Zero. I am learning VScode and Python so I can better understand and use it.

phil9 avatar Sep 09 '24 13:09 phil9