About
This is a request to put the PDF rendering service on SCB. The service runs in a virtual browser and converts HTML to PDF/ PNG / JPEG. Even though it can convert HTML to PNG and JPEG as well, the primary focus is going to be on the conversion to PDF. It based on Electron.
Request Flow
The service will only be used to convert Wiki pages for MW installations inside the WMF production environment. WM Germany is working to expose this via the "Download as PDF" link in the sidebar, either as a modification of Special:Book, or as a direct link to the API result. Either way, the PDF will be requested through an experimental REST API end point (most likely /{domain}/v1/page/pdf/{title}), which will be owned by the Services team. From there, a request will be sent to the internal PDF rendering service on SCB to render the given url (http://{domain}/wiki/{title}).
Service Info
Owner | Services |
Contact person | @GWicke / @mobrovac / @Pchelolo |
Timeline | ASAP |
Source code | electron-render |
Target cluster | SCB |