https://github.com/simonrw/awsaudio-extension
https://github.com/simonrw/awsaudio-extension
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonrw/awsaudio-extension
- Owner: simonrw
- Created: 2023-10-12T14:23:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T14:24:19.000Z (over 2 years ago)
- Last Synced: 2025-02-06T08:45:21.993Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AWSAudio
===============================
Play music from your cloud infrastructure 🎼
## Architecture
Since audio in docker is complex, this repository runs a server on your local computer (`FLASK_APP=server python -m flask run -h 0.0.0.0`) listening for connections from your LocalStack instance. Change the IP address in `awsaudio/extension.py` from `192.168.0.10` to the IP address printed in your flask server output.
## Install local development version
To install the extension into localstack in developer mode, you will need Python 3.10, and create a virtual environment in the extensions project.
In the newly generated project, simply run
```bash
make install
```
Then, to enable the extension for LocalStack, run
```bash
localstack extensions dev enable .
```
You can then start LocalStack with `EXTENSION_DEV_MODE=1` to load all enabled extensions:
```bash
EXTENSION_DEV_MODE=1 localstack start
```
## Install from GitHub repository
To distribute your extension, simply upload it to your github account. Your extension can then be installed via:
```bash
localstack extensions install "git+https://github.com/simonrw/awsaudio-extension/#egg=awsaudio"
```