## WORKSPACE EXECUTIVE SUMMARY (YAML)
# Generated: 2026-05-23T07:48:43.1838976+02:00
# Root: E:\ollama_net\ollama\AuthorBuddy.Web
Architecture:
  Type: Backend (C#/.NET)
  Scale: 42 relevant source files
  Components: 0
  Controllers: 0
  Models: 8
  Services: 18
---
- File: AuthorBuddy.Web.csproj
  Preview: "<Project Sdk='Microsoft.NET.Sdk.Web'>  <PropertyGroup>   <TargetFramework>net10.0</TargetFramework>   <Nullable>enable</Nullable>   <ImplicitUsings>en..."
- File: appsettings.Development.json
  Preview: "{  'Logging': {   'LogLevel': {    'Default': 'Information',    'Microsoft.AspNetCore': 'Warning'   }  } } "
- File: appsettings.json
  Preview: "{  'Logging': {   'LogLevel': {    'Default': 'Information',    'Microsoft.AspNetCore': 'Warning'   }  },  'AllowedHosts': '*' } "
- File: AuthorBuddy.Web.slnx
  Preview: "<Solution>  <Project Path='AuthorBuddy.Web.csproj' /> </Solution> "
- File: Program.cs
  Preview: "using AuthorBuddy.Web.Components; using AuthorBuddy.Web.Models; using AuthorBuddy.Web.Services; using LiteDB; using Microsoft.AspNetCore.Authenticatio..."
- File: Data\DocumentMetaEntity.cs
  Symbols: [DocumentMetaEntity]
  Preview: "namespace AuthorBuddy.Web.Data; public class DocumentMetaEntity {   public int Id { get; set; }   public int? ProjectId { get; set; }   public string ..."
- File: Data\DocumentVector.cs
  Symbols: [DocumentVector]
  Preview: "namespace AuthorBuddy.Web.Data; public class DocumentVector {   public int Id { get; set; }   public int DocumentMetaId { get; set; }   public int Pro..."
- File: Data\ProjectEntity.cs
  Symbols: [ProjectEntity]
  Preview: "namespace AuthorBuddy.Web.Data; public class ProjectEntity {   public int Id { get; set; }   public string Name { get; set; } = string.Empty;   public..."
- File: Data\SettingEntity.cs
  Symbols: [SettingEntity]
  Preview: "using LiteDB; namespace AuthorBuddy.Web.Data; public class SettingEntity {   public int Id { get; set; }   public string Key { get; set; } = string.Em..."
- File: Data\UserEntity.cs
  Symbols: [UserEntity]
  Preview: "namespace AuthorBuddy.Web.Data; public class UserEntity {   public int Id { get; set; }   public string Name { get; set; } = string.Empty;   public st..."
- File: Models\Chapter.cs
  Symbols: [Chapter]
  Preview: "namespace AuthorBuddy.Web.Models; public class Chapter {   public string Title { get; set; } = string.Empty;   public string FilePath { get; set; } = ..."
- File: Models\Constants.cs
  Symbols: [Constants]
  Preview: "namespace AuthorBuddy.Web.Models; public static class Constants {   public static readonly string[] SubFolders = {     '00_Drafts',     '01_Fakten/Per..."
- File: Models\FileTreeItem.cs
  Symbols: [FileTreeItem]
  Preview: "namespace AuthorBuddy.Web.Models; public class FileTreeItem {   public string Name { get; set; } = string.Empty;   public string FullPath { get; set; ..."
- File: Models\LLM_Model.cs
  Symbols: [LLM_Model, LLM_Model]
  Preview: "using System.Text.Json; namespace AuthorBuddy.Web.Models {   public class LLM_Model   {       public LLM_Model(JsonElement model)     {       if (mode..."
- File: Models\ModelStatus.cs
  Symbols: [ModelStatus]
  Preview: " //namespace AuthorBuddy.Web.Models; //public class ModelStatus //{ //  public string Status { get; private set; } = 'Unknown'; //  public double Prog..."
- File: Models\OllamaSettings.cs
  Symbols: [OllamaSettings]
  Preview: "namespace AuthorBuddy.Web.Models; public class OllamaSettings {   public string StyleModel { get; set; } = 'gemma4:e4b';   public string EmbedModel { ..."
- File: Models\Project.cs
  Symbols: [Project]
  Preview: "namespace AuthorBuddy.Web.Models; public class Project {   public int Id { get; internal set; }   public string Name { get; internal set; } = string.E..."
- File: Models\WikipediaResult.cs
  Symbols: [WikipediaResult]
  Preview: "namespace AuthorBuddy.Web.Models; public class WikipediaResult {   public string Title { get; set; } = string.Empty;   public string Snippet { get; se..."
- File: Properties\launchSettings.json
  Preview: "{  '$schema': 'https://json.schemastore.org/launchsettings.json',   'profiles': {    'http': {     'commandName': 'Project',     'dotnetRunMessages': ..."
- File: Resources\de.json
  Preview: "{  'common.status.ready': 'Bereit',  'common.cancel': 'Abbrechen',  'common.error': 'Fehler:',  'common.copy': 'Kopieren',  'common.status.error': 'Fe..."
- File: Resources\en.json
  Preview: "{  'common.status.ready': 'Ready',  'common.cancel': 'Cancel',  'common.error': 'Error:',  'common.copy': 'Copy',  'common.status.error': 'Error',  'p..."
- File: Services\AuthService.cs
  Symbols: [AuthService]
  Preview: "using AuthorBuddy.Web.Data; using LiteDB; namespace AuthorBuddy.Web.Services; public class AuthService : IAuthService {   private readonly ILiteDataba..."
- File: Services\CustomAuthStateProvider.cs
  Symbols: [CustomAuthStateProvider]
  Preview: "using System.Security.Claims; using Microsoft.AspNetCore.Components.Authorization; namespace AuthorBuddy.Web.Services; public class CustomAuthStatePro..."
- File: Services\FileScannerService.cs
  Symbols: [FileScannerService]
  Preview: "using AuthorBuddy.Web.Data; using LiteDB; namespace AuthorBuddy.Web.Services; public class FileScannerService : IFileScannerService {   private readon..."
- File: Services\IAuthService.cs
  Symbols: [IAuthService]
  Preview: "using AuthorBuddy.Web.Data; namespace AuthorBuddy.Web.Services; public interface IAuthService {   Task<bool> LoginAsync(string username, string passwo..."
- File: Services\IFileScannerService.cs
  Symbols: [IFileScannerService]
  Preview: "namespace AuthorBuddy.Web.Services; public interface IFileScannerService {   Task ScanProjectFolderAsync(int projectId, string rootPath, IProgress<str..."
- File: Services\ILocalizationService.cs
  Symbols: [ILocalizationService]
  Preview: "namespace AuthorBuddy.Web.Services; public interface ILocalizationService {   string this[string key] { get; }   string Get(string key);   Task InitAs..."
- File: Services\IOllamaService.cs
  Symbols: [IOllamaService]
  Preview: " using AuthorBuddy.Web.Models; namespace AuthorBuddy.Web.Services; public interface IOllamaService {   Task<IEnumerable<LLM_Model>> GetLocalModelsAsyn..."
- File: Services\IProjectService.cs
  Symbols: [IProjectService]
  Preview: "using AuthorBuddy.Web.Models; namespace AuthorBuddy.Web.Services; public interface IProjectService {   Task<int> CreateNewProjectAsync(string projectN..."
- File: Services\IRagService.cs
  Symbols: [IRagServi, RagSearchResult]
  Preview: "namespace AuthorBuddy.Web.Services; public class RagSearchResult {   public string Text { get; set; } = string.Empty;   public string FilePath { get; ..."
- File: Services\ISettingsService.cs
  Symbols: [ISettingsService]
  Preview: "using AuthorBuddy.Web.Data; namespace AuthorBuddy.Web.Services; public interface ISettingsService {   Task<string?> GetOllamaUrlAsync();   Task<string..."
- File: Services\IThemeService.cs
  Symbols: [IThemeService]
  Preview: "namespace AuthorBuddy.Web.Services; public interface IThemeService {   Task ApplyTheme(string theme);   string Theme { get; }  } "
- File: Services\IWikipediaService.cs
  Symbols: [IWikipediaService]
  Preview: "using AuthorBuddy.Web.Models; namespace AuthorBuddy.Web.Services; public interface IWikipediaService {   Task<List<WikipediaResult>> SearchAsync(strin..."
- File: Services\LocalizationService.cs
  Symbols: [LocalizationService]
  Preview: "using System.Text.Json; namespace AuthorBuddy.Web.Services; public class LocalizationService : ILocalizationService {   private readonly ISettingsServ..."
- File: Services\OllamaService.cs
  Symbols: [OllamaService]
  Preview: "using AuthorBuddy.Web.Models; using System.Text.Json; using static System.Net.Mime.MediaTypeNames; namespace AuthorBuddy.Web.Services; public class Ol..."
- File: Services\ProjectService.cs
  Symbols: [ProjectService]
  Preview: "using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using LiteDB; namespace AuthorBuddy.Web.Services; public class ProjectService : IProjectServ..."
- File: Services\RagService.cs
  Symbols: [RagService]
  Preview: "using AuthorBuddy.Web.Data; using LiteDB; using System.Security.Cryptography; using System.Text; namespace AuthorBuddy.Web.Services; public class RagS..."
- File: Services\SettingsService.cs
  Symbols: [SettingsService]
  Preview: "using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using LiteDB; namespace AuthorBuddy.Web.Services; public class SettingsService : ISettingsSe..."
- File: Services\ThemeService.cs
  Symbols: [ThemeService]
  Preview: "using Microsoft.JSInterop; using System.Reflection.Metadata.Ecma335; namespace AuthorBuddy.Web.Services; public class ThemeService : IThemeService {  ..."
- File: Services\TotpHelper.cs
  Symbols: [TotpHelper]
  Preview: "using System.Security.Cryptography; namespace AuthorBuddy.Web.Services; public static class TotpHelper {   private const int TotpSize = 6;   private c..."
- File: Services\WikipediaService.cs
  Symbols: [WikipediaService]
  Preview: "using AuthorBuddy.Web.Models; using System.Text.Json; using System.Web; namespace AuthorBuddy.Web.Services; public class WikipediaService : IWikipedia..."
- File: Components\Layout\ReconnectModal.razor.js
  Preview: "// Set up event handlers const reconnectModal = document.getElementById('components-reconnect-modal'); reconnectModal.addEventListener('components-rec..."
