akhilrex / podgrab

A self-hosted podcast manager/downloader/archiver tool to download podcast episodes as soon as they become live with an integrated player.
GNU General Public License v3.0
1.62k stars 88 forks source link

webassets, client: embed assets in compiled binary #242

Open ocelotsloth opened 1 year ago

ocelotsloth commented 1 year ago

Go 1.16 introduced the embed library, which allows for embedding files into the compiled binary. This simplifies deployment as only the executable is required on the host, without any separate web assets folders.

This patch applies this change to the client and webassets directories.

ocelotsloth commented 1 year ago

Hmm yeah I see this is in 1.15.

So that'll need to be bumped up too--or not if you're not interested.