Don't Want to Use My Server

Don't Want to Use My Server

⚠️
This section is written assuming some prior knowledge.
If you don’t understand the content while reading, please search and research.

Procedure

Open the PHP file included with this gimmick and set the web app URL obtained from this procedure.
Then deploy it to a rental server or similar that supports PHP.

ℹ️
Since Imagick is used for thumbnail image composition, it needs to be enabled if it’s not enabled by default.

During setup, select “Custom URL” and enter the URL where you placed the PHP file.
For example, if you placed it under http://example.com/playlist/, enter “http://example.com/playlist/".

Set custom URL

Also, since cache accumulates, please set up the included cache_cleanup.php to run periodically with CRON or similar.
By default, it’s set to delete old items with a 5GB limit.
For single-person use, 100MB should be sufficient. (About 5MB per 66 thumbnail sets)

Supplement

In this gimmick, GAS is the biggest bottleneck for operation speed. Since GAS startup is quite slow, each operation inevitably takes about 5 seconds or more.

My server uses MySQL DB for caching and doesn’t go through GAS unless necessary, so it’s faster to use my server if there’s no particular reason not to.

The distributed PHP code should do the same, but currently the support isn’t keeping up. It’s planned to be supported eventually.