Simple demonstration of a desktop application that captures a screenshot and uploads it to a server.
You can customize the server to your liking, as in instead of your own server you can use a third-party service like imgur or cloudinary or imgbb.
It's a work in progress and I'm open to suggestions and contributions.
- Capture a screenshot of the entire screen or a specific area.
- Image is then converted to base64 and uploaded to the server.
- The URL of the uploaded image is then copied to the clipboard.
- Electron: A framework for building cross-platform desktop applications using web technologies.
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Express.js: A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
- Multer: A middleware for handling
multipart/form-data
, which is primarily used for uploading files.
- Clone the repository.
- cd into the project directory.
- cd into the server and the screenhost [ client ] directories and run
npm install
to install the dependencies. - Run
npm start
in the server directory to start the server. - Run
npm start
in the screenhost [ client ] directory to start the application.
- Launch the application.
- Capture a screenshot of the desired area or the entire screen. [ current shortcut:
Ctrl + 1
] - The image is then uploaded to the server and the URL is copied to the clipboard.
This project is licensed under the MIT License - see the LICENSE file for details.