OwnCast 是一款自托管的开源直播软件,提供了一种简单的方式来创建和管理属于自己的直播频道。

renovate[bot] ae977bc748 chore(deps): update golangci/golangci-lint-action action to v6 (#3739) 15 小时之前
.design 2bb8eced14 chore(docs): update docs to reflect font change 1 年之前
.github ae977bc748 chore(deps): update golangci/golangci-lint-action action to v6 (#3739) 15 小时之前
.vscode 096834020e chore: remove vscode config file 11 月之前
activitypub 2513b15b40 Spec-based API (#3653) 2 周之前
auth a6dbc37a84 fix: add additional validation before making remote requests (#3398) 6 月之前
build 89091fcefa fix(deps): update nextjs monorepo to v14 (major) (#3404) 5 月之前
config 68645ab8e7 Bump version number 1 月之前
contrib 6aa758501d chore(go): bump project version number to 1.21 7 月之前
controllers 2513b15b40 Spec-based API (#3653) 2 周之前
core f81e8dcda7 Mute the 'stream ended' clip's audio (#3630) 1 月之前
db a703df5182 Check if proposed name change is an API name (#3256) 9 月之前
docs 2ac8e3a475 Commit updated API documentation 2 周之前
geoip 8e79e2acfa chore(go): run betteralign and gofumpt on codebase 7 月之前
handler 2513b15b40 Spec-based API (#3653) 2 周之前
logging 8e79e2acfa chore(go): run betteralign and gofumpt on codebase 7 月之前
metrics 8e79e2acfa chore(go): run betteralign and gofumpt on codebase 7 月之前
models 797e464767 fix(webhooks): fix chat user parted webhook creation error. Closes #3524 3 月之前
notifications 21c26a7aa5 Guard against invalid push server response as an addition check for #2855 1 年之前
router 2513b15b40 Spec-based API (#3653) 2 周之前
spec 1ca7a877e4 Organize new openapi spec with tags and generate API docs with the new spec 2 周之前
static 65a1c6835b Bundle embedded web app 1 天之前
test a33b2d13b6 Bump formidable and artillery in /test/load (#3718) 3 周之前
utils 2513b15b40 Spec-based API (#3653) 2 周之前
web 34c59d3c34 Commit screenshots 1 天之前
yp 8e79e2acfa chore(go): run betteralign and gofumpt on codebase 7 月之前
.editorconfig 182a5d25db Update EditorConfig with some explicit settings 1 年之前
.gitattributes 6ad0b9fcae Update gitattributes file 1 年之前
.gitignore 40de64fffe chore: add support for exporting our colors as Swift files 10 月之前
.gitpod.yml 66baabb6ef Add Gitpod config (#2173) 1 年之前
.golangci.yml 439da013d8 chore(go): update to go 1.22 (#3708) 3 周之前
.prettierignore e6cc3a39d1 Added moderator menu to messages and some other styling. 1 年之前
CODE_OF_CONDUCT.md b7231847e1 Create CODE_OF_CONDUCT.md 3 年之前
CONTRIBUTING.md 511805062e Create CONTRIBUTING.md (#1394) 2 年之前
Dockerfile 8d5970c4aa chore(deps): update alpine docker tag to v3.19.1 3 月之前
Earthfile 974ec15b5d fix: export correct timestamps on build artifacts. Closes #3282 8 月之前
LICENSE 4f3fbdf47b Update LICENSE to be current (#3058) 11 月之前
README.md 439da013d8 chore(go): update to go 1.22 (#3708) 3 周之前
go.mod a8c44facfc fix(deps): update module github.com/aws/aws-sdk-go to v1.53.5 20 小时之前
go.sum a8c44facfc fix(deps): update module github.com/aws/aws-sdk-go to v1.53.5 20 小时之前
main.go 2513b15b40 Spec-based API (#3653) 2 周之前
openapi.yaml 9ebfb67ef3 docs: bump openapi spec version 1 月之前
renovate.json 3dda431079 Remove references to webv2 branch in docs and builds 1 年之前
sqlc.yaml eda62a91dc Messages table fixes to improve query performance (#2026) 1 年之前

README.md


<img src="https://owncast.online/images/logo.png" alt="Logo" width="200">


<strong>Take control over your content and stream it yourself.</strong>
<br />
<a href="https://owncast.online"><strong>Explore the docs »</strong></a>
<br />
<a href="https://watch.owncast.online/">View Demo</a>
·
<a href="https://broadcast.owncast.online/">Use Our Server for Testing</a>
·
<a href="https://owncast.online/faq/">FAQ</a>
·
<a href="https://github.com/owncast/owncast/issues">Report Bug</a>

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

Owncast consists of two projects.

  1. The Owncast backend is written in Go.
  2. The frontend is written in React.

Read more about running from source.

Important note about source code and the develop branch

The develop branch is always the most up-to-date state of development and this may not be what you always want. If you want to run the latest released stable version, check out the tag related to that release. For example, if you'd only like the source prior to the v0.1.0 development cycle you can check out the v0.0.13 tag.

Note: Currently Owncast does not natively support Windows servers. However, Windows Users can use Windows Subsystem for Linux (WSL2) to install Owncast. For details visit this document.

Backend

The Owncast backend is a service written in Go.

  1. Ensure you have prerequisites installed.
  2. Install the Go toolchain (1.22 or above).
  3. Clone the repo. git clone https://github.com/owncast/owncast
  4. go run main.go will run from the 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.

Frontend

The frontend is the web interface that includes the player, chat, embed components, and other UI.

  1. This project lives in the web directory.
  2. Run npm install to install the Javascript dependencies.
  3. Run npm run dev

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.

License

Distributed under the MIT License. See LICENSE for more information.

Supported by

Contact

Project chat: Join us on Rocket.Chat if you want to contribute, follow along, or if you have questions.

Gabe Kangas - @gabek@social.gabekangas.com - email gabek@real-ity.com

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