Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STratusBot / Stratus Shield — Cybersecurity Awareness Chatbot

Project Overview

StratusBot (branded in the UI as "Stratus Shield") is a cybersecurity awareness chatbot with a Windows desktop GUI built using WPF and .NET 8. It is designed to educate users about cybersecurity topics through interactive chat, scenario-based learning, quizzes, and task management. The app focuses on approachable explanations, short exercises, and lightweight persistence to personalize interactions.

Key Features

  • Interactive conversation with a keyword-driven knowledge base.
  • Knowledge base with extensive cybersecurity tips and FAQ-style answers.
  • Scenario-based learning and contextual follow-ups.
  • Security Awareness Quiz: full quiz UI with categorized questions, randomization, scoring, feedback, and quit handling.
  • Tasks management: create, view, complete, and delete tasks via a TaskAssistant UI and chat commands.
  • Activity logging: JSON-based ActivityLog with entries for user actions and events.
  • Memory & persistence: MemoryStore persists user data (e.g., username, favorite topic) to AppData (JSON).
  • Intent detection: phrase matching for intents (tasks, reminders, quizzes, viewing logs).
  • UI/UX improvements:
    • Modern chat styling (message bubbles, rounded input, improved alignment).
    • Tabbed main window (Chat / Tasks).
    • User display & online/offline status indicator.
    • ASCII header branding ("Stratus Shield") and improved ASCII art alignment.
    • Welcome sound playback (NAudio integration) and improved audio handling.
  • Robust fallback responses and sentiment-aware openers (sentiment detection, including "Sad").
  • Developer-friendly modular architecture: ChatBot, KeywordResponder, SentimentDetector, MemoryStore, TaskManager, QuizManager, ActivityLog, TaskStorageHelper.

Changelog — major items added since README update on 2026-06-03

How to build & run (developer notes)

  • Requirements: Windows, .NET 8 SDK, Visual Studio (recommended) or dotnet CLI for WPF apps.
  • Restore NuGet packages (project uses Newtonsoft.Json and NAudio).
  • Open solution in Visual Studio and run the WPF project, or use dotnet run from project folder when supported.
  • Data and logs:
    • MemoryStore persists small user state to the user's AppData in JSON.
    • Tasks are stored via TaskStorageHelper in JSON (Newtonsoft.Json).
    • ActivityLog writes JSON-formatted entries for actions/events.

Developer notes & architecture

  • Core components:
    • ChatBot: bot controller that uses KeywordResponder, SentimentDetector, MemoryStore and coordinates features.
    • KeywordResponder: keyword/phrase matched answers and topics.
    • SentimentDetector: lightweight sentiment enum detection to shape responses.
    • MemoryStore: thread-safe storage for user state.
    • TaskManager / TaskStorageHelper: task CRUD and persistence.
    • QuizManager / QuizWindow: quiz lifecycle and UI.
    • ActivityLog: structured logging & log management for audit/viewing.
  • UI:
    • MainWindow contains a TabControl (Chat / Tasks).
    • TaskAssistant is a reusable UserControl for tasks.

Updated README: document features and changelog since 2026-06-03

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages