Git Product home page Git Product logo

waifu-motivation-assets's Introduction

Deprecated!!

This project has been replaced by the Asset Management UI.

Please use that project to manage our waifu!

Waifu Motivation Assets

Reina Hibike

Prerequisites

First time setup

  1. Run yarn install to get all teh goodies
  2. Run yarn download to sync your local machine with all of the current assets.

Usage

Adding Assets

Just add assets to the directories defined in AssetTools.

Uploading Assets

  1. Be sure to do a git pull to update the assets download before uploading to avoid overwriting changed assets
    • If you did a pull and you got changes in the syncedAssets.json please run yarn download before continuing, and update accordingly.
  2. Run yarn build:asset-lists to generate the assets.json with the items you added.
  3. Run yarn upload to send them to the cloud!

Blacklisting Assets

Some assets may have been uploaded that we don't want to appear anymore.

  1. Move the entry from syncedAssets.json to blacklistedAssets.json.
  2. Remove the asset from the appropriate asset.json file.
  3. Run yarn upload to publish changes.

Grouped Assets

You can group assets for an alert context. Just add a groupId property with UUID value (we're currently using UUID v4).

For example: audible:

  {
    "path": "...",
    "categories": ["..."],
    "groupId": "6ae8f9cd-c7b6-4f6a-964b-8252e4135e4f"
  }

visual:

  {
    "imagePath": "...",
    "path": "...",
    "imageAlt": "",
    "imageDimensions": {},
    "categories": ["..."],
    "groupId": "6ae8f9cd-c7b6-4f6a-964b-8252e4135e4f"
  }

Note: Both audible and visual assets contain the same "groupId": "6ae8f9cd-c7b6-4f6a-964b-8252e4135e4f" value.

Be sure to commit your changes so we all can be in sync!

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.