Re-work on internals of sveltekit-og for supporting all the runtimes. #30
Replies: 7 comments 7 replies
-
For the sake of time, it might make sense to consider the MVP (minimum viable product) of this. Based on the design you described, it seems to be: Is If so, I may just piece these together for my own use in the meantime. |
Beta Was this translation helpful? Give feedback.
-
p.s. it seems like it should probably not be necessary to create a function for each runtime (for example, Vercel's Edge runtime is actually powered by Cloudflare workers). Just FYI. |
Beta Was this translation helpful? Give feedback.
-
I came up with
|
Beta Was this translation helpful? Give feedback.
-
As of now, We will make this project with
This change is for time limited period as we will get
|
Beta Was this translation helpful? Give feedback.
-
@jasongitmail please check this https://github.com/kvnang/workers-og/tree/main/packages/workers-og it's a great implementation but without svelte compiler but great. |
Beta Was this translation helpful? Give feedback.
-
@jasongitmail i tried so many ways to work it on cloudflare workers.
|
Beta Was this translation helpful? Give feedback.
-
We can use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
I'm planning a internal re-structure of this library and that will introduce some breaking changes (Final breaking changes). This is for the support for all the available runtimes like Vercel, Netlify and Cloudflare Workers.
I have already started to work on the internal like @ethercorps/svelte-h2j library for converting html css and svelte components into JSX syntax for satori. You can use this library standalone with satori no need for @ethercorps/sveltekit-og.
Plan
ImageResponse
function for every runtime based on runtime requirements . This will give provide easy to use and structured way of using it for specific runtime.Note
Have patience
Thank You
Beta Was this translation helpful? Give feedback.
All reactions