T O P

  • By -

namenomatter85

Yes. It’s very easy. Please do it.


Kanklu

Trying to understand if that's sarcasm or not... haha


NiceGiraffes

No, it is pretty straightforward. See answer here: https://stackoverflow.com/questions/65750773/take-desktop-screenshot-with-electron


Kanklu

thank you! So I just need to learn to develop with electronjs now


namenomatter85

Yea, it’s really easy once you understand electronjs. ElectronJS is just a client side framework for apps to utilize js with node backend and html/js front end ui. Then the core framework handles things with good separation of architecture like browser in threads that then removes context loss/or one app taking up all the resources in the system. Beyond the ui to use it, which the transparent overlay windows took me the longest to learn, you just use the screen object from electron js and it’s one line to get screen images. With Chatgpt you could prolly figure it out pretty quick. Longer part of apps is always the ux that make it usable.


Kanklu

Thank you for the detailed answer! I'll take a look when I have some free time. With a quick Google search, it seems I can also use tailwindcss within ElectronJS, so I shouldn't feel too lost


NiceGiraffes

There are a ton of tutorials and courses online. Good luck!


culturepunk

Not really for a screenshot app specifically but I've used nutjs to capture screenshots to then use elsewhere recently in an automation app, worth looking into. If you're a complete beginner I'd recommend this book, it has a section on building a screenshot app in fact. I learnt electron a couple of year back from this too and it's pretty up to date. Google - "Electron Projects Build over 9 cross-platform desktop applications from scratch"


ENFP_Maker

Yeah, it's true that there aren't many useful screenshot apps for Windows environments. I got annoyed by that too, so I developed [Capture Note](https://capture-note.enfpdev.com) and just recently released it. Want to try it out?


ENFP_Maker

My app is also made with Electron. To answer your question, it's definitely possible


Adventurous-Bug2020

I created a screenshot app using Electronjs. You can see video of how it works here: [https://www.reddit.com/r/SideProject/comments/xqmh6q/created\_this\_small\_snipping\_tool\_using\_electronjs/?utm\_source=share&utm\_medium=web2x&context=3](https://www.reddit.com/r/SideProject/comments/xqmh6q/created_this_small_snipping_tool_using_electronjs/?utm_source=share&utm_medium=web2x&context=3)