+----------------------------------------------------------------------------+
| Fabric Installation Guide |
| |
| For Fedora 41 Laptop |
| |
+----------------------------------------------------------------------------+
| |
| 1. Download Fabric |
| > curl -L https://github.com/danielmiessler/fabric/releases/latest/ |
| download/fabric-linux-amd64 > fabric && chmod +x fabric && ./fabric |
| --version |
| |
| Ensure /home/r3dact3d/bin/ is in $PATH. |
| > echo $PATH |
| > cd && mkdir bin && mv fabric bin/ && fabric --help |
| |
| |
| 2. Initial Setup |
| > fabric --setup |
| |
| 3. Configure AI Vendors |
| Select Mistral (Plugin Number: 9) |
| > Enter your Mistral API KEY: ***********************************Uni |
| > Enter your Mistral API BASE URL (leave empty): |
| |
| 4. Configure Tools |
| Select Default AI Vendor and Model (Plugin Number: 10) |
| > Available models: |
| [1] ministral-3b-2410 |
| [2] ministral-3b-latest |
| ... |
| [18] mistral-small-2409 |
| [19] mistral-small-latest |
| [20] mistral-medium-2312 |
| ... |
| Enter default model index: 18 |
| Enter model context length: |
| |
| 5. Download Patterns |
| (Plugin Number: 11) |
| > Enter default Git repository URL: |
| > Enter folder for patterns: |
| |
| 6. Install Required Tools |
| > sudo dnf install golang-bin |
| > go install github.com/danielmiessler/fabric/plugins/tools/to_pdf@latest |
| > sudo dnf install -y xclip xsel |
| > alias pbcopy='xsel --clipboard --input' |
| > alias pbpaste='xclip -selection clipboard -o' |
| |
| |
| 7. Run Example Commands |
| > fabric -p enrich_blog_post -o /home/r3dact3d/working/foamy-stuff/dump.md |
| -u https://r3dact3d.github.io |
| |
| 8. Chain Patterns |
| > pbpaste | fabric -p create-mermaid-visualization |
| |
| |
| 9. More Patterns to Try |
| > analyze_logs |
| > create_5_sentence_summary |
| > humanize |
| > create_formal_email |
| > [Uncle Duke](https://github.com/danielmiessler/fabric/blob/main/ |
| patterns/ask_uncle_duke/system.md) |
| |
| 10. Pattern Ideas |
| > [[Bee Keeper]] |
| > [[Metrics Expert]] |
| > [[AI chatbot]] |
| > [[PKM Bot]] |
| > [[Social Bot]] |
| |
| 11. Prompt Prompts |
| > summarize_prompt |
| > suggest_pattern |
| > create_pattern |
| > improve_prompt |
| |
| 12. Custom Prompts |
| > [[ask_brad_automation]] |
| > [[ham_radio_op]] |
| > [[ham_radio_base]] |
| > [[net_report]] |
| > [[write_blog]] |
| |
+----------------------------------------------------------------------------+
VISUAL EXPLANATION:
- Title: Fabric Installation and Setup Guide for Fedora 41 Laptop
- Steps:
- Download Fabric Binary
- Initial Setup
- Configure AI Vendors (Mistral)
- Configure Tools and Models
- Download Patterns
- Install Required Tools
- Run Example Commands
- Chain Patterns
- More Patterns to Try
- Pattern Ideas
- Prompt Prompts
- Custom Prompts
- Format: Each step is clearly outlined with commands and explanations.
- Labels: Steps are numbered and labeled for easy reference.