BSD 2-Clause "Simplified" License

项目介绍

lunet-io/lunet 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前获得 147 个 Star、11 次 Fork。

仓库全名
lunet-io/lunet
开源许可证
BSD 2-Clause "Simplified" License
Star 数
147
Fork 数
11
未关闭 Issue
1

README 摘要

Lunet is a fast, modular static website generator for .NET, powered by Scriban templates. ✨ Features Scriban templating - full scripting language in your pages, layouts, and config (config.scriban) Layouts & includes - automatic layout resolution with section-aware search paths Themes & extensions - install themes/plugins directly from GitHub repos (extend "owner/repo@tag") npm resources - fetch and cache npm…

完整内容见 GitHub 原始 README 或本页 。

常见问题

lunet 用什么语言开发?

主要使用 C# 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前有 147 个 Star。

lunet 可以免费商用吗?

仓库采用 BSD 2-Clause "Simplified" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 lunet 的源码?

可以直接克隆仓库:git clone https://github.com/lunet-io/lunet.git,默认分支为 main;安装与运行步骤见仓库 README。

lunet 最近还在维护吗?

仓库最近一次更新为 6月18日,当前有 1 个未关闭 Issue;Star 数为 147,可作为社区活跃度的参考。

关于

A fast, modular static website generator

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
316
价值分
106
活跃状态
活跃

语言占比

C#
JavaScript
XSLT

Release

README

lunet ci NuGet

Lunet is a fast, modular static website generator for .NET, powered by Scriban templates.

✨ Features

  • Scriban templating - full scripting language in your pages, layouts, and config (config.scriban)
  • Layouts & includes - automatic layout resolution with section-aware search paths
  • Themes & extensions - install themes/plugins directly from GitHub repos (extend "owner/repo@tag")
  • npm resources - fetch and cache npm packages (Bootstrap, Font Awesome…) without a separate node_modules workflow
  • Markdown - Markdig-based with cross-reference link support
  • SCSS / Dart Sass - compile SCSS to CSS with the embedded Dart Sass compiler
  • Bundles - declarative CSS/JS bundling with automatic minification
  • Taxonomies - tags, categories, or any custom taxonomy with auto-generated term pages
  • RSS, sitemaps, search - RSS feeds, sitemap.xml, and client-side search index generation
  • SEO & social cards - OpenGraph / Twitter meta tags from page metadata
  • Data loading - pull structured data from YAML, JSON, or TOML files into templates
  • Menus - define navigation trees via simple menu.yml files
  • Live reload - built-in dev server with file watcher and automatic browser refresh
  • Analytics - Google Analytics injection (production builds only)
  • .NET API docs - generate API reference pages from .NET projects/assemblies - unique to Lunet
  • URL patterns - glob-based rules to apply metadata (URLs, layouts, etc.) across pages
  • Summarizer - automatic page summaries for feeds and cards

🚀 Quick start

Install Lunet as a global .NET tool:

dotnet tool install --global lunet

Create and serve a site:

mkdir mysite && cd mysite
lunet init
lunet serve

Your site is live at http://localhost:4000. Edit pages and watch changes reload instantly.

Build for production:

lunet build

Output goes to .lunet/build/www.

🎨 Themes

Install a theme from any GitHub repository:

# In config.scriban
extend "owner/[email protected]"

Themes layer on top of your site - layouts, includes, and static files merge seamlessly.

📖 Documentation

Full user guide and module reference at lunet.io.

🪪 License

This software is released under the BSD-2-Clause license.

🤗 Author

Alexandre Mutel aka xoofx

评论

暂无评论