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

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.2.2.tar.gz (15.4 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.2.2-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: podmaker-0.2.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-arch1-1

File hashes

Hashes for podmaker-0.2.2.tar.gz
Algorithm Hash digest
SHA256 64f7375b7cc6df72bf6a0fada247d61507f249dde197bc3635052395838f09b3
MD5 d56498ae5a0fe9d49648aa152f3b2075
BLAKE2b-256 00e176b278227dd3067f74e8a7f1dcacfccded387ef6ce3999fae052fa2d0d05

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for podmaker-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a28d06e334293c60e06c9fdc48de8db4e59dabcc587c66b0dcbc6147d6152dc
MD5 e060f7834b1a72a2ae91a26144bc819e
BLAKE2b-256 97c45389efa4b78abaec705bc6fd57670841c2c0614b3f7865a85baf613348e9

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