Take control over your live stream video by running it yourself. Streaming + chat out of the box.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Gabe Kangas 182a5d25db
Update EditorConfig with some explicit settings
3 years ago
.github Add user detail API + modal. Closes #2002 3 years ago
.vscode Add support for IP-based bans (#1703) 3 years ago
activitypub Merge remote-tracking branch 'origin/develop' into webv2 3 years ago
auth Pass back actual error payload 3 years ago
build Merge remote-tracking branch 'origin/develop' into webv2 3 years ago
config Support a custom emoji override directory. Closes #1967 3 years ago
controllers Add user detail API + modal. Closes #2002 3 years ago
core Add user detail API + modal. Closes #2002 3 years ago
db Add user detail API + modal. Closes #2002 3 years ago
docs Commit updated API documentation 3 years ago
examples Remove overly complex and specific docker-compose examples. Closes #1475 4 years ago
geoip refactor geoip (#1442) 4 years ago
logging Expanded linting + fix warnings (#1396) 4 years ago
metrics Fix up the wasted CPU transcoding alert message 3 years ago
models ../ 3 years ago
notifications Increase browser push notification TTL 3 years ago
router Set ReadHeaderTimeout in http server 3 years ago
static Merge remote-tracking branch 'origin/develop' into webv2 3 years ago
test Update test to reflect not treating summary as markdown 3 years ago
utils Use a numbered pre-named set of user colors instead of random. Closes #1974 3 years ago
web Add user detail API + modal. Closes #2002 3 years ago
webroot Merge remote-tracking branch 'origin/develop' into webv2 3 years ago
yp refactor: move from io/ioutil to io and os packages (#1546) 4 years ago
.editorconfig Update EditorConfig with some explicit settings 3 years ago
.gitattributes doc -> docs as Github needs a specific name 3 years ago
.gitignore Typo in gitignore 3 years ago
.golangci.yml Explicitly set go version in linter config. 3 years ago
.prettierignore Added moderator menu to messages and some other styling. 3 years ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 5 years ago
CONTRIBUTING.md Create CONTRIBUTING.md (#1394) 4 years ago
Dockerfile Change CMD to ENTRYPOINT (#1831) 3 years ago
Earthfile Add unit and api tests to Earthfile 3 years ago
LICENSE Create LICENSE 5 years ago
README.md Merge remote-tracking branch 'origin/develop' into webv2 3 years ago
go.mod Update golang.org/x/net digest to c690dde 3 years ago
go.sum Update golang.org/x/net digest to c690dde 3 years ago
main.go Fix "invalid cross-device link" error when running on a different filesystem (#1769) 3 years ago
openapi.yaml Merge remote-tracking branch 'origin/develop' into webv2 3 years ago
renovate.json Remove schedule from renovate 3 years ago
sqlc.json Social features / ActivityPub federation (#1629) 3 years ago

README.md


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 you’re currently using one of those it’s 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

Backend

The Owncast backend is a service written in Go.

  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.

Frontend

The Owncast Web Frontend is a React application that is worked on seperately from the backend. Visit the web readme for details.

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 we’d 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. We’ve 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.

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@fosstodon.org - email gabek@real-ity.com

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