mirror of
https://github.com/svemagie/indiekit-endpoint-youtube.git
synced 2026-04-02 15:54:59 +02:00
Previously sync only inserted into MongoDB, causing "file not found" errors when Indiekit tried to read the post. Now generates markdown via publication.postTemplate() and writes to GitHub via publication.store.createFile(), matching the micropub endpoint's create flow. Reset also deletes store files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>