Take control over your live stream video by running it yourself. Streaming + chat out of the box.
Find a file
2021-08-18 16:11:00 -07:00
.github Increase golangci-lint timeout 2021-08-12 21:33:11 -07:00
.vscode 0.0.6 -> Master (#731) 2021-02-18 23:05:52 -08:00
build Bump @videojs/http-streaming from 2.10.0 to 2.10.1 in /build/javascript (#1334) 2021-08-18 12:08:19 -07:00
config Move emoji directory definition to config (#1317) 2021-08-14 12:48:04 -07:00
controllers Move emoji directory definition to config (#1317) 2021-08-14 12:48:04 -07:00
core Fixing chat message formatting in #1315 2021-08-18 16:11:00 -07:00
doc Commit updated API documentation 2021-07-22 00:20:22 +00:00
examples Banjo/owncast systemd service (#749) 2021-02-21 11:04:20 -08:00
geoip Restore GeoIP support to now support chat users. Closes #1304 2021-08-13 08:52:36 +02:00
logging Fix initial creation of logging directory 2021-07-11 17:08:51 -07:00
metrics Display the current value not the threshold 2021-02-24 23:48:31 -08:00
models Support assigning nil as time instead of setting time as invalid. Fix typo that led to incorrect disconnect time. Maybe addresses #1268? 2021-08-03 17:47:16 -07:00
router Fix status code for options requests (#1290) 2021-08-03 12:23:20 -07:00
static Fix metadata.html crash. Closes #746. Re: #685 2021-02-20 16:47:47 -08:00
test Add automated integration test for client list API. 2021-08-13 08:52:36 +02:00
utils Fixing chat message formatting in #1315 2021-08-18 16:11:00 -07:00
webroot Fixing chat message formatting in #1315 2021-08-18 16:11:00 -07:00
yp Support assigning nil as time instead of setting time as invalid. Fix typo that led to incorrect disconnect time. Maybe addresses #1268? 2021-08-03 17:47:16 -07:00
.editorconfig add starter editorconfig file 2020-08-09 23:44:04 -07:00
.gitattributes gitattributes linguist overrides are not recursive 2021-04-22 10:44:25 -07:00
.gitignore Save owncast logs to log file. Closes #908 2021-05-22 19:25:54 -07:00
.golangci.yml Cleanup linter warnings 2021-07-19 23:49:16 -07:00
.prettierignore Format javascript on push 2021-02-05 13:10:52 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-07-08 17:08:28 -07:00
Dockerfile Fix the passed in version number not being used due to an incorrect var 2021-06-28 16:01:01 -07:00
go.mod Bump golang.org/x/mod from 0.4.2 to 0.5.0 (#1326) 2021-08-16 12:47:07 -07:00
go.sum Bump golang.org/x/mod from 0.4.2 to 0.5.0 (#1326) 2021-08-16 12:47:07 -07:00
LICENSE Create LICENSE 2020-07-08 17:07:09 -07:00
main.go Cleanup linter warnings 2021-07-19 23:49:16 -07:00
openapi.yaml Clarify in routes and names that it is chat clients being returned 2021-07-21 17:19:15 -07:00
pkged.go Update admin bundle 2021-08-13 00:26:00 -07:00
README.md Use the same screenshot as the web site 2021-08-14 20:24:54 -07:00


Logo

Take control over your content and stream it yourself.


Explore the docs »

View Demo · Use Our Server for Testing · FAQ · Report Bug

Table of Contents

About The Project

Owncast is an open source, self-hosted, decentralized, single user live streaming and chat server for running your own live streams similar in style to the large mainstream options. It offers complete ownership over your content, interface, moderation and audience. Visit the demo for an example.


Getting Started

The goal is to have a single service that you can run and it works out of the box. Visit the Quickstart to get up and running.

Configuration

Many aspects can be adjusted and customized to your preferences. Read more about Configuration to update the web UI, video settings, and more.

Web interface + chat

Owncast includes a web interface to your video with built-in chat that is available once you start the server.

The web interface was specifically built to be editable by anybody comfortable tweaking a web page. It's not bundled or transpiled into anything, it's just HTML + Javascript + CSS that you can start editing.

Read more about the features provided and how to configure them in the web documentation.

Use with your existing broadcasting software

In general Owncast is compatible with any software that uses RTMP to broadcast to a remote server. RTMP is what all the major live streaming services use, so if youre currently using one of those its likely that you can point your existing software at your Owncast instance instead.

OBS, Streamlabs, Restream and many others have been used with Owncast. Read more about compatibility with existing software.

Video storage options

Two ways of storing and distributing the video are supported.

  1. Locally via the Owncast server.
  2. S3-compatible storage.

Local file distribution

This is the simplest and works out of the box. In this scenario video will be served to the public from the computer that is running the server. If you have a fast internet connection, enough bandwidth alotted to you, and a small audience this may be fine for many people.

S3-Compatible Storage

Instead of serving video directly from your personal server you can use a S3 compatible storage provider to offload the bandwidth and storage requirements elsewhere.

Read more detailed documentation about configuration of S3-compatible services.

Building from Source

  1. Ensure you have the gcc compiler configured.
  2. Install the Go toolchain.
  3. Clone the repo. git clone https://github.com/owncast/owncast
  4. go run main.go pkged.go will run from source.
  5. Point your broadcasting software at your new server and start streaming.

There is also a supplied Dockerfile so you can spin it up from source with little effort. Read more about running from source.

Bundling in latest admin from source

The admin ui is built at: https://github.com/owncast/owncast-admin it is bundled into the final binary using pkger.

To bundle in the latest admin UI:

  1. Install pkger. go install github.com/markbates/pkger/cmd/...
  2. From the owncast directory run the packager script: ./build/admin/bundleAdmin.sh
  3. Compile or run like above. go run main.go pkged.go

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project chat: Join us on Rocket.Chat if you want to contribute, follow along, or if you have questions.

Gabe Kangas - @gabek@mastodon.social - email gabek@real-ity.com

Project Link: https://github.com/owncast/owncast