Go to file
2022-08-15 08:39:44 -07:00
.github Revert "Change how musl is downloaded/unarchived" as the problem is a 2022-08-04 15:19:43 -07:00
.vscode
activitypub Remove unused query 2022-08-04 13:25:02 -07:00
auth Fix creating table indexes 2022-08-03 10:31:14 -07:00
build Lock file maintenance 2022-08-08 14:17:47 +00:00
config Limit chat display names to 30 characters. Closes #1919 2022-08-14 18:09:16 -07:00
controllers Limit OTP requests to one per expiry window. Closes #2000 2022-08-02 13:31:41 -07:00
core Limit chat display names to 30 characters. Closes #1919 2022-08-14 18:09:16 -07:00
db Remove unused query 2022-08-04 13:25:02 -07:00
docs Commit updated API documentation 2022-06-20 15:48:48 +00:00
examples
geoip
logging
metrics Fix up the wasted CPU transcoding alert message 2022-05-11 17:00:23 -07:00
models
notifications Fix creating table indexes 2022-08-03 10:31:14 -07:00
router Set ReadHeaderTimeout in http server 2022-07-18 11:08:49 -07:00
static Update admin to 19c9ac698ac49922046fd8f2a5b0b816dc6e921a 2022-07-13 02:31:33 +00:00
test Use the race detector when running automated tests. 2022-07-19 21:09:45 -07:00
utils
webroot Fix followers pagination UI 2022-07-05 12:53:21 -07:00
yp
.editorconfig Change .editorconfig to reflect current state of the code (#1944) 2022-06-11 18:04:50 -07:00
.gitattributes
.gitignore
.golangci.yml Explicitly set go version in linter config. 2022-04-12 12:14:42 -07:00
.prettierignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile Change CMD to ENTRYPOINT (#1831) 2022-04-15 13:56:12 -07:00
Earthfile Host our own musl build toolchain 2022-08-05 12:18:21 -07:00
go.mod Update module github.com/aws/aws-sdk-go to v1.44.76 (#2030) 2022-08-14 10:46:02 -07:00
go.sum Update module github.com/aws/aws-sdk-go to v1.44.76 (#2030) 2022-08-14 10:46:02 -07:00
LICENSE
main.go
openapi.yaml Standardize endpoint name and fix doc. Closes #1966 2022-06-20 08:46:53 -07:00
README.md Link the Docker Pull badge to Dockerhub (#1948) 2022-06-14 15:36:37 -07:00
renovate.json Move baseBranches config option to top level 2022-08-15 08:39:44 -07:00
sqlc.yaml Messages table fixes to improve query performance (#2026) 2022-08-03 10:21:55 -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 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@fosstodon.org - email gabek@real-ity.com

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