Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Fabric Web UI #1165

Merged
merged 8 commits into from
Nov 26, 2024
Merged

feat: Fabric Web UI #1165

merged 8 commits into from
Nov 26, 2024

Conversation

johnconnor-sec
Copy link
Contributor

@johnconnor-sec johnconnor-sec commented Nov 26, 2024

What this Pull Request (PR) does

Adds a Web Interface to Fabric

The goal is to not only provide a user interface for Fabric, but also a out-of-the-box website for those who want to get started with web development or blogging.
Users can use this app as a GUI interface for Fabric, a ready to go blog-site, and / or a website template for their own projects.

Overview

This PR introduces a web interface for Fabric, built with SvelteKit, that serves multiple purposes:

  1. Provides a GUI interface for Fabric operations
  2. Offers a ready-to-use blog platform
  3. Serves as a customizable website template

Key Changes

Web Interface (/web)

  • Added a new SvelteKit application for the frontend interface
  • Features include:
    • Chat interface
    • Blog post layout system
    • Tag management
    • Modern, responsive design
    • Dark mode support

REST API (/restapi)

  • Enhanced API endpoints to support web interface operations
  • Added new routes for:
    • Chat interactions
    • Pattern management
    • Session handling
    • Storage operations
    • Configuration management

CLI Updates

  • Modified cli.go to support web interface integration

Technical Details

  • Framework: SvelteKit chosen for its:
    • Component-based architecture
    • Built-in routing
    • Excellent developer experience
    • Small bundle size
    • Server-side rendering capabilities

Related issues

N/A

Screenshots

image

@johnconnor-sec johnconnor-sec changed the title Fabric Web UI feat: Fabric Web UI Nov 26, 2024
@eugeis eugeis merged commit eceb10b into danielmiessler:main Nov 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants