Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

mathric/Mumika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mumika

Mumika is a customize image item search project

Update: This project is design for my personal use at begining. There won't be any future update or restructuring for this.

Build

  • Install the dependencies

    npm install

  • Run the project

    npm run start

  • Pack the project to App

    npm run pack

Configuration

There are 3 main components to run the program.

  • config.json

    config.json contains the main information of how to present and the manipulate option for the data. User need to provide the following properties in the file.

    • dataURL: (String) The path of data.json

    • objectTemplate: (Object) An template object for the item in data.json ( can be null since current version don't have relative function for it )

    • visible: (Object) Describe what properties in each item of data.json user want to display. The value is Boolean type. True is that property is exist in every item. False is if that property exist in the item then display.

    • tag: (Object) Each property is associated with a string array. The property name indicates the type of those tags in the array.
      E.G. "tag": { "Time": ["Day", "Night"], "Place": ["Indoor", "Outside"] }

    • searchProperty: (Array<String>) Contains the properties that what text search will go through each item in data.json.

    • sortList: (Array<String>) Contains the property that user would like to use for sort.

  • data.json Describe the detail for each item.

    • itemList: (Array<Object>) Each object need to have the following properties.

      • id: (Int) The ID for the item.
      • tag: (array<String>) The tags of the item.

      Optional property:

      • imagePath: (String) Indicates the item's image path.
  • image file

    For each item in data.json there's a correspond image. The dafault path for the image is (the folder of data.json)/img/(item ID).jpg if the imagePath property doesn't exist in the item.

About

An image/meme item manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages