Re-work on internals of sveltekit-og for supporting all the runtimes. #30
Replies: 8 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. |
|
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. |
|
I came up with
|
|
As of now, We will make this project with
This change is for time limited period as we will get
|
|
@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. |
|
@jasongitmail i tried so many ways to work it on cloudflare workers.
|
|
We can use |
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
ImageResponsefunction 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
All reactions