Take control over your live stream video by running it yourself. Streaming + chat out of the box.
Find a file
renovate[bot] 6a39a9bd51
fix(deps): update module github.com/amalfra/etag to v2 (develop) (#2639)
* Update module github.com/amalfra/etag to v2

* go mod tidy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-01-29 13:47:01 -08:00
.design Add design doc for contribute.design. Closes #2413 2022-12-09 15:33:19 -08:00
.github chore(deps): update peter-evans/create-or-update-comment digest to e0e8aa0 2023-01-25 06:44:23 +00:00
.vscode Add support for IP-based bans (#1703) 2022-03-06 20:34:49 -08:00
activitypub Explicitly set AP post as public. Closes #2112 2022-11-14 20:16:45 -08:00
auth Treat fediverse usernames as case-insensitive (#2155) 2022-10-02 11:16:46 -07:00
build chore(deps): lock file maintenance (#2616) 2023-01-24 22:43:36 -08:00
config Bump version for 0.0.13 release 2022-11-28 16:43:52 -08:00
contrib Create contrib directory and replace examples dir. 2023-01-08 18:37:50 -08:00
controllers preallocate memory (#2201) 2022-10-12 16:37:26 -07:00
core Using prepared statements for SQL queries. (#2257) 2022-10-28 12:32:42 -07:00
db Remove unused query 2022-08-04 13:25:02 -07:00
docs Delete dependencies.md 2023-01-28 12:14:49 -08: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 Fix CPU usage collection panic with default zero value. Closes #2423 2022-12-09 09:49:17 -08:00
models Add Fediverse, Matrix and XMPP social links (#2044) 2022-08-17 09:35:45 -07:00
notifications Fix creating table indexes 2022-08-03 10:31:14 -07:00
router Explicitly block requests to /debug/vars 2022-12-09 15:33:18 -08:00
static Update admin to 19c9ac698ac49922046fd8f2a5b0b816dc6e921a 2022-07-13 02:31:33 +00:00
test Bump cookiejar from 2.1.2 to 2.1.4 in /test/automated/api (#2618) 2023-01-24 22:36:51 -08:00
utils Add a bit of sanity to the stream health messages 2022-04-07 00:14:23 -07:00
webroot Prettified Code! 2022-11-17 18:32:58 +00:00
yp refactor: move from io/ioutil to io and os packages (#1546) 2021-11-19 22:42:50 -08:00
.editorconfig Change .editorconfig to reflect current state of the code (#1944) 2022-06-11 18:04:50 -07:00
.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
.gitpod.yml Add Gitpod config (#2173) 2022-10-05 15:35:13 -07:00
.golangci.yml Remove package-comments rule 2022-08-26 19:30:35 -07: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 Revert "Add va-api support in docker (#2072)" 2022-10-01 20:16:15 -07:00
Earthfile Revert "Add va-api support in docker (#2072)" 2022-10-01 20:16:15 -07:00
go.mod fix(deps): update module mvdan.cc/xurls to v2 (develop) (#2640) 2023-01-29 13:26:30 -08:00
go.sum fix(deps): update module mvdan.cc/xurls to v2 (develop) (#2640) 2023-01-29 13:26:30 -08:00
LICENSE Create LICENSE 2020-07-08 17:07:09 -07:00
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 Bump version for 0.0.13 release 2022-11-28 16:43:52 -08:00
README.md Move design badge 2022-12-12 09:40:03 -08:00
renovate.json Cleanup and refactor Renovate config 2022-11-29 16:32:46 -08: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.

contribute.design


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 pre-requisites installed.
  2. Install the Go toolchain (1.17 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