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

renovate[bot] b07413a314 chore(deps): update dependency @types/node to v20.16.13 13 hours ago
.design 2a0296116d Update DESIGN.md (#3755) 4 months ago
.github 742df5322f fix(web): specify node version to be 22.9.0 for builds 2 days ago
.vscode 096834020e chore: remove vscode config file 1 year ago
activitypub 90b70612c9 fix(go): update to resolve linter errors (#3913) 1 month ago
auth 2ccd3aad87 User repository (#3795) 3 months ago
build 5cb4850fce chore(api): reorganize web assets and codegen types+handlers 3 months ago
config 68645ab8e7 Bump version number 6 months ago
contrib 6aa758501d chore(go): bump project version number to 1.21 1 year ago
core 3050d64909 fix(go): fix type conversion for windows 1 month ago
db 90b70612c9 fix(go): update to resolve linter errors (#3913) 1 month ago
docs dd5fa8dd57 chore(docs): add redocly config file 3 months ago
logging 8e79e2acfa chore(go): run betteralign and gofumpt on codebase 1 year ago
metrics 08bda166fe Replace `github.com/shirou/gopsutil/v3` with v4 (#3956) 1 week ago
models 95d1912a92 change twitter label to x (#3846) 3 months ago
notifications 2ccd3aad87 User repository (#3795) 3 months ago
persistence 90b70612c9 fix(go): update to resolve linter errors (#3913) 1 month ago
services c963512934 chore: move geoip into services directory 3 months ago
static 90f6d4333c Bundle embedded web app 13 hours ago
test 8b43f65904 Bump micromatch from 4.0.5 to 4.0.8 in /test/load (#3903) 1 month ago
utils 3fc127ba34 Adjust CleanupDirectory function to support tmpfs mounts. (#3818) 3 months ago
web b07413a314 chore(deps): update dependency @types/node to v20.16.13 13 hours ago
webserver 15d0e3dd1f chore(api): move more types to generated ones 3 months ago
yp 8e79e2acfa chore(go): run betteralign and gofumpt on codebase 1 year ago
.earthlyignore 04b1b30b7d Update API tests (#3894) 2 months ago
.editorconfig 182a5d25db Update EditorConfig with some explicit settings 2 years ago
.gitattributes 6ad0b9fcae Update gitattributes file 1 year ago
.gitignore 40de64fffe chore: add support for exporting our colors as Swift files 1 year ago
.gitpod.yml 66baabb6ef Add Gitpod config (#2173) 2 years ago
.golangci.yml 90b70612c9 fix(go): update to resolve linter errors (#3913) 1 month ago
.prettierignore e6cc3a39d1 Added moderator menu to messages and some other styling. 2 years ago
CODE_OF_CONDUCT.md b7231847e1 Create CODE_OF_CONDUCT.md 4 years ago
CONTRIBUTING.md 511805062e Create CONTRIBUTING.md (#1394) 3 years ago
Dockerfile 5c252e05f9 chore(deps): update alpine docker tag to v3.20.3 1 month ago
Earthfile deb938d521 Fix incorrect timestamp on Eartlhy packaged binary (#3955) 1 week ago
LICENSE 4f3fbdf47b Update LICENSE to be current (#3058) 1 year ago
README.md 3f6d7affe8 chore(docs): update readme to call out Lambda test for #3734 4 months ago
go.mod 39f486cd52 fix(deps): update module golang.org/x/time to v0.7.0 5 days ago
go.sum 39f486cd52 fix(deps): update module golang.org/x/time to v0.7.0 5 days ago
main.go 5cb4850fce chore(api): reorganize web assets and codegen types+handlers 3 months ago
openapi.yaml e26525549c chore(docs): attempt to hide opts by marking 204options as internal 3 months ago
renovate.json ee1dc904e1 chore: use correct manager name in Renovate config (#3943) 3 weeks ago
sqlc.yaml eda62a91dc Messages table fixes to improve query performance (#2026) 2 years ago

README.md

Owncast Logo

Take control over your content and stream it yourself.


License


Explore the docs »
View Demo · 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

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!

If you're new to the project, maybe you'd be interested in looking at Good First Issue.

There is a larger, more detailed, and more up-to-date guide for helping contribute to Owncast on our website.

Donors

The Owncast project is possible thanks to the people who make a donation to support us and our work. Thank you to all our donors who help keep Owncast running by donating on OpenCollective. You can support this project by becoming a backer/sponsor.

License

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

Support

  • Browser testing via
  • Project chat provided by
  • CDN services by
  • UI testing with Chromatic

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