https://github.com/schollz/streammyaudio
Easily stream audio from any computer to the internet.
https://github.com/schollz/streammyaudio
audio audio-streaming streaming streaming-audio
Last synced: about 2 months ago
JSON representation
Easily stream audio from any computer to the internet.
- Host: GitHub
- URL: https://github.com/schollz/streammyaudio
- Owner: schollz
- License: gpl-3.0
- Created: 2022-03-17T01:32:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T19:07:58.000Z (11 months ago)
- Last Synced: 2025-07-29T01:43:32.978Z (2 months ago)
- Topics: audio, audio-streaming, streaming, streaming-audio
- Language: HTML
- Homepage: https://streammyaudio.com
- Size: 854 KB
- Stars: 86
- Watchers: 6
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stream your audio
This program/server lets you livestream audio from your computer to a website *as easily as possible*. How easy? You should be able to just [download a release](https://github.com/schollz/streammyaudio/releases/latest), double-click it, and stream!
Use it to play demos for people you know, or make a live podcast, or stream your piano practice, or whatever you'd like.
live website: https://streammyaudio.com
blog (more info): https://schollz.com/blog/stream
## Usage
The easiest way to use this is to [download the latest release](https://github.com/schollz/streammyaudio/releases/latest). But you can build it yourself. This codebase includes both the server and the client.
## Linux
The basic build (Linux only) is:
```
git clone https://github.com/schollz/streammyaudio
cd streammyaudio
go build -v
```which will build both the server and client, though you will also need `ffmpeg` installed.
You actually don't need to build this if just want to stream audio on Linux. You can directly just use `ffmpeg` and `curl` to send live audio:
```
ffmpeg -f alsa -i hw:0 -f mp3 - | \
curl -s -k -H "Transfer-Encoding: chunked" -X POST -T - \
"https://streammyaudio.com/YOURSTATIONNAME.mp3?stream=true&advertise=true"
```Or similar. See the [website](https://streammyaudio.com) for more ideas.
## Windows
Windows basically is the same but it will automatically bundle a statically-compiled `ffmpeg` to self-contain the client. You can simply run
```
make build-windows
```to build the client with `ffmpeg` so that it is a portale app.
## Mac OS
Mac OS basically is the same but it will automatically bundle a statically-compiled `ffmpeg` to self-contain the client. You can simply run
```
make build-mac
```for most macs, or
```
make build-mac-arm
```for M1 macs. These will automatically bundle with the right version of `ffmpeg`.
## License
GPL