Integrate SingleFIle into NodeJS #73
Replies: 5 comments 15 replies
-
Hi Daniel, I'm glad to hear that you would like to integrate SingleFile in your app :). There are 2 main ways to run SingleFile from NodeJS. Please let me know if you need more details. |
Beta Was this translation helpful? Give feedback.
-
I'm closing and moving this issue in the "Discussions" tab. |
Beta Was this translation helpful? Give feedback.
-
Having tried both JSDOM and puppeteer, my suggestion would be to avoid JSDOM. In my experience It's too slow for doing anything more than basic tasks. Seeing as SingleFile does a lot of parsing of content, it will probably be way too slow. |
Beta Was this translation helpful? Give feedback.
-
Puppeteer supports Refs |
Beta Was this translation helpful? Give feedback.
-
@gildas-lormeau Hey there it’s been a while, sorry for not responding. Coming back to this, what is the best way you’d suggest me to implement SingleFile into Linkwarden? Worth noting that I’m using Playwright behind the scenes. The closest thing I found is gildas-lormeau/SingleFile#723 (comment) which didn't work out for me. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm currently working on an app and wanted to know how can I run SingleFile from NodeJS.
Cheers,
Daniel
Beta Was this translation helpful? Give feedback.
All reactions