Take control over your live stream video by running it yourself. Streaming + chat out of the box.
Find a file
2022-01-06 13:06:44 -08:00
.github Update stale PR message 2021-12-15 21:45:21 -08:00
.vscode Auto updater APIs (#1523) 2021-11-30 13:15:18 -08:00
build Bump cssnano from 5.0.13 to 5.0.14 in /build/javascript (#1608) 2021-12-21 10:19:06 -08:00
config Auto updater APIs (#1523) 2021-11-30 13:15:18 -08:00
controllers Derive chat display-name from upstream HTTP user header (#1633) 2021-12-30 21:33:45 -08:00
core Give transcoder a larger codec buffer size. 2021-11-30 13:40:09 -08:00
doc Commit updated API documentation 2021-10-29 00:28:29 +00:00
examples Remove overly complex and specific docker-compose examples. Closes #1475 2021-10-21 11:48:21 -07:00
geoip refactor geoip (#1442) 2021-10-12 13:21:37 -07:00
logging Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
metrics Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
models Increase the number of segments in HLS playlist. 2021-11-23 21:54:51 -08:00
router Auto updater APIs (#1523) 2021-11-30 13:15:18 -08:00
static Update admin to beb9376c1292d0c64dd0d21e621cd953d86baa19 2022-01-06 01:18:10 +00:00
test Derive chat display-name from upstream HTTP user header (#1633) 2021-12-30 21:33:45 -08:00
utils Add DuckDuckGo bot to our bot list 2022-01-06 13:06:44 -08:00
webroot Make username in the header more obvious by lightening color 2022-01-06 11:29:25 -08:00
yp refactor: move from io/ioutil to io and os packages (#1546) 2021-11-19 22:42:50 -08:00
.editorconfig add starter editorconfig file 2020-08-09 23:44:04 -07:00
.gitattributes Fix paths to fix linguist 2021-10-20 13:14:24 -07:00
.gitignore Automated browser testing (#1415) 2021-09-17 14:04:09 -07:00
.golangci.yml Reduce max complexity in linter 2021-11-26 20:55:58 -08: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
CONTRIBUTING.md Create CONTRIBUTING.md (#1394) 2021-09-10 12:36:42 -07:00
Dockerfile Fix Dockerfile to be read in Plesk (#1463) 2021-10-12 11:31:58 -07:00
go.mod Bump github.com/microcosm-cc/bluemonday from 1.0.16 to 1.0.17 (#1634) 2021-12-31 09:39:21 -08:00
go.sum Bump github.com/microcosm-cc/bluemonday from 1.0.16 to 1.0.17 (#1634) 2021-12-31 09:39:21 -08:00
LICENSE Create LICENSE 2020-07-08 17:07:09 -07:00
main.go Split out flags so all functions in main have access 2021-10-25 00:38:09 -07:00
openapi.yaml Support path-based S3 storage. Closes #1495 (#1496) 2021-10-28 17:27:44 -07:00
pkged.go Replace pkger with go:embed for bundling the admin. Closes #844 (#1464) 2021-10-11 14:56:00 -07:00
README.md Tweak readme source instructions 2021-12-20 15:17:53 -08: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 video 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.

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.

Building from Source

  1. Ensure you have the gcc compiler installed.
  2. Install the Go toolchain (1.16 or above).
  3. Clone the repo. git clone https://github.com/owncast/owncast
  4. go run main.go will run from source.
  5. Visit http://yourserver:8080 to access the web interface or http://yourserver:8080/admin to access the admin.
  6. 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. From the owncast directory run the packager script: ./build/admin/bundleAdmin.sh
  2. Compile or run like above. go run main.go

Contributing

Owncast is a growing open source project that is giving freedom, flexibility and fun to live streamers. And while we have a small team of kind, talented and thoughtful volunteers, we have gaps in our skillset that wed love to fill so we can get even better at building tools that make a difference for people.

We abide by our Code of Conduct and feel strongly about open, appreciative, and empathetic people joining us. Weve been very lucky to have this so far, so maybe you can help us with your skills and passion, too!

There is a larger, more detailed, and more up-to-date guide for helping contribute to Owncast on our website.

Architecture

Owncast consists of two repositories with two standalone projects. The repo you're looking at now is the core repository with the backend and frontend. owncast/owncast-admin is an additional web project that is built separately and used for configuration and management of an Owncast server.

Suggestions when working with the Owncast codebase

  1. Install golangci-lint for helpful warnings and suggestions directly in your editor when writing Go.
  2. If using VSCode install the lit-html extension to aid in syntax highlighting of our frontend HTML + Preact.
  3. Run the project with go run main.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