Take control over your live stream video by running it yourself. Streaming + chat out of the box.
Find a file
dependabot[bot] 8ccef737ef
Bump color-string from 1.5.4 to 1.5.5 in /build/javascript (#1131)
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/compare/1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 08:09:55 -07:00
.github Customize stalebot to close stale PRs 2021-06-21 09:46:32 -07:00
.vscode 0.0.6 -> Master (#731) 2021-02-18 23:05:52 -08:00
build Bump color-string from 1.5.4 to 1.5.5 in /build/javascript (#1131) 2021-06-22 08:09:55 -07:00
config Consolidate Dockerfile into root and consolidate version into config (#1118) 2021-06-17 19:27:17 -07:00
controllers Fix incorrect error message 2021-06-21 20:16:57 -07:00
core Wire up blocked chat username controller 2021-06-21 20:16:21 -07:00
doc/api Commit updated API documentation 2021-04-21 01:51:42 +00:00
examples Banjo/owncast systemd service (#749) 2021-02-21 11:04:20 -08:00
geoip 0.0.6 -> Master (#731) 2021-02-18 23:05:52 -08:00
logging Create+use logs dir within data dir for logging 2021-05-23 14:24:20 -07:00
metrics Display the current value not the threshold 2021-02-24 23:48:31 -08:00
models Active viewer PING controller. Closes #790 (#990) 2021-05-20 20:29:01 -07:00
router Wire up blocked chat username controller 2021-06-21 20:16:21 -07:00
static Fix metadata.html crash. Closes #746. Re: #685 2021-02-20 16:47:47 -08:00
test Fix missing package.json for load tests 2021-06-04 20:03:11 -07:00
utils updates to backups directory (#1099) 2021-06-13 15:28:59 -07:00
webroot Fix missing space in viewer count 2021-06-20 20:15:08 -07:00
yp Guard against pinging YP when offline. Closes #600 2021-03-22 20:31:25 -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 Use a golangci-lint workflow to check for common mistakes & problems (#353) 2020-11-12 14:42:39 -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
Dockerfile Consolidate Dockerfile into root and consolidate version into config (#1118) 2021-06-17 19:27:17 -07:00
go.mod Bump github.com/aws/aws-sdk-go from 1.38.64 to 1.38.65 (#1130) 2021-06-22 08:03:54 -07:00
go.sum Bump github.com/aws/aws-sdk-go from 1.38.64 to 1.38.65 (#1130) 2021-06-22 08:03:54 -07:00
LICENSE Create LICENSE 2020-07-08 17:07:09 -07:00
main.go Consolidate Dockerfile into root and consolidate version into config (#1118) 2021-06-17 19:27:17 -07:00
openapi.yaml Add actions to spec. Mark as 0.0.7 2021-04-20 18:48:47 -07:00
pkged.go Update admin bundle 2021-06-10 15:12:41 -07:00
README.md Add documentation section for how to build in admin (#604) 2021-01-07 17:45:39 -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

In 2020 the world changed when everyone become stuck in their homes, looking for creative outlets to share their art, skills and themselves from inside their bedroom.

This created an explosion of live streaming on Facebook Live, YouTube Live, Instagram, and Twitch. These services provided everything they needed, an easy way to live stream to the world, and a chat for users to be a part of their community.

That's when I wanted a better option for people. Something you could run yourself and get all the functionality of these services, where you could live stream to an audience and and allow them to take part in the chat, just like they've been used to on all the other services. There should be a independent, standalone Twitch in a Box.

Keep in mind that while streaming to the big social companies is always free, you pay for it with your identity and your data, as well as the identity and data of every person that tunes in. When you self-host anything you'll have to pay with your money instead. But running a self-hosted live stream server can be done for as cheap as $5/mo, and that's a much better deal than selling your soul to Facebook, Google or Amazon.


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