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.4.0.tar.gz (61.1 kB view hashes)

Uploaded Source

Built Distribution

audio_feeder-0.4.0-py3-none-any.whl (69.0 kB view hashes)

Uploaded Python 3

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