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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: audio_feeder-0.4.0.tar.gz
  • Upload date:
  • Size: 61.1 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.4.0.tar.gz
Algorithm Hash digest
SHA256 582b0f2b17a4fec2c6c13516b2224efcd3e21262f9ad1561d8e3dbb8f8728eef
MD5 89fcd8526e583febb338cc6f1be60418
BLAKE2b-256 3f7eab662b795ed228752bdbd89603585bb0ba362fe128a9343b32b649361efa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for audio_feeder-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0761d47df7fc06da5e0bd794b026c6918b89ca6f66b7e984e7398f2de6a76ae8
MD5 5dd7bf2e0592e78ebdff1ed68cb384e2
BLAKE2b-256 d0f8c8f969cccc4eb435cebe3f3365f382baf09e2c948c81192ae8f7959878d1

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