Enveloppe / obsidian-enveloppe

Enveloppe helps you to publish your notes on a GitHub repository from your Obsidian Vault, for free!
https://enveloppe.github.io/
Apache License 2.0
642 stars 39 forks source link

Rely on Exclusion list for filtering. Synchronise everything option. #210

Closed Mara-Li closed 1 year ago

Mara-Li commented 1 year ago

Discussed in https://github.com/orgs/ObsidianPublisher/discussions/207

Originally posted by **HighPriest** August 24, 2023 Hi. Would it fit your goals with this tool, to do not check for the `share key` if the config field is empty and rely on Exclusion list for files we do not want synchronised instead? It would fit me much better if I could store my public files in one dir, private files in another. If I work on something I do not want synchronised, I would rather give it a easily distinguishible `[DRAFT]` prefix to mark something not yet ready, than add unnecessary clutter to frontmatter. So, to summarise. What I believe this requires are two things: - Add regex support in Plugin Settings/Excluded Folder - Add omitting of `share key` check if the field is empty
Mara-Li commented 1 year ago

@HighPriest Can you try the v6.5.0-7 beta ? Ty

HighPriest commented 1 year ago

Tested. Works as expected. Doesn't upload files with the prefix correctly. Combined with Folder exclusion is exactly what I needed. Good idea with the switch dependent text field 🥇