Skip to content

A desktop application in which you can validate TIFF image files with information about cultural heritage collections.

License

Notifications You must be signed in to change notification settings

oSoc20/ArTIFFact-Control

Repository files navigation

ArTIFFact-Control

- Curators are used to working with old objects, that does not mean their software has to be

logo

CI

A desktop application in which you can validate TIFF image files with information about cultural heritage collections.

Contents

About

Cultural heritage is something we like to preserve for future generations. Unfortunately, not all heritage artifacts are easily preservable. Digitalisation of those artifacts provides a solution to this problem. In order to digitise old artifacts, for example newspapers, TIFF files can be used. This is an uncompressed image format that contains a lot of technical information. The internal structure of those files have great importance if we want to store them for the future. We have to know exactly what the files look like so that they can persist for a long time.

Digitisation of antique objects is one of the main occupations of Meemoo, the Flemish Institute for the Archives. Meemoo used to work with a tool called DPF Manager in order to check the internal structure of TIFF files. This tool checks whether a TIFF file is compliant to a certain standard or not, if it follows some policy rules and so on. The DPF Manager application was a little outdated and not always very user friendly, so Meemoo asked to create a new and fresh interface that does the same as the DPF Manager does.

This is what the ArTIFFact Control application is. It is a newer version of the deprecated DPF Manager that validates the internal structure of TIFF files. Apart from a complete design overhaul, ArTIFFact Control uses an adapted version of JHOVE for the back-end. The application connects to the JHOVE REST API to validate the structure of the files containing cultural heritage objects.

meemoo jhove

Used Technologies

ArTIFFact control uses the following technologies to achieve its goals:

  • Figma: Figma was the design tool our designers used to create the new interface for the application. A link to the complete design can be found here.
  • Electron: used to create the application. The benefit of Electron is that it is easy to create cross platform applications. This was requested by Meemoo, the client.
  • Electron Builder: used to create an installer for the project and to build the project.
  • TypeScript: the language that the project is written in. This was also requested by the client.
  • React: React is the web framework that is used to render the application inside the Electron window. This application only uses functional components and hooks to manage the flow of the application.
  • Material UI: a framework for React that contains a variety of components that are easily stylable.
  • Webpack: used to bundle the code for better performance.
  • Redux: a Redux store is used to manage the global state of the application.
  • JHOVE REST API: as mentioned above, JHOVE is used as the back-end. The JHOVE REST API is an adapted web interface of the JHOVE application. JHOVE manages all validation specific actions. The front-end makes calls to the REST API.
  • Axios: a JavaScript library used to make the network requests to JHOVE.
  • Github Actions: Github actions is used for the continious deployment.

Installation Guide

In order to build the application yourself, follow the next steps:

  1. Clone or download this repository.

    git clone https://github.com/oSoc20/ArTIFFact-Control.git

  2. Use npm or yarn to install the project.

    npm install or
    yarn install or
    yarn

  3. When everything is completed, use the following command to start the application in development mode:

    yarn start-dev or
    npm run start-dev

Useful Scripts

The package.json file contains some useful scripts. The important ones are listed below.

  • start-dev: start the development environment. Hot reload is enabled
  • build-local: build the application on your machine. Should be ran before build-platform command.
  • build-platform: build the application using Electron builder for the specified platform. The supported platform types are: windows, linux and mac. First run the build-local command in order for this one to succeed.

The other scripts in the package.json should not be called manually. They are either used by the CI/CD pipeline or by other commands.

Deployment information

At the moment, a Windows version of the application is deployed using Github Actions. The deployed versions can be found here. In order to create a new release, follow the next steps:

  1. Update the version number of the project in the package.json file (ex. 1.2.3)
  2. Commit that change (git commit -am v1.2.3)
  3. Tag your commit (git tag v1.2.3). Make sure the tag name's format is v*.*.*. The workflow will use this tag to detect when to create a release.
  4. Push your changes to github (git push && git push --tags)

The Future

ArTIFFact Control is not completed yet: there are still some parts that need to be added/tweaked. Below there are some items listed we think of right now

  • Single file report: display the single file report when clicking on one in the multiple file report. This single file report should contain all warnings and errors that are returned by JHOVE.
  • Periodical checks: the flow for creating periodical checks is already designed in the Figma file, but it is not yet implemented in the application.
  • Create automatic deployment for both Linux and Mac.
  • Determine what needs to be on the Help page. For example FAQ, basic file checking flow explanation, tutorial...
  • ...

The Team

Member Role
Bram De Coninck Coach
Amber Perard UI/UX Design
Tim Pensart UI/UX Design
Christopher Denis Frontend developer
Freek De Sagher Frontend developer

License

This project is MIT licensed. Go to the LICENSE file for more information.

References

osoc