Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 984 Bytes

File metadata and controls

50 lines (33 loc) · 984 Bytes

GUIDRedirect

GUIDRedirect is a Quartz v5 emitter plugin that generates redirect pages for content files that include an id field in frontmatter.

Made to use with Obsidian GUID plugin.

100% vibecoded with Copilot, because I am not a programmer. Use it at your own risk, as I do.

What it does

  • Reads the id field from page frontmatter.
  • Creates a static redirect page at /ID.
  • Redirects visitors to the canonical Quartz page for that note.
  • Integrates with Quartz v5 emitters.

Example

If a page has this frontmatter:

id: 01KXRMR0QKED5D8QT54FK7CVKX

The plugin emits a redirect page at /01KXRMR0QKED5D8QT54FK7CVKX.

Install

npx quartz plugin add github:omega9/GUIDRedirect

Then add the plugin under plugins.emitters in quartz.config.yaml:

plugins:
  emitters:
    - github:omega9/GUIDRedirect

Build

npm install
npm run build

License

MIT