Finally a way to solve the Obsidian Publish problem!
- Documentation at: dg-docs.ole.dev
Basic flow:
-
-
- Token Name:
YYYY-Digital Garden
- Expiration: Custom / a year / whatever you wan
- Description: Publishing content to the digital garden.
- Resource owner: yourself
- Only select repositories: Select your garden repo
- Permissions
- Contents:
Access: Read and write
- Pull requests:
Access: Read and write
- Contents:
- Token Name:
-
-
- Settings -> Community Plugins
- Features -> Global Note Settings
dg-home-link: on
dg-show-toc
dg-show-file-tree: on
dg-enable-search: on
- Theme
SynthWave
- Features -> Global Note Settings
- Settings -> Community Plugins
Once set you just add the following YAML front matter to things you want to publish.
---
dg-publish: true
---
Want an index? Add this to a published note:
dg-home: true
Then click on your happy little 🌱 icon to choose to publish new & updated notes.
Enjoy Hive-DG-Index!
analytics
You can add analytics if you wanted. See this Github disucssion
Local rendering? Check out DavidKopp's answer for local deployment
Dockerfile.export
FROM node:18 as base
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
FROM base as builder
WORKDIR /usr/src/app
RUN npm run build
FROM scratch AS export
COPY --from=builder /usr/src/app/dist /
podman build -f Dockerfile.export --output dist .