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.1.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.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: podmaker-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cbe1b699f11762d17196dcd4d49da1e92037b443d6194241ee0bd9cf0ca2483e
MD5 5751735d88592659fcadcdfb82aff1e8
BLAKE2b-256 1f5370a201adc1f66bb3e175cecc731d7fdcef76d8015eb583b6b2b519977712

See more details on using hashes here.

File details

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

File metadata

  • Download URL: podmaker-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba6edfc10e325d6d0f7f5902c97debdcea085bfe758b72b543798679d5df911
MD5 1d6aa0748d4dfaae56e4f5695c5f30c9
BLAKE2b-256 5c6892c0283603cc6880ec6dac60cb3f107290b623152d8dc0696b99c831ed07

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