Join the Webstudio community

Updated 2 years ago

Cli

At a glance

A community member is looking for documentation on the SDK or CLI for exporting designs/components to their own React apps. The community members indicate that the API endpoint is functional, but the CLI is still being worked on and will be available in a few weeks. They suggest the community member collaborate with @HeyAndras to help speed up the process. The community members also note that they don't have documentation yet, so they would need to spend time explaining authorization and other details. The community members recommend the community member wait for the CLI foundation to be built, or create an issue to list out the requirements and options for documentation.

Useful resources
Is there currently any documentation on the SDK or the CLI. I was looking to try and play around with the export of my design/components. I have looked around but I haven’t been able to find any info on export and integration for our own react apps. If someone is able to point me in the right direction I would really appreciate it. If this is still something that is in progress I would definitely increase priority for it. I think that the integration into custom projects would really set webstudio apart from all the different platforms out there.
O
E
25 comments
We are working on it and are aware, thank you
Awesome! I was digging a bit more after my post and saw this pr https://github.com/webstudio-is/webstudio-builder/pull/1736. Glad to see it’s something on your mind. Does the cli or sdk need any more updates or will it be functional when the cli endpoint is up and running?
endpoint is functional, we need CLI
last piece is not project id but buildid
where can I find the buildid?
depends on how you want to find it, its for sure in the database
Lets figure out what you are trying to do first
cli is being worked on right now, so this will be available in a few weeks, @HeyAndras is on it
So I put together a page and I want to grab the JSON from the rest endpoint.
I recommend to wait for us to build the foundation for the cli
you need authorization as well to be able to get that data
but I should be able to make a request to the endpoint without the cli or will it be necessary.
if you want to collaborate and help speed it up, I would say team up with @HeyAndras
I am not super experienced but I am willing to contribute however I can
yes, but we don't have docs yet, so you need us to spent quite a bit of time explaining authorization etc
its a question of how we can help without spending more time than it would take us to build it ourselves
so its a question of how much you can get done on your own and what would make sense to do to avoid double work
I suggest DM Andras and see if you can be helpful
at the very least your feedback would be great when he has the first version
to figure out what's missing
Do you have the foundations for the docs? Maybe I could contribute and help out writing some documentation.
nope, we have been focusing on the builder UI until now, we need to decide how we make docs yet
maybe the good first thing to do is to create an issue and list out the requirements and options
Add a reply
Sign up and join the conversation on Discord