Skip to main content

Convert online media into podcast feeds.

Project description

Podmaker

Convert online media into podcast feeds.

PyPI - Version PyPI - Status PyPI - Python Version PyPI - Implementation PyPI - License

Features

  • Extract audio from online videos.
  • No need to deploy web services.
  • Generate podcast feeds.
  • Run in watch mode to keep feeds up-to-date.

Dependencies

This project uses ffmpeg to extract audio from videos. Please install it before using this project.

Installation

Using pip

We recommend installing this project in a virtual environment.

pip install podmaker

Using pipx

pipx install podmaker

Configuration

You must create a configuration file before using this project. The configuration file is a TOML file. The default path is ${WORK_DIR}/config.toml. You can use the -c or --config option to specify a different path. The example configuration file is config.example.toml.

Usage

Systemd

You can use systemd to run this project in the background. The steps are as follows (need root):

# create virtual environment
apt install python3 python3-venv
mkdir -p /opt/podmaker && cd /opt/podmaker
python3 -m venv venv
# install podmaker
./venv/bin/pip install podmaker
# create config file and edit it
curl -o config.toml https://raw.githubusercontent.com/YogiLiu/podmaker/main/config.example.toml
vim config.toml
# create systemd service
curl -o /etc/systemd/system/podmaker.service https://raw.githubusercontent.com/YogiLiu/podmaker/main/systemd/podmaker.service
systemctl daemon-reload
# enable and start service
systemctl enable podmaker
systemctl start podmaker

Manual

podmaker -c path/to/config.toml

or

python -m podmaker -c path/to/config.toml

Roadmap

Platforms

  • YouTube
    • Playlist
    • Channel
  • BiliBili

Resource Hosting

  • S3
  • Local

Contributing

Pull requests are welcome. Before committing, please ensure that you have pass the unit tests and activate the autohooks.

You can activate the autohooks using the following command:

poetry run autohooks activate --mode poetry

It will automatically lint, format, and sort imports for the code.

If you add new features, please add tests for them.

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

podmaker-0.7.2.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

podmaker-0.7.2-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file podmaker-0.7.2.tar.gz.

File metadata

  • Download URL: podmaker-0.7.2.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.11-arch2-1

File hashes

Hashes for podmaker-0.7.2.tar.gz
Algorithm Hash digest
SHA256 3ccbdbd9f47af8c43fe41711e654caa2935efe2a11c29281fe08cd8dfd268397
MD5 9b7664dc33c3892f6e93e6813cc7d2bc
BLAKE2b-256 fdf1c51fd467d90ba7aa0defcc4ae30e080e862b778394af5d6577196770d906

See more details on using hashes here.

File details

Details for the file podmaker-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: podmaker-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.11-arch2-1

File hashes

Hashes for podmaker-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c23d79f769624540c461f760173370004bcb7977f95e303840a0a549fff1dcf
MD5 8a8f3e342ae58a08d14ccdb2348daf70
BLAKE2b-256 c6123df4ebe2f5ad15cf67f917bdaae76a23a8ff128b4d13602156974ec1682a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page