diff --git a/README.md b/README.md index a2715f2..4c0e35e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,14 @@ CONFIG="/path/to/config.toml" ./subsyt ./subsyt # assumes "./config.toml" ``` +## build + +We want a statically linked binary so disable CGO. + +```sh +CGO_ENABLED=0 go build +``` + ## config `config.toml`: @@ -42,6 +50,9 @@ cookies_file = "" # pass user cookies to yt, blank to disa opml_file = "./opml.xml" # the opml file to use ``` +## generate opml + +E.g. https://github.com/jeb5/YouTube-Subscriptions-RSS `subs-opml.xml`: ```xml @@ -62,12 +73,6 @@ opml_file = "./opml.xml" # the opml file to use ``` -## build - -```sh -CGO_ENABLED=0 go build -``` - ## cookies > [!WARNING] @@ -149,7 +154,3 @@ podman run --rm \ │   │   └── Technology_Connextras.s2025e0331.An_unplanned_trip_from_Chicago_to_Milwaukee_in_an_electric_car.3GUQdrpduo0-1080p.webm │   └── tvshow.nfo ``` - -## generate opml - -E.g. https://github.com/jeb5/YouTube-Subscriptions-RSS