## WORKSPACE EXECUTIVE SUMMARY (YAML) # Generated: 2026-05-21T10:41:25.5071284+02:00 # Root: E:\ollama_net\ollama\AuthorBuddy.Web Architecture: Type: Backend (C#/.NET) Scale: 38 relevant source files Components: 0 Controllers: 0 Models: 8 Services: 16 --- - File: AuthorBuddy.Web.csproj Preview: " net10.0 enable 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: " " - 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 Preview: "namespace AuthorBuddy.Web.Data; public class DocumentMetaEntity { public int Id { get; set; } public int? ProjectId { get; set; } public string ..." - File: Data\DocumentVector.cs 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 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 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 Preview: "namespace AuthorBuddy.Web.Data; public class UserEntity { public int Id { get; set; } public string Name { get; set; } = string.Empty; public bo..." - File: Models\Chapter.cs Preview: "namespace AuthorBuddy.Web.Models; public class Chapter { public string Title { get; set; } = string.Empty; public string FilePath { get; set; } = ..." - File: Models\Constants.cs Preview: "namespace AuthorBuddy.Web.Models; public static class Constants { public static readonly string[] SubFolders = { '00_Drafts', '01_Fakten/Per..." - File: Models\FileTreeItem.cs 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 Preview: "using System.Text.Json; namespace AuthorBuddy.Web.Models { public class LLM_Model { public LLM_Model(JsonElement model) { if (mode..." - File: Models\ModelStatus.cs Preview: " //namespace AuthorBuddy.Web.Models; //public class ModelStatus //{ // public string Status { get; private set; } = 'Unknown'; // public double Prog..." - File: Models\OllamaSettings.cs Preview: "namespace AuthorBuddy.Web.Models; public class OllamaSettings { public string StyleModel { get; set; } = 'gemma4:e4b'; public string EmbedModel { ..." - File: Models\Project.cs 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 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: Services\AuthService.cs Preview: "using AuthorBuddy.Web.Data; using LiteDB; namespace AuthorBuddy.Web.Services; public class AuthService : IAuthService { private readonly ILiteDataba..." - File: Services\CustomAuthStateProvider.cs Preview: "using System.Security.Claims; using Microsoft.AspNetCore.Components.Authorization; namespace AuthorBuddy.Web.Services; public class CustomAuthStatePro..." - File: Services\FileScannerService.cs Preview: "using AuthorBuddy.Web.Data; using LiteDB; namespace AuthorBuddy.Web.Services; public class FileScannerService : IFileScannerService { private readon..." - File: Services\IAuthService.cs Preview: "using AuthorBuddy.Web.Data; namespace AuthorBuddy.Web.Services; public interface IAuthService { Task LoginAsync(string username, string passwo..." - File: Services\IFileScannerService.cs Preview: "namespace AuthorBuddy.Web.Services; public interface IFileScannerService { Task ScanProjectFolderAsync(int projectId, string rootPath, IProgress> GetLocalModelsAsyn..." - File: Services\IProjectService.cs Preview: "using AuthorBuddy.Web.Models; namespace AuthorBuddy.Web.Services; public interface IProjectService { Task CreateNewProjectAsync(string projectN..." - File: Services\IRagService.cs Preview: "namespace AuthorBuddy.Web.Services; public class RagSearchResult { public string Text { get; set; } = string.Empty; public string FilePath { get; ..." - File: Services\ISettingsService.cs Preview: "using AuthorBuddy.Web.Data; namespace AuthorBuddy.Web.Services; public interface ISettingsService { Task GetOllamaUrlAsync(); Task> SearchAsync(strin..." - File: Services\OllamaService.cs 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 Preview: "using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using LiteDB; namespace AuthorBuddy.Web.Services; public class ProjectService : IProjectServ..." - File: Services\RagService.cs 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 Preview: "using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using LiteDB; namespace AuthorBuddy.Web.Services; public class SettingsService : ISettingsSe..." - File: Services\ThemeService.cs Preview: "using Microsoft.JSInterop; namespace AuthorBuddy.Web.Services; public class ThemeService : IThemeService { private readonly IJSRuntime _js; public..." - File: Services\TotpHelper.cs Preview: "using System.Security.Cryptography; namespace AuthorBuddy.Web.Services; public static class TotpHelper { private const int TotpSize = 6; private c..." - File: Services\WikipediaService.cs 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..."