You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Nick Dumas 644cd58fa7 more readme updates 2 years ago
.github/workflows adding github release workflow 2 years ago
Resources i asked for metadata examples 2 years ago
cmd Cleaning up flag structure 2 years ago
fsm named error types 2 years ago
gloss Implementing lipgloss into help/usage output 2 years ago
tmp/blog/content/posts/mapping-aardwolf first draft 2 years ago
.gitignore Create build artifacts, and ignore them. 2 years ago
LICENSE whatever 2 years ago
Makefile Create build artifacts, and ignore them. 2 years ago
README.md more readme updates 2 years ago
attachments.go Refactoring validation code out of cmd/ 2 years ago
blerp.go Refactoring validation code out of cmd/ 2 years ago
go.mod output says validation is successful. more testing needed 2 years ago
go.sum output says validation is successful. more testing needed 2 years ago
notes.go Refactoring validation code out of cmd/ 2 years ago
pipeline.go Refactoring validation code out of cmd/ 2 years ago
posts.go Implementing lipgloss into help/usage output 2 years ago
validate.go Code cleanup for public release 2 years ago

README.md

obsidian-pipeline

Overview

obsidian-pipeline or obp enables headless management of your Obsidian vault.

obp is primarily targeted at users who are programmatically interacting with their vaults, publishing them via static site generators or doing quality control with scheduled tasks.

Features

Validation

Markdown allows you to preface your document with another, typically in YAML, that contains metadata about the document. A common use-case for this is in static site generators; Hugo checks your Markdown document's frontmatter for properties like title to help it make rendering decisions.

When you have data, making sure it's consistent is pretty important. For example, Hugo uses the boolean draft property to determine whether a post will be included in the generated site output. A personal blog is a low stakes example, but a business managing internal vs external documentation or otherwise enforcing standards could save themselves a lot of effort and headache if it were possible to automate the process of verifying the layout and disposition of their data.

The good news is that we don't have to invent anything here. Schemas exist precisely for this reason