Code Monkey home page Code Monkey logo

photocatalog's Introduction

PhotoCatalog


Desktop application created as combination of Electron and Angular. Written entirely in Typescript.

Basic function of Application:

Display and filter images from directory in Gallery view.

You can filter images by:

  • date,
  • file name,
  • resolution,
  • focal length,
  • F number,
  • exposure time.

Display and modify most common EXIF data of the image.

The following data can be modified:

  • date and time,
  • focal length,
  • F number,
  • exposure time,
  • X dimension,
  • Y dimension,
  • ISO speed rating,
  • camera manufacturer,
  • software

Edit GPS coordinates using drag & drop on map.

Development

For application there are two runners provided. Each runner allows running application out of the box. The difference is mode in which application will run. One is intended to run application as close as possible to production version. The second one is intended for development. They are written in Node.js and might require external installation of ts-node.

Related files:

  1. For production mode:

    electron/runner/prod-runner.ts

  2. For development mode:

    electron/runner/dev-runner.ts

List of most useful commands defined in package.json

Name Description
start-dev Runs program in development mode. Both Angular and Electron parts are automatically recompiled when saving changes.
start-prod Runs program using production specification.
build-prod Compiles whole application and creates executable file for used operation system.
install-wsl Allows to install npm dependencies when using WSL on Windows.

Electron part of application sources.

Files related to Electron part of the app can be found in electron/src. Sources are written in Typescript and then compiled to Javascript.

Configuration of application can be found in these files:

  1. Used for development: electron/src/electron.dev.ts
  2. Used for development: electron/src/electron.prod.ts

Registration of actions related to events exchanged between main and renderer processes have to be specified in: electron/src/communication/ipc-communication.ts. Additionally, events names have to be specified in: electron/src/communication/ipc-events.ts for clarity of code.

photocatalog's People

Contributors

latusikl avatar dsuchy avatar syphzur 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.