OutWit.Web.Generator
1.0.0
See the version list below for details.
dotnet tool install --global OutWit.Web.Generator --version 1.0.0
dotnet new tool-manifest
dotnet tool install --local OutWit.Web.Generator --version 1.0.0
#tool dotnet:?package=OutWit.Web.Generator&version=1.0.0
nuke :add-package OutWit.Web.Generator --version 1.0.0
OutWit.Web.Generator
A .NET CLI tool for generating static content, OG images, sitemap, search index, and RSS feeds for OutWit.Web sites.
Installation
dotnet tool install -g OutWit.Web.Generator
Usage
outwit-generate --content-path ./site/wwwroot/content --output-path ./site/wwwroot
Options
| Option | Description | Default |
|---|---|---|
--content-path |
Path to content folder | Required |
--output-path |
Output directory | site/wwwroot |
--site-url |
Base URL for sitemap/RSS | https://example.com |
--site-name |
Site name for RSS feed | My Site |
--hosting |
Hosting provider (cloudflare/netlify/vercel/github) | cloudflare |
--no-sitemap |
Skip sitemap generation | false |
--no-search |
Skip search index generation | false |
--no-rss |
Skip RSS feed generation | false |
--no-static |
Skip static HTML generation | false |
--no-og |
Skip OG image generation | false |
--force-og |
Force regenerate OG images | false |
--search-content-max-length |
Max content length for search index | 10000 |
Features
Content Index
Generates index.json listing all content files by category (blog, projects, docs, articles, features).
Sitemap
Creates sitemap.xml and robots.txt with proper lastmod dates.
Search Index
Generates search-index.json for client-side search functionality.
RSS Feed
Creates feed.xml for blog posts with proper formatting.
Static HTML
Pre-renders HTML pages for SEO and faster initial load.
OG Images
Generates Open Graph images for social sharing using Playwright.
Note: Run
playwright install chromiumbefore generating OG images.
Dynamic Content Sections
Define custom content sections in site.config.json:
{
"contentSections": [
{ "folder": "solutions", "route": "solutions", "menuTitle": "Solutions" }
]
}
License
This software is licensed under the Non-Commercial License (NCL).
- Free for personal, educational, and research purposes
- Commercial use requires a separate license agreement
- Contact licensing@ratner.io for commercial licensing inquiries
See the full LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.