You are reading content from Scuttlebutt
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
@Luandro Pàtwy %veqlNAEnuRyas/+EGD5a5zckdTZMUdG7vocdhnjEnmA=.sha256
Voted Made two new modules that help with SSB development on Electron: - https:/
@andrestaltz %hmhcmkGeyHoFvrZ9BILkrTdG4YNjtSXP8KlR0FkkdA8=.sha256
Re: %ZnSlupOF9

this is so the main process can spin up and spin down different servers with different config as required.

PS: @mixmix couldn't this still be done in a main process? Or maybe not, because the client muxrpc might have to re-establish the connection with the server. I'm trying to understand the use case of headless renderer processes.

@andrestaltz %sgIdwSy45+HNGTYUk8E1pqx/OfecbeyNQrDwSATTuR4=.sha256
Re: %ZnSlupOF9

@mixmix Oh wow I just learned something, and now I'm trying to make up my mind whether that file is horrifying (document.documentElement.querySelector('head') alongside require('fs')... inside a big template string) or inspiring.

@andrestaltz %7xdo1VdoYju53jp/+qytnAS2/eBNhsl9Umgma1fu/s0=.sha256
Voted I think "renderer" process is just what electron calls anything that's not
@mix %ap/jE3GfPXHvvmW1xvhzt0301wj5Iko269GdXqjC878=.sha256
Re: %ZnSlupOF9

I think "renderer" process is just what electron calls anything that's not the main process right?
Here's what it looks like in ssb-ahoy (this pattern copied from Matt's work in Patchwork) : https://github.com/ssbc/ssb-ahoy/blob/master/electron/process/server.js

you just tell it to show: false and BOOM, headless server thang.

p.s. I'm probably about to try refactoring out that executeJavascript thing ... we've got emerging needs for a different workflow with webpack dev-servers and Vue. Going to use the loadURL method...

cc @andré

User has not chosen to be hosted publicly
@Connor %TGKFUoHvl147Qr4bQk32o7xhQtggLNeG81ONTzy9hvQ=.sha256
Voted Made two new modules that help with SSB development on Electron: - https:/

Show whole feed
Join Scuttlebutt now