Skip to main content

audio-feeder provides a server that serves your audiobooks and other audio

Project description

audio-feeder is a Flask-based web-app that hosts your audiobooks (or other audio content) as RSS feeds compatible with podcatchers.

Installation

Currently, there is no installer that will install things “correctly”, so you should look into the proper way to deploy this web app. In ‘development mode’, you can install it using these steps:

  • Download the source code, cd into the extracted directory.

  • In your virtualenv, run pip install .

  • Run audio-feeder install - this should create a basic {{CONFIG}} directory in /etc/audio_feeder or ~/.config/audio_feeder

  • Modify the configuration files in {{CONFIG}}/config.yml as desired.

  • Modify the templates and CSS files as desired.

  • Create a symbolic link to your audiobooks directory under {{CONFIG}}/static/media/ (e.g. ~/.config/audio_feeder/static/media/audiobooks) - we’ll call this {{AUDIOBOOKS}}.

  • Run audio-feeder update {{AUDIOBOOKS}} to pull metadata from Google Books (for a large number of audiobooks, you may need to get a Google API key, which should be entered in your config.yml page under google_api_key).

  • Run the server with audio-feeder run

  • Visit your page at localhost:9090 (default value). Note: You should specify your computer’s specific IP address if you are planning on serving your audiobooks directly to a phone or device over wifi.

If you add more audiobooks to your audiobook path, run audio-feeder update {{AUDIOBOOKS}} again and restart the application.

Note

Version 0.1.0 is a very rough initial cut, and if you’re looking for something easy to use out of the box, you may have to wait a bit longer. The odd choice of using YAML files as a pseudo-database is not intended to be permanent, and these will be replaced with a proper database soon.

Dependencies

The following dependencies are required for installation, and will be installed if missing when installed through pip:

  • Flask

  • ruamel.yaml

  • qrcode

  • Pillow

  • requests

  • jinja2

  • click

  • progressbar2

To run the test suite, pytest is also required.

License

All images and documentation contained herein are licensed under CC-0.

The code is released under the Apache 2.0 license.

Contributing

Pull requests and issues are more than welcome. Please be aware that your contributions will be released under the licenses stated above. If you are not comfortable with that, please do not make a pull request.

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

audio_feeder-0.5.0.tar.gz (64.6 kB view details)

Uploaded Source

Built Distribution

audio_feeder-0.5.0-py3-none-any.whl (68.4 kB view details)

Uploaded Python 3

File details

Details for the file audio_feeder-0.5.0.tar.gz.

File metadata

  • Download URL: audio_feeder-0.5.0.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for audio_feeder-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a68e7c43e5a8db005f3c1c322f2d0d0bfd34e00509b3527a33cac3abcea03a77
MD5 bfb1ea64798726c808d99c1166b0fcdd
BLAKE2b-256 89170f09aee567f230566d46e57bb8b1ca0a381627035deb1b3de8f21ce17946

See more details on using hashes here.

File details

Details for the file audio_feeder-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for audio_feeder-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af624660ee75a7a49cc0688a0b27a99f19adfd19f8ce8f21588fd73dcfa0e668
MD5 4458498743ad7c512e1790a078f13712
BLAKE2b-256 0a3989a4b52c82fd65fde8d71b33b6da2a5d0b7b94d26485bd6a6bba1969878a

See more details on using hashes here.

Supported by

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