[{"data":1,"prerenderedAt":243},["ShallowReactive",2],{"infra-\u002Finfra\u002Finternal-tools":3,"infra-children-\u002Finfra\u002Finternal-tools":25},{"id":4,"title":5,"body":6,"contentId":13,"description":14,"ecosystem":15,"extension":16,"meta":17,"navigation":18,"part":15,"path":19,"rawbody":20,"repository":15,"robots":15,"schemaOrg":15,"seo":21,"sitemap":22,"stem":23,"url":15,"__hash__":24},"pages\u002Finfra\u002Finternal-tools\u002Findex.md","Internal tools",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],"d6c94db9-c150-4777-b9f6-1577d3bfdcbb","The private tools I use to manage my infrastructure.",null,"md",{},true,"\u002Finfra\u002Finternal-tools","---\ncontentId: d6c94db9-c150-4777-b9f6-1577d3bfdcbb\ntitle: Internal tools\ndescription: The private tools I use to manage my infrastructure.\n---\n",{"title":5,"description":14},{"loc":19},"infra\u002Finternal-tools\u002Findex","_4Eq1nyToweC3mV1aRGcLu8RymN1yij64Nr0jQbxfs8",[26],{"id":27,"title":28,"body":29,"contentId":190,"description":191,"ecosystem":192,"extension":16,"meta":235,"navigation":18,"part":15,"path":236,"rawbody":237,"repository":238,"robots":15,"schemaOrg":15,"seo":239,"sitemap":240,"stem":241,"url":37,"__hash__":242},"pages\u002Finfra\u002Finternal-tools\u002Fcalendar-soubiran-dev.md","calendar.soubiran.dev",{"type":7,"value":30,"toc":183},[31,46,49,54,57,60,63,67,86,104,115,119,138,149,152,156,173,176,180],[32,33,34,40,41,45],"p",{},[35,36,28],"a",{"href":37,"rel":38},"https:\u002F\u002Fcalendar.soubiran.dev",[39],"nofollow"," publishes my LinkedIn content schedule as a private iCalendar feed. A command in my content-creation CLI turns dated Markdown files into calendar events, uploads one ",[42,43,44],"code",{},".ics"," file to Cloudflare R2, and gives my calendar client a tokenized subscription URL.",[32,47,48],{},"The hostname is a delivery endpoint rather than a calendar interface. The Worker reads the generated file and returns it to authorized calendar clients. This keeps the private content repository outside the request path.",[50,51,53],"h2",{"id":52},"why-i-publish-a-complete-calendar-file","Why I publish a complete calendar file",[32,55,56],{},"The schedule is a derived view of content I already manage as Markdown. Generating it during my publishing workflow means the Markdown remains the source of truth, while calendar applications receive a format they understand without gaining access to the repository.",[32,58,59],{},"I store the complete feed as one R2 object instead of rebuilding it on every request. The Worker does not scan directories, parse frontmatter, or assemble events. It only checks access and reads the current object. Replacing that object updates every subscriber without a Worker deployment.",[32,61,62],{},"This split fits internal feeds derived from files or another authoring system. Generation can use trusted local context, while delivery stays small and read-only.",[50,64,66],{"id":65},"how-markdown-becomes-calendar-events","How Markdown becomes calendar events",[32,68,69,70,73,74,77,78,81,82,85],{},"The ",[42,71,72],{},"linkedin publish-calendar"," workflow runs through the content-creation CLI in the private ",[42,75,76],{},"platform"," monorepo. It scans the selected content directory for dated ",[42,79,80],{},"YYYY\u002FMM\u002FDD"," folders and reads each ",[42,83,84],{},"linkedin.md"," file. Frontmatter provides the title, theme, publication state, and planned media.",[32,87,88,89,92,93,92,96,99,100,103],{},"The generator sorts the entries by date and creates one all-day event for each file. Its summary combines the content title with a status such as ",[42,90,91],{},"Not ready",", ",[42,94,95],{},"To be recorded",[42,97,98],{},"To be published",", or ",[42,101,102],{},"Published",". The description links back to the private source file and its local VS Code path, with theme and media details when present.",[32,105,106,107,110,111,114],{},"After serializing the events as iCalendar data, the CLI uploads the result to the ",[42,108,109],{},"content-creation"," R2 bucket under the fixed ",[42,112,113],{},"content-creation.ics"," key. It then prints the subscription URL with the configured calendar token. The calendar artifact changes independently of the Worker code because publication replaces the object directly.",[50,116,118],{"id":117},"how-private-delivery-works","How private delivery works",[32,120,121,122,125,126,129,130,133,134,137],{},"The Calendar Worker exposes ",[42,123,124],{},"GET"," and ",[42,127,128],{},"HEAD"," requests for ",[42,131,132],{},"\u002Fcontent-creation.ics",". It compares the ",[42,135,136],{},"token"," query parameter with a Worker secret through a timing-safe equality check, then reads the fixed object through its R2 binding. Invalid credentials never reach storage.",[32,139,140,141,144,145,148],{},"The response uses the ",[42,142,143],{},"text\u002Fcalendar"," content type and disables shared caching with ",[42,146,147],{},"private, no-store",". This boundary matters because event descriptions contain links into my private content repository and local editor paths. The token is a subscription credential, not part of the calendar data, and the Worker does not write it to structured logs.",[32,150,151],{},"Evlog records the requested route, whether a credential was present, the R2 object metadata, and the response result. These events show delivery failures without exposing the feed or its token.",[50,153,155],{"id":154},"how-it-runs","How it runs",[32,157,158,159,166,167,169,170,172],{},"The Calendar Worker and the content-creation CLI live in the private ",[35,160,163,165],{"href":161,"rel":162},"https:\u002F\u002Fgithub.com\u002Fbarbapapazes\u002Fplatform",[39],[42,164,76],{}," repository",". The Worker's Wrangler configuration maps ",[42,168,28],{}," to the deployment, binds the ",[42,171,109],{}," R2 bucket, and enables Cloudflare observability. Its deployment command publishes the Worker with Wrangler.",[32,174,175],{},"Calendar publication follows a separate path. I run the CLI against the content repository when its LinkedIn schedule changes, and Wrangler uploads the generated object to remote R2. Existing calendar subscriptions read that new object on their next request, so a content update does not rebuild or redeploy the delivery service.",[50,177,179],{"id":178},"ecosystem","Ecosystem",[181,182],"infra-ecosystem",{},{"title":10,"searchDepth":11,"depth":11,"links":184},[185,186,187,188,189],{"id":52,"depth":11,"text":53},{"id":65,"depth":11,"text":66},{"id":117,"depth":11,"text":118},{"id":154,"depth":11,"text":155},{"id":178,"depth":11,"text":179},"31d1ccc9-a1e5-4fb5-b84a-736b91d8f360","The private calendar feed that turns scheduled LinkedIn Markdown into iCalendar events and serves them from R2 through a token-protected Worker.",[193,231],{"type":194,"id":195,"name":196,"description":197,"ecosystem":198},"deployment","calendar-soubiran-dev","Cloudflare Workers","Authorize calendar subscriptions and return the current iCalendar object.",[199,213],{"type":200,"id":195,"name":201,"description":202,"href":161,"ecosystem":203},"repository","GitHub","Host the private Worker and content-creation CLI source.",[204,209],{"type":205,"name":206,"description":207,"href":208},"stack","Wrangler","Configure the custom domain and R2 binding, then deploy the Worker.","https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fwrangler\u002F",{"type":205,"name":210,"description":211,"href":212},"Evlog","Record structured delivery events without recording the calendar token.","https:\u002F\u002Fevlog.dev",{"type":214,"name":215,"description":216,"ecosystem":217},"object-storage","Cloudflare R2","Store the generated calendar under the fixed `content-creation.ics` key.",[218],{"type":219,"name":220,"description":221,"ecosystem":222},"data","LinkedIn iCalendar feed","Hold the complete set of dated LinkedIn entries as all-day events.",[223],{"type":224,"name":225,"description":226,"ecosystem":227},"build","Content creation CLI","Generate the complete feed and upload it to R2.",[228],{"type":219,"name":229,"description":230},"LinkedIn Markdown","Supply dated publication state and metadata from the private content repository.",{"type":232,"name":233,"description":234},"domain","Cloudflare Domains","Route `calendar.soubiran.dev` to the Worker.",{},"\u002Finfra\u002Finternal-tools\u002Fcalendar-soubiran-dev","---\ncontentId: 31d1ccc9-a1e5-4fb5-b84a-736b91d8f360\ntitle: calendar.soubiran.dev\ndescription: >-\n  The private calendar feed that turns scheduled LinkedIn Markdown into\n  iCalendar events and serves them from R2 through a token-protected Worker.\nurl: 'https:\u002F\u002Fcalendar.soubiran.dev'\nrepository:\n  url: 'https:\u002F\u002Fgithub.com\u002Fbarbapapazes\u002Fplatform'\n  private: true\necosystem:\n  - type: deployment\n    id: calendar-soubiran-dev\n    name: Cloudflare Workers\n    description: Authorize calendar subscriptions and return the current iCalendar object.\n    ecosystem:\n      - type: repository\n        id: calendar-soubiran-dev\n        name: GitHub\n        description: Host the private Worker and content-creation CLI source.\n        href: 'https:\u002F\u002Fgithub.com\u002Fbarbapapazes\u002Fplatform'\n        ecosystem:\n          - type: stack\n            name: Wrangler\n            description: Configure the custom domain and R2 binding, then deploy the Worker.\n            href: 'https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fwrangler\u002F'\n          - type: stack\n            name: Evlog\n            description: Record structured delivery events without recording the calendar token.\n            href: 'https:\u002F\u002Fevlog.dev'\n      - type: object-storage\n        name: Cloudflare R2\n        description: Store the generated calendar under the fixed `content-creation.ics` key.\n        ecosystem:\n          - type: data\n            name: LinkedIn iCalendar feed\n            description: Hold the complete set of dated LinkedIn entries as all-day events.\n            ecosystem:\n              - type: build\n                name: Content creation CLI\n                description: Generate the complete feed and upload it to R2.\n                ecosystem:\n                  - type: data\n                    name: LinkedIn Markdown\n                    description: Supply dated publication state and metadata from the private content repository.\n  - type: domain\n    name: Cloudflare Domains\n    description: Route `calendar.soubiran.dev` to the Worker.\n---\n\n[calendar.soubiran.dev](https:\u002F\u002Fcalendar.soubiran.dev) publishes my LinkedIn content schedule as a private iCalendar feed. A command in my content-creation CLI turns dated Markdown files into calendar events, uploads one `.ics` file to Cloudflare R2, and gives my calendar client a tokenized subscription URL.\n\nThe hostname is a delivery endpoint rather than a calendar interface. The Worker reads the generated file and returns it to authorized calendar clients. This keeps the private content repository outside the request path.\n\n## Why I publish a complete calendar file\n\nThe schedule is a derived view of content I already manage as Markdown. Generating it during my publishing workflow means the Markdown remains the source of truth, while calendar applications receive a format they understand without gaining access to the repository.\n\nI store the complete feed as one R2 object instead of rebuilding it on every request. The Worker does not scan directories, parse frontmatter, or assemble events. It only checks access and reads the current object. Replacing that object updates every subscriber without a Worker deployment.\n\nThis split fits internal feeds derived from files or another authoring system. Generation can use trusted local context, while delivery stays small and read-only.\n\n## How Markdown becomes calendar events\n\nThe `linkedin publish-calendar` workflow runs through the content-creation CLI in the private `platform` monorepo. It scans the selected content directory for dated `YYYY\u002FMM\u002FDD` folders and reads each `linkedin.md` file. Frontmatter provides the title, theme, publication state, and planned media.\n\nThe generator sorts the entries by date and creates one all-day event for each file. Its summary combines the content title with a status such as `Not ready`, `To be recorded`, `To be published`, or `Published`. The description links back to the private source file and its local VS Code path, with theme and media details when present.\n\nAfter serializing the events as iCalendar data, the CLI uploads the result to the `content-creation` R2 bucket under the fixed `content-creation.ics` key. It then prints the subscription URL with the configured calendar token. The calendar artifact changes independently of the Worker code because publication replaces the object directly.\n\n## How private delivery works\n\nThe Calendar Worker exposes `GET` and `HEAD` requests for `\u002Fcontent-creation.ics`. It compares the `token` query parameter with a Worker secret through a timing-safe equality check, then reads the fixed object through its R2 binding. Invalid credentials never reach storage.\n\nThe response uses the `text\u002Fcalendar` content type and disables shared caching with `private, no-store`. This boundary matters because event descriptions contain links into my private content repository and local editor paths. The token is a subscription credential, not part of the calendar data, and the Worker does not write it to structured logs.\n\nEvlog records the requested route, whether a credential was present, the R2 object metadata, and the response result. These events show delivery failures without exposing the feed or its token.\n\n## How it runs\n\nThe Calendar Worker and the content-creation CLI live in the private [`platform` repository](https:\u002F\u002Fgithub.com\u002Fbarbapapazes\u002Fplatform). The Worker's Wrangler configuration maps `calendar.soubiran.dev` to the deployment, binds the `content-creation` R2 bucket, and enables Cloudflare observability. Its deployment command publishes the Worker with Wrangler.\n\nCalendar publication follows a separate path. I run the CLI against the content repository when its LinkedIn schedule changes, and Wrangler uploads the generated object to remote R2. Existing calendar subscriptions read that new object on their next request, so a content update does not rebuild or redeploy the delivery service.\n\n## Ecosystem\n\n::infra-ecosystem\n::\n",{"url":161,"private":18},{"title":28,"description":191},{"loc":236},"infra\u002Finternal-tools\u002Fcalendar-soubiran-dev","KUhVjQNZ6QirsS_Rih2rZnq0YTPAy6l9nNU3chHoafE",1795016708828]