Problem: No way to install the files Solution: - Install into ~/.local/bin
Problem: NGINX can't serve huge files Solution: - Attempt to use `proxy_max_temp_file_size 0;` Maybe we need to do `proxy_buffering off;` as well, but let's see if this works.
Problem: cdup didn't work without -r, warnings Solution: - Fix cdup to upload files in a flat way - Fix shellcheck warnings Currently we're doing the following: - Make `cdn` directory in the project - `cdup cdn` when needed
Problem: sr.ht complains about lack of license Solution: - Add WTFPL
Problem: No systemd service or nginx conf Solution: Use heredocs to populate service file (enabling it later) and adding CDN to list of enabling sites (restarting nginx)
Problem: No way to swiftly deploy CDNs Solution: Make three scripts: - One to upload a file to a CDN - One to init dot CDN config - One to start a CDN locally