da9727de1b
The --debug flag was writing into a variable called show_debug_info, which was read nowhere. This changes it to write into the existing debug variable, which is used all over the place. Manually tested that --debug now results in verbose CURL HTTP transaction logs being printed. |
||
---|---|---|
.github/workflows | ||
contrib | ||
src | ||
tests | ||
.clang-format | ||
.gitignore | ||
AUTHORS | ||
castget.1.ronn | ||
castgetrc.5.ronn | ||
castgetrc.example | ||
ChangeLog.old | ||
CHANGES.md | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
INSTALL | ||
Makefile.am | ||
README.md |
castget
castget is a simple, command-line based RSS enclosure downloader. It is primarily intended for automatic, unattended downloading of podcasts.
Packages
Many distributions have packages for castget:
Building
castget depends on
- glib2 >= 2.30
- libcurl >= 7.21.6
- taglib (optional)
If building on macOS, you can use Homebrew to install the dependencies:
brew install glib taglib
On Ubuntu Xenial, you need the following:
- libcurl4-gnutls-dev
- libtagc0-dev (optional)
On Alpine, you need the following:
- libxml2-dev
- glib-dev
- curl-dev
- taglib-dev (optional)
On Debian 9 “stretch”, you need the following:
- pkg-config
- libglib2.0-dev
- libxml2-dev
- libcurl3-dev
- libtagc0-dev (optional)
Building from source
To build from a distribution tarball, do the following:
./configure
make
make install
To disable taglib support, pass --without-taglib
to configure
;
./configure --without-taglib
Building from git
To build from git, clone the master branch
git clone https://github.com/mlj/castget.git
then rebuild the autoconf scripts
autoreconf -fi
./configure
make
make install
You will also need ronn, which is used to build the man pages. Prebuilt man pages are included in the distribution.
Building from Dockerfile
A Dockerfile is available in contrib folder.
Build docker image.
docker build -t castget -f contrib/Dockerfile .
Create a file .castgetrc
as shown on Usage and run container.
docker run -v $(pwd):/castget --rm -it castget
Usage
For usage instructions see the castget(1) and castget(5) man pages.
You will find a sample configuration file castgetrc.example in the top level
directory of the distribution. You should copy this file to your home directory
as .castgetrc
and edit it to suit your preferences.
Bug reports
Please use the github bug tracker to report bugs.
License
castget is maintained by Marius L. Jøhndal and is available under the LGPL license.