6 ms·
> How hard would it be to make your workbench pull and render code from GitHub repositories, so that for example, authors can link to a render of the codebase i
by sgenoud 4y ago
> How hard would it be to make your workbench pull and render code from GitHub repositories, so that for example, authors can link to a render of the codebase in their readme?
You can already do some of this. Either by pointing to an encoded url (something like this: https://studio.replicad.xyz/workbench?from-url=https%253A%252F%252Fraw.githubusercontent.com%252Fsgenoud%252Freplicad%252Fmain%252Fpackages%252Freplicad-docs%252Fexamples%252Fwatering-can.js https://studio.replicad.xyz/workbench?from-url=https%253A%25...).
There is also a share arrow which will put the current code in an url param (and you can have something like this: https://studio.replicad.xyz/workbench?code=UEsDBAoAAAAIANhzVFb2WYTabQEAAP0CAAAHAAAAY29kZS5qc1VSyWrDMBC9%252ByvmKDeu6hAaaNwUSug9kGPoQbXlRqBIRgttCfn3jiSvB2%252FS28ZPtVbWwS0DaAz7OWr5Z0XDbZHdYQ%252BGd1LUrKmyjP922jioI7zhLfPSHZlhV4u4QP9ilp8CdQfbAr9r3QluD9ort4P1BgVRJdE7LZk5xH0kE3thHS%252BQgNACDGuEtzns36JsYgRxhEYkdYYpK5njpBzh1Qhl6lsG7GZbwlMSReNhtx5cz5%252BB0moDRHIHApfKCh%252BvPQXEapXHBMMotPP2QkISarQL9gIekl0e%252Fe94Ge68UT2jms3cesvfpRznnSYM9oZb%252FJ%252FDhPZcxnTpg1rsgJN1TjHtB6svJCmMAjDR0wsNZj0oBov3PlqCpGh9qa1XtRNawZUJRUwBt6nNYl4kKs1KiQZoujg4ZFtM5Fkt2jspFG9OPSlVqdvWckdK%252BpzT2juyWH0MyzOJsbvZ%252BSEL3UXYAl7y2Hw%252FeN8ASRDcumf%252FUEsBAhQACgAAAAgA2HNUVvZZhNptAQAA%252FQIAAAcAAAAAAAAAAAAAAAAAAAAAAGNvZGUuanNQSwUGAAAAAAEAAQA1AAAAkgEAAAAA https://studio.replicad.xyz/workbench?code=UEsDBAoAAAAIANhzV...