danielmiessler.fabric/web
dependabot[bot] 704ef832ca
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 1 update in the /web directory: [yaml](https://github.com/eemeli/yaml).


Updates `yaml` from 2.8.2 to 2.8.3
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.2...v2.8.3)

Updates `yaml` from 1.10.2 to 1.10.3
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.2...v2.8.3)

Updates `flatted` from 3.4.1 to 3.4.2
- [Commits](https://github.com/WebReflection/flatted/compare/v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-version: 2.8.3
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: yaml
  dependency-version: 1.10.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 14:03:37 +00:00
..
.github john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
.vscode john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
legacy docs: reorganize web documentation and add installation scripts 2025-05-23 17:47:33 -07:00
myfiles Remove personal development notes from tracking 2025-02-19 21:55:00 -05:00
src fix: redact API keys in config responses and eliminate shell injection surfaces 2026-03-06 08:53:46 -08:00
static feat: add greybeard_secure_prompt_engineer pattern for secure prompts 2026-01-17 09:16:46 -08:00
.browserslistrc feat: upgrade PDF.js to v4.2 and refactor worker initialization 2025-05-24 00:29:20 -07:00
.npmrc chore: update dependencies and simplify web UI install 2026-02-28 09:42:10 -08:00
.prettierignore john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
.prettierrc john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
eslint.config.js john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
jsconfig.json john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
my-custom-theme.ts john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
package-lock.json chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates 2026-03-26 14:03:37 +00:00
package.json chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates 2026-03-26 14:03:37 +00:00
pnpm-lock.yaml chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates 2026-03-26 14:03:37 +00:00
postcss.config.cjs john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
postcss.config.js john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
README.md chore: update dependencies and simplify web UI install 2026-02-28 09:42:10 -08:00
rollup.config.js House Keeping: Added missing png. Removed more unused 2024-12-30 10:13:46 -05:00
STD-README.md john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
svelte.config.js Development checkpoint - Web UI enhancements with complete directory structure 2025-02-19 21:47:10 -05:00
tailwind.config.ts Updated POSTS to make main 24-12-08 2024-12-24 05:18:36 -05:00
tsconfig.json Updates 2024-12-16 18:40:15 -05:00
vite.config.ts chore: extend proxy timeout in vite.config.ts to 15 minutes 2025-07-21 12:16:15 -07:00

Fabric Web App

A user-friendly web interface for Fabric built with Svelte, Skeleton UI, and Mdsvex.

Fabric Web App Preview Alt: Screenshot of the Fabric web app dashboard showing pattern inputs and outputs.

Table of Contents

Installation

Note

Requires Node.js ≥18 and Fabric installed globally (fabric --version to check).

From the web/ directory:

Using npm:

npm install

Or using pnpm (recommended for speed):

pnpm install

This will install all dependencies including Svelte, PDF-to-Markdown libraries, and run necessary setup tasks.

Running the App

Prerequisites

Start Fabric's server in a separate terminal:

fabric --serve

(This exposes Fabric's API at http://localhost:8080)

Launch the Svelte App

In the web/ directory:

Using npm:

npm run dev

Or using pnpm:

pnpm run dev

Visit http://localhost:5173 (default port).

Streamlit UI

For Python enthusiasts, this alternative UI excels at data visualization and chaining complex patterns. It supports clipboard ops across platforms (install pyperclip on Windows, xclip on Linux).

  • macOS: Uses pbcopy and pbpaste (built-in)
  • Windows: Uses pyperclip library (install with pip install pyperclip)
  • Linux: Uses xclip (install with sudo apt-get install xclip or equivalent for your Linux distribution)

Key Features

  • Run and edit patterns with real-time previews.
  • Analyze outputs with charts (via Matplotlib/Seaborn).
  • Export results to Markdown or CSV.

Setup and Run

From web/:

pip install -r requirements.txt #Or: pip install streamlit pandas matplotlib seaborn numpy python-dotenv pyperclip
streamlit run streamlit.py

Access at http://localhost:8501 (default port).

Obsidian Integration

Turn web/src/lib/content/ into an Obsidian vault for note-taking synced with Fabric patterns. It includes pre-configured .obsidian/ and templates/ folders.

Quick Setup

  1. Open Obsidian: File > Open folder as vault > Select web/src/lib/content/
  2. To publish posts, move them to the posts directory (web/src/lib/content/posts).
  3. Use Fabric patterns to generate content directly in Markdown files.

Tip

When creating new posts, make sure to include a date (YYYY-MM-DD), description, tags (e.g., #ai #patterns), and aliases for SEO. Only a date is needed to display a note. Embed images (![alt](path)), link patterns ([[pattern-name]]), or code blocks for reusable snippets—all in standard Markdown.

Contributing

Refer to the Contributing Guide for details on how to improve this content.