Go to file
2022-04-07 13:44:36 -07:00
.github Update actions/setup-go action to v3 (#1814) 2022-04-04 13:52:54 -07:00
.vscode Add support for IP-based bans (#1703) 2022-03-06 20:34:49 -08:00
activitypub Move CreateSignedRequest to the activitypub/crypto package 2022-04-07 13:44:36 -07:00
build Update dependency minimist to 1.2.6 [SECURITY] (#1800) 2022-03-25 19:50:21 -07:00
config Fix linter warnings 2022-03-07 16:37:04 -08:00
controllers Pull player metrics out of the player. Support safari errors/buffering events 2022-03-29 17:33:36 -07:00
core Outbound live stream notifications (#1663) 2022-03-18 13:33:23 -07:00
db Outbound live stream notifications (#1663) 2022-03-18 13:33:23 -07:00
docs doc -> docs as Github needs a specific name 2022-03-19 12:02:34 -07:00
examples
geoip
logging
metrics Add a bit of sanity to the stream health messages 2022-04-07 00:14:23 -07:00
models Surface the % of players represented in metrics 2022-03-27 16:27:38 -07:00
notifications Increase browser push notification TTL 2022-03-25 19:48:37 -07:00
router Experiment with supporting h2c 2022-04-07 11:43:26 -07:00
static Update admin to 4e271aa8c24dc5c1eeb0576ce80656beb26de43d 2022-04-04 21:21:50 +00:00
test Bump minimist from 1.2.5 to 1.2.6 in /test/automated/api (#1795) 2022-03-27 16:46:57 -07:00
utils Add a bit of sanity to the stream health messages 2022-04-07 00:14:23 -07:00
webroot Adjust how latency jumps are determined 2022-04-06 22:26:37 -07:00
yp refactor: move from io/ioutil to io and os packages (#1546) 2021-11-19 22:42:50 -08:00
.editorconfig
.gitattributes doc -> docs as Github needs a specific name 2022-03-19 12:02:34 -07:00
.gitignore Typo in gitignore 2022-04-06 22:43:47 -07:00
.golangci.yml I should probably just remove the dupl linter 2022-01-12 16:29:22 -08:00
.prettierignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile Add git to build step 2022-03-17 00:24:04 -07:00
go.mod Experiment with supporting h2c 2022-04-07 11:43:26 -07:00
go.sum Experiment with supporting h2c 2022-04-07 11:43:26 -07:00
LICENSE
main.go Fix "invalid cross-device link" error when running on a different filesystem (#1769) 2022-03-07 16:30:40 -08:00
openapi.yaml Update API spec for 0.0.11. Closes #1666 2022-01-18 14:42:24 -08:00
README.md Tweak readme source instructions 2021-12-20 15:17:53 -08:00
renovate.json Remove Renovate grouped PRs 2022-03-07 11:17:17 -08:00
sqlc.json Social features / ActivityPub federation (#1629) 2022-01-12 13:53:10 -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