Giter Site home page Giter Site logo

crizmo / electron-image-host Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

Simple demonstration of a desktop application that captures a screenshot and uploads it to a server.

License: MIT License

JavaScript 73.11% HTML 26.89%
electron electron-example hosting image imagehost

electron-image-host's Introduction

Screenshot Image Host [ WIP ]

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.

Features

  • 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.

Technologies Used

  • 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.

Installation

  1. Clone the repository.
  2. cd into the project directory.
  3. cd into the server and the screenhost [ client ] directories and run npm install to install the dependencies.
  4. Run npm start in the server directory to start the server.
  5. Run npm start in the screenhost [ client ] directory to start the application.

Usage

  1. Launch the application.
  2. Capture a screenshot of the desired area or the entire screen. [ current shortcut: Ctrl + 1 ]
  3. The image is then uploaded to the server and the URL is copied to the clipboard.

License

This project is licensed under the MIT License - see the LICENSE file for details.

electron-image-host's People

Contributors

crizmo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.