chasebank87 / unofficial-fabric-plugin

Integrate fabric by danielmiessler/fabric into Obsidian
MIT License
31 stars 4 forks source link

Fabric Plugin for Obsidian

Try out my new plugin, it accomplishes the same thing as this one without having to have fabric or fabric-connector installed. Currently its in BETA and hasnt been approved by Obsidian yet, but you can install using BRAT in the community plugin repo. Install my plugin using https://github.com/chasebank87/mesh-ai

Updated to work with Fabric 2.0 (Enable fabric 2.0 compatability in the plugin settings)

If you like this plugin, feel free to support the development by buying a coffee:

Buy Me A Coffee

Overview

The Fabric Plugin is an advanced integration tool for Obsidian, designed to enhance content creation and management within the Obsidian ecosystem. It connects to external APIs to fetch and manipulate data based on user-defined patterns and models. The plugin also supports custom pattern management and YouTube link detection.

Features

Prerequisites

  1. Fabric: Install Fabric from danielmiessler/fabric.
  2. Fabric Connector: Install Fabric Connector from chasebank87/fabric-connector.

Installation

To install the Fabric Plugin, follow these steps:

  1. Download the plugin from the official repository.
  2. Place the plugin in your Obsidian's plugins folder.
  3. Enable the plugin from Obsidian's settings under "Community Plugins".

Configuration

Configure the plugin by setting up the necessary API URLs and keys through the plugin settings tab in Obsidian.

Settings

Usage

  1. Pattern Management: Add or remove markdown files in the custom patterns folder to manage patterns.
  2. YouTube Transcription: Autodetect youtube links in current note or clipboard and transcribe them using whisper and then running a pattern against.
  3. Tavily Search: Use the Tavily API to search for relevant content, and process through results through the selected pattern.
  4. Input Sources:
    1. Current Note: Uses the current active note as the source to be sent to fabric.
    2. Clipboard: Uses the clipboard as the source to be sent to fabric.
    3. Tavily: Uses Tavily Search results as the source to be sent to fabric.
  5. Pattern Selection: Choose a pattern from the available custom or built in patterns to process the input data.
  6. Models: Select a model from the available options to process the input data and pattern.
  7. Upload Patterns: One way sync to fabric, will create if the custom pattern does not exist, and update if it does
  8. Update Patterns and Models: Refreshes the models and patterns displayed in the dropdowns.

Demonstration

currentNote

Debugging

Toggle the debug mode in settings to view detailed logs in the console. This can help in tracing issues and understanding the flow of data.

Contributions are welcome. Please fork the repository, make changes, and submit a pull request for review.

License

This project is licensed under the MIT License - see the LICENSE file for details.


For more information on usage and configuration, refer to the detailed comments within the codebase or visit the Fabric Plugin Documentation.