Skip to content

BonhyeonGu/ImageToReady

Repository files navigation

Image To Ready

This service randomly selects 5 images from a collection, prepares them either as a slideshow video or in their original form, and uploads them to the web.

... ... ... ...

Acknowledgment

This service was developed with the help of Vrchat users 5ignal and applemint231.

Demo

Description

It supports two options: using rclone and utilizing a local storage solution.

Function

  • Output results using SFTP
  • Reference external storage using rclone
  • Reference using local storage
  • An algorithm that prevents conflicts with previous selections when randomly choosing from the

Install

Select either directory 2 or directory 3 and apply it to the RUN git clone command in the Dockerfile. After that, modify the png2mp4.json file. Below is an example:

{
    "interTime" : 5,

    "locale_inp" : "/source",
    "locale_blacklist" : ["_JustDance"],

    "locale_tag" : {

        "mado": "MD",
        "__ELSE__" : "NB"
    },

    "tag_on" : true,
    "date_type" : 2,
    "mp4_on" : false,

    "drop" : {
        "distance" : 5,
        "step" : 600
    },

    "sftp" : {
        "host" : "111.111.111.111", 
        "port" : 12000,
        "id" : "root",
        "pw" : "!!!!1!!!!", 
        "locale" : "/usr/share/nginx/html/"
    },
    "cmd" : [
        "rclone mount remote:/Share /source --read-only --daemon --vfs-cache-mode full --vfs-cache-max-size 20G"
    ],

    "jd" : {
        "sw" : true,
        "inp" : "/source/_JustDance",
        "blacklist" : ["@eaDir"], 
        "distance" : 1,
        "step" : 2
    }
}

About

This service randomly selects images from a collection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors