Skip to content

GarretteBaker/obsidian-fatebook

Repository files navigation

Fatebook Predictions for Obsidian

Create Fatebook predictions directly within Obsidian and preview them via hover tooltips.

Features

  • Create new Fatebook predictions without leaving Obsidian
  • Hover over Fatebook links to preview predictions
  • Automatic markdown link generation for easy sharing

Installation

This plugin is not available in the Obsidian Community Plugins store. To install:

  1. Open Terminal/Command Prompt
  2. Navigate to your vault's plugin directory:
    cd /path/to/vault/.obsidian/plugins
  3. Clone this repository (requires Git):
    git clone https://github.com/GarretteBaker/obsidian-fatebook.git fatebook-predictions
  4. Enter the plugin directory:
    cd fatebook-predictions
  5. Install dependencies and build (requires Node.js and npm):
    npm install
    npm run build
  6. Restart Obsidian
  7. Enable the plugin in Settings → Community plugins

Setup

  1. Get your Fatebook API key from fatebook.io
  2. Open Obsidian Settings
  3. Go to "Fatebook Predictions" settings tab
  4. Enter your API key

Usage

Creating Predictions

  1. Use the command palette (Ctrl/Cmd + P) and search for "Create New Prediction"
  2. Fill in:
    • Question: What you're predicting
    • Forecast: Your probability estimate (0-1)
    • Resolve By: Resolution date (YYYY-MM-DD)
  3. Click "Create Prediction"
  4. A markdown link will be copied to your clipboard

Viewing Predictions

Hover over any Fatebook link to see a preview of the prediction.

Updating the Plugin

  1. Open Terminal/Command Prompt and navigate to the plugin directory:
    cd /path/to/vault/.obsidian/plugins/fatebook-predictions
  2. Pull the latest changes (requires Git):
    git pull
  3. Install dependencies and rebuild (requires Node.js and npm):
    npm install
    npm run build
  4. Restart Obsidian

Development

To work on the plugin:

  1. Clone as described in Installation
  2. npm run dev to start compilation in watch mode

Appendix: Development Prerequisites

Installing Git

  1. Windows: Download and install from git-scm.com
  2. macOS: Install via Homebrew with brew install git
  3. Linux: Use your package manager (e.g., apt install git on Ubuntu)

Installing Node.js and npm

  1. Download Node.js from nodejs.org
  2. Choose the LTS (Long Term Support) version
  3. npm is included with Node.js
  4. Verify installation:
    node --version
    npm --version

Support

If you encounter issues or have feature requests, please open an issue on GitHub.

About

Fatebook for obsidian

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published