![]() |
VOOZH | about |
dotnet add package Nodsoft.MoltenObsidian.Manifest --version 1.1.14
NuGet\Install-Package Nodsoft.MoltenObsidian.Manifest -Version 1.1.14
<PackageReference Include="Nodsoft.MoltenObsidian.Manifest" Version="1.1.14" />
<PackageVersion Include="Nodsoft.MoltenObsidian.Manifest" Version="1.1.14" />Directory.Packages.props
<PackageReference Include="Nodsoft.MoltenObsidian.Manifest" />Project file
paket add Nodsoft.MoltenObsidian.Manifest --version 1.1.14
#r "nuget: Nodsoft.MoltenObsidian.Manifest, 1.1.14"
#:package Nodsoft.MoltenObsidian.Manifest@1.1.14
#addin nuget:?package=Nodsoft.MoltenObsidian.Manifest&version=1.1.14Install as a Cake Addin
#tool nuget:?package=Nodsoft.MoltenObsidian.Manifest&version=1.1.14Install as a Cake Tool
<p align="center"><img src="icon.png" alt="logo" width="256"/></p> <h1 align="center">MoltenObsidian</h1> <h3 align="center">.NET 6+ Library for <a href="https://obsidian.md">Obsidian</a>-flavoured Markdown parsing, with support for vault mapping and Blazor.</h3>
<div align="center"> <hr /> <img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/Nodsoft/MoltenObsidian/build.yml?style=flat&logo=github&label=test%2Fbuild"> <img alt="NuGet Core Version" src="https://img.shields.io/nuget/v/Nodsoft.MoltenObsidian?style=flat&logo=nuget&label=core"> <img alt="NuGet Core Preversion" src="https://img.shields.io/nuget/vpre/Nodsoft.MoltenObsidian?style=flat&logo=nuget&label=core%20(pre)"> <img alt="NuGet Downloads" src="https://img.shields.io/nuget/dt/Nodsoft.MoltenObsidian?style=flat&logo=nuget"> <hr /> </div> <div></div>
Molten Obsidian is a high-performance library designed as an easily integrated and lightweight FOSS alternative to Obsidian Publish. With extensibility and integration-oriented conception, this library makes it perfect for integrating Obsidian-flavoured markdown notes on your Blazor App, but also importing entire vaults as a navigation-ready area, with full routing support.
Furthermore, Molten Obisidian extends past the original Obsidian specifications, aiming to supercharge your documentation/wiki applications and websites needs, using a customizable data source interface, and supercharged YAML frontmatter capabilities.
Converting an Obsidian-flavoured Markdown note to HTML is as simple as this :
using Nodsoft.MoltenObsidian;
// Create a new ObsidianText instance with the content to convert
ObsidianText obsidianMarkdown = new(@"
# Hello, world!
This is a sample Markdown document.
And a paragraph with **bold** and *italic* text.
");
// This is the HTML string you can then call in Blazor components as `@htmlText`.
MarkupString htmlText = obsidianMarkdown.ToHtml();
But that's just the basics. Under the hood, Markdig is what makes it happen. Easy!
**Now let's open an Obsidian vault on the Filesystem, and wire it to a routable Blazor component 😗*
Startup.cs
using Nodsoft.MoltenObsidian.Blazor;
using Nodsoft.MoltenObsidian.Vault;
using Nodsoft.MoltenObsidian.Vaults.FileSystem;
// First deal with the DI, by adding a Filesystem vault and the Blazor integration:
public void ConfigureServices(IServiceCollection services)
{
services.AddMoltenObsidianFileSystemVault(new DirectoryInfo("/path/to/vault"));
services.AddMoltenObsidianBlazorIntegration();
}
_Imports.razor
@using Nodsoft.MoltenObsidian.Blazor
@using Nodsoft.MoltenObsidian.Blazor.Helpers;
@using Nodsoft.MoltenObsidian.Vault;
VaultPage.razor
@page "/vault/{*VaultPath}"
@inject IVault Vault
<ObsidianVaultDisplay BasePath="@this.GetCallingBaseVaultPath()" CurrentPath="@VaultPath" />
@code {
[Parameter]
public string VaultPath { get; set; }
}
In a matter of minutes, you've just created a web app integration for your own Obsidian Vault, for all to see. Congratulations!
Now, let's take it further.
Molten Obsidian is designed with extensibility at its core, and allows you to implement your own Vault source. Should the not be suitable for your Vault storage needs, you can provide your own implementation.
A few examples of additional stores you can implement:
If you're finding yourself implementing any of these, feel free to PR! We'll be more than happy to support new vault providers.
Molten Obsidian is meant to tailor itself to your app. As such, you can provide within the Blazor Component a series of RenderFragment delegates responsible for organizing the Vault display.
You can provide them in cascade, as such :
<ObsidianVaultDisplay BasePath="@this.GetCallingBaseVaultPath()" CurrentPath="@VaultPath">
<FoundFile Context="file">
<h1>Vault note: @file.NoteName</h1>
<a class="lead text-muted" href="@file.Parent?.Path">Return to @(file.Parent?.Name ?? "Root")</a>
<hr />
@(new MarkupString(file.ReadDocument().ToHtml()))
</FoundFile>
<NotFound>
<h3 class="text-warning">Sorry, there is nothing here.</h3>
</NotFound>
</ObsidianVaultDisplay>
Alternatively, you can provide delegates, like so :
<ObsidianVaultDisplay BasePath="@this.GetCallingBaseVaultPath()" CurrentPath="@VaultPath"
FoundFile="OnFoundFile"
NotFound="OnNotFound"
/>
@code {
public static RenderFragment OnFoundFile(IVaultNote file) => __builder =>
{
<h1>Vault note: @file.NoteName</h1>
<a class="lead text-muted" href="@file.Parent?.Path">Return to @(file.Parent?.Name ?? "Root")</a>
<hr />
@(new MarkupString(file.ReadDocument().ToHtml()))
};
public static RenderFragment OnNotFound(string _) => static __builder =>
{
<h3 class="text-warning">Sorry, there's nothing here.</h3>
};
}
Our CLI tool aims at cutting down the menial tasks associated with implementing more advanced features of Molten Obsidian, allowing you to better focus on what matters, but also automating any of those integration tasks within you workflow.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Nodsoft.MoltenObsidian.Manifest:
| Package | Downloads |
|---|---|
|
Nodsoft.MoltenObsidian.Vaults.Http
Remote HTTP Vault provider for Molten Obsidian |
|
|
Nodsoft.MoltenObsidian.Vaults.Ftp
Remote FTP Vault provider for Molten Obsidian |
|
|
Nodsoft.MoltenObsidian.Vaults.InMemory
In-Memory Vault provider for Molten Obsidian |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.14 | 168 | 4/8/2026 |
| 1.1.9 | 408 | 11/12/2025 |
| 1.1.6 | 325 | 11/3/2025 |
| 1.1.5 | 264 | 11/3/2025 |
| 1.1.2 | 343 | 1/18/2025 |
| 1.1.1 | 335 | 8/25/2024 |
| 1.0.17 | 322 | 7/16/2024 |
| 1.0.15 | 266 | 6/22/2024 |
| 1.0.14 | 299 | 6/22/2024 |
| 1.0.13 | 273 | 5/12/2024 |
| 1.0.11 | 285 | 5/11/2024 |
| 1.0.10 | 290 | 5/11/2024 |
| 1.0.9 | 336 | 5/11/2024 |
| 1.0.4-beta | 279 | 4/12/2024 |
| 0.6.10 | 353 | 3/25/2024 |
| 0.6.3 | 330 | 3/23/2024 |
| 0.5.73 | 346 | 2/17/2024 |
| 0.5.67 | 317 | 2/16/2024 |
| 0.5.18 | 438 | 8/11/2023 |
| 0.5.13 | 426 | 6/17/2023 |