Import Quarto posts and expand blog sync bridge
Some checks failed
Build / build (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
This commit is contained in:
parent
4ddaba7c7d
commit
e7227844c7
406 changed files with 7943 additions and 7637 deletions
46
obsidian-plugin/microblog-sync/README.md
Normal file
46
obsidian-plugin/microblog-sync/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Blog Family Sync
|
||||
|
||||
This local Obsidian plugin syncs the public vault blog folders with the local
|
||||
Astro sites under `/Users/neeldhara/forgejo/blogs`.
|
||||
|
||||
The plugin id remains `microblog-sync` so the existing Obsidian installation can
|
||||
be upgraded in place. In Obsidian, the visible plugin name is **Blog Family
|
||||
Sync**.
|
||||
|
||||
## Targets
|
||||
|
||||
| Vault folder | Local content folder | Preview |
|
||||
| ---------------------- | ---------------------------------------------------- | -------------------------------- |
|
||||
| `blogs/micro` | `micro/src/content/blog` | `http://127.0.0.1:4321/blog/...` |
|
||||
| `blogs/01-research` | `allblogs/sites/research/src/content/research` | `http://127.0.0.1:4331/...` |
|
||||
| `blogs/02-vibes` | `allblogs/sites/vibes/src/content/vibes` | `http://127.0.0.1:4332/...` |
|
||||
| `blogs/03-puzzles` | `allblogs/sites/puzzles/src/content/puzzles` | `http://127.0.0.1:4333/...` |
|
||||
| `blogs/04-reflections` | `allblogs/sites/reflections/src/content/reflections` | `http://127.0.0.1:4334/...` |
|
||||
| `blogs/05-poetry` | `allblogs/sites/poetry/src/content/poetry` | `http://127.0.0.1:4335/...` |
|
||||
| `blogs/06-reviews` | `allblogs/sites/reviews/src/content/reviews` | `http://127.0.0.1:4336/...` |
|
||||
| `blogs/07-art` | `allblogs/sites/art/src/content/art` | `http://127.0.0.1:4337/...` |
|
||||
|
||||
## Commands
|
||||
|
||||
Search for **Blog Family Sync** in the command palette:
|
||||
|
||||
- `Sync all configured blogs`
|
||||
- `Sync current blog vault folder to repo`
|
||||
- `Sync current blog repo folder to vault`
|
||||
- `Two-way sync current blog`
|
||||
- `Sync and preview current note`
|
||||
- `Publish current note`
|
||||
- `Publish all changes for current blog`
|
||||
|
||||
Preview starts the matching Astro dev server if the configured local URL is not
|
||||
already responding. Publish syncs first, runs that target's build command,
|
||||
commits staged content changes, and pushes to Forgejo.
|
||||
|
||||
## Notes
|
||||
|
||||
- Obsidian is the source of truth for day-to-day writing.
|
||||
- Deletions are not mirrored unless `Delete orphaned target files` is enabled.
|
||||
- The plugin watches all configured vault folders and also polls for external
|
||||
edits, which catches changes made by another editor.
|
||||
- Debug output is written to
|
||||
`.obsidian/plugins/microblog-sync/debug.log`.
|
||||
1575
obsidian-plugin/microblog-sync/main.js
Normal file
1575
obsidian-plugin/microblog-sync/main.js
Normal file
File diff suppressed because it is too large
Load diff
9
obsidian-plugin/microblog-sync/manifest.json
Normal file
9
obsidian-plugin/microblog-sync/manifest.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "microblog-sync",
|
||||
"name": "Blog Family Sync",
|
||||
"version": "0.4.0",
|
||||
"minAppVersion": "1.5.0",
|
||||
"description": "Sync the public Obsidian blog folders with the local Astro blog repos.",
|
||||
"author": "Neeldhara Misra",
|
||||
"isDesktopOnly": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue