Obsidian To Hugo

screenshot of Obsidian To Hugo
hugo

Process Obsidian notes to publish them with Hugo. Supports transformation of Obsidian wiki links into Hugo shortcodes for internal linking.

Overview

This product is a lightweight, extensible, and zero-dependency CLI written in Python. Its purpose is to help publish obsidian notes with hugo. It only requires two arguments: the obsidian vault directory and the hugo content directory. The CLI takes care of several steps including clearing the hugo content directory, copying obsidian vault contents into the hugo content directory, and replacing obsidian wiki links with hugo shortcode links. Users can also write and register custom filters and processors to further customize the content processing.

Features

  • Lightweight, extensible, and zero-dependency CLI
  • Copies obsidian vault contents into hugo content directory
  • Replaces obsidian wiki links with hugo shortcode links
  • Replaces obsidian marks with HTML marks
  • Ability to write and register custom filters to include/exclude content
  • Ability to write custom processors to modify file contents

Summary

The obsidian-to-hugo CLI is a useful tool for publishing obsidian notes with hugo. It simplifies the process by automatically copying the obsidian vault contents into the hugo content directory and replacing obsidian wiki links with hugo shortcode links. Users can also customize the content processing by writing custom filters and processors. Overall, this CLI is a helpful companion for integrating obsidian and hugo workflows.

hugo
Hugo

Hugo is an open-source static site generator that features fast build times, flexible themes, support for multiple content formats, multilingual websites, live reloading, and an active community. It allows developers to easily create and deploy SEO-friendly and mobile-responsive websites.