Skip to content

Features/msotlylucidai#87

Merged
scottgal merged 9 commits into
mainfrom
features/msotlylucidai
Feb 9, 2026
Merged

Features/msotlylucidai#87
scottgal merged 9 commits into
mainfrom
features/msotlylucidai

Conversation

@scottgal
Copy link
Copy Markdown
Owner

@scottgal scottgal commented Feb 9, 2026

This pull request introduces several major improvements and new features for the Mostlylucid.AI project, focusing on backend infrastructure, CI/CD automation, and new controller implementations for the web application. The changes include the addition of new controllers for the AI site, comprehensive CI/CD workflows for both the CLI and NuGet package, Dockerization of the web app with frontend asset building, and updated Caddy server configuration for new domains.

Key changes include:

1. New Controllers for Mostlylucid.AI Web Application

  • Added AIBaseController to encapsulate shared logic, including analytics population and HTMX support.
  • Implemented HomeController, ArticlesController, ContactController, ServicesController, and AboutController for the AI site, each supporting analytics, HTMX partial rendering, and appropriate metadata. [1] [2] [3] [4] [5]

2. CI/CD Automation for CLI and NuGet Packages

  • Added release-ocrner-cli.yml workflow to build and release the OcrNer CLI for Windows, Linux, and macOS (both x64 and ARM64), including archive creation and GitHub release automation with detailed release notes and artifact upload.
  • Added publish-ocrner-nuget.yml workflow to build and publish the OcrNer NuGet package on tag push or manual dispatch, supporting version extraction and artifact upload.

3. Dockerization and Build Improvements

  • Introduced a multi-stage Dockerfile for Mostlylucid.AI, building frontend assets with Node.js and then compiling and publishing the .NET app, resulting in a minimal, production-ready image with a non-root user for security.

4. Infrastructure and Configuration Updates

  • Updated Caddyfile to add reverse proxy and HTTPS redirection for mostlylucid.ai and www.mostlylucid.ai domains, supporting the new AI site deployment.
  • Expanded allowed Bash commands in .claude/settings.local.json to support additional scripting and automation scenarios.

5. Test Data Addition

  • Added a sample NER output JSON file for testing/demo purposes, illustrating recognized entities and signals from a typical input.

…ogic

- Implement Contact page with form handling via `ContactController`, integrating email notification through `IEmailService`.
- Create `About` page outlining expertise, projects, and professional background, managed by `AboutController`.
- Develop `Services` page detailing consultancy offerings, linked with `ServicesController`.
- Add Dockerfile for multi-stage build optimizing Node.js frontend assets and .NET backend.
- Establish `ContactViewModel` for form data validation and model binding.

Enhance application with organized folder structure for views, controllers, and models.
…Shell command handling in settings

- Document the ConsoleImage tool's API, rendering modes, and usage, covering image and video processing features.
- Enhance settings for PowerShell command handling, supporting new Bash and PowerShell command patterns for improved functionality.
…. Add new NuGet packages for transcription and Spectre.Console integration. Update documentation to reflect feature enhancements and API changes. Adjust rendering modes and improve terminal graphics framework.
…text for clarity, and adjust rendering mode details.
- Implement `ImagePreprocessor` using ImageSharp for pre-processing images before OCR.
- Develop `IOcrService` interface with Tesseract OCR integration.
- Create `NerService` using BERT-based NER with ONNX runtime.
- Introduce `VisionService` for image captioning and OCR with Florence-2 model.
- Update Markdown documentation with reference to DoomSummarizer.
- Establish default preprocessing options and customizable processing strategies.
… publishing

- Implement `release-ocrner-cli.yml` workflow for automated multi-platform CLI releases.
- Create `publish-ocrner-nuget.yml` workflow for publishing NuGet packages using tags.
- Update `settings.local.json` to support new subprocess command.
- Modify `csproj` to include multiple target frameworks for enhanced compatibility.
…d advanced preprocessing into `OcrService`. Update `simple-ocr-ner-nuget.md` to include new features and improvements, such as advanced preprocessing and Microsoft.Recognizers.Text integration. Adjust configuration options for enhanced flexibility.
- Introduce platform check for Windows in OpenCV preprocessing. If unsupported, notify and fallback to ImageSharp.
- Optimize denoising and binarization processes using `using` statements for resource management.
- Add additional logger factories for better logging practices in `NerService`.
- Remove redundant code for disposing of Mat objects in OpenCV processing.
- Update `settings.local.json` to support Bash command execution and update YAML for better CLI and NuGet packaging.
- Improve semaphore locks in `OcrService` to ensure thread-safety with Tesseract engine processing.
- Add README.md for Mostlylucid.OcrNer project and initial release notes.
- Introduce a `ReleaseNotes.txt` file and ensure packaging includes readme and release notes.
@scottgal scottgal merged commit f304c81 into main Feb 9, 2026
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.

1 participant