From ca496040de8d6eabad0722cd16af7d7dff6f15b7 Mon Sep 17 00:00:00 2001 From: Daniel Miessler Date: Fri, 16 Aug 2024 13:56:36 -0700 Subject: [PATCH] Massive update to README.md after the Go migration. --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ea0f65..b4d921d 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,6 @@ Application Options: -x, --listcontexts List all contexts -X, --listsessions List all sessions -U, --updatepatterns Update patterns - -A, --addcontext Add a context -c, --copy Copy to clipboard -m, --model= Choose model -u, --url= Choose ollama url (default: http://127.0.0.1:11434) @@ -312,6 +311,30 @@ The content features a conversation between two individuals discussing various t This feature works with all openai and ollama models but does NOT work with claude. You can specify your model with the -m flag +## Helper Apps + +Fabric also makes use of some core helper apps (tools) to make it easier to integrate with your various workflows. Here are some examples: + +`yt` is a helper command that extracts the transcript from a YouTube video. You can use it like this: +```bash +yt https://www.youtube.com/watch?v=lQVcbY52_gY +``` + +This will return the transcript from the video, which you can then pipe into Fabric like this: +```bash +yt https://www.youtube.com/watch?v=lQVcbY52_gY | fabric --pattern extract_wisdom +``` + +### `yt` Installation + +To install `yt`, install it the same way as you install Fabric, just with a different repo name. + +```bash +go install github.com/danielmiessler/yt@latest +``` + +Be sure to add your `YOUTUBE_API_KEY` to `~/.config/fabric/.env`. + ## Meta > [!NOTE]