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

Gabe Kangas 0d24f8522f Small openapi router generation experiment 7 months ago
.design 684e92f3d2 Add additional details to the design help doc. 1 year ago
.github 22c774ca84 chore(deps): update peter-evans/create-or-update-comment digest to 594dca4 1 year ago
.vscode 19b9a8bdf6 Add support for IP-based bans (#1703) 2 years ago
activitypub 3f3cb13405 Add followers insert/query test 1 year ago
auth 3894f410d2 Enforce https before indieauth parsing. For #2492 1 year ago
build 3dda431079 Remove references to webv2 branch in docs and builds 1 year ago
config e9aa02c149 Tweak default page content 1 year ago
contrib f724beecae Move windows doc to contrib directory 1 year ago
controllers e86caad06f Return hideViewerCount in config and set the admin switch correctly. Closes #2887 1 year ago
core 74f076f44b Refactor the api access token query. Fixes #2902" 1 year ago
db 68414445c2 Add support for changing user color in name modal. Closes #1805 2 years ago
docs 07c5cabfe8 Trigger the title updated webhook event whenever a title is changed (#2823) 1 year ago
experiment 0d24f8522f Small openapi router generation experiment 7 months ago
geoip 12eb59f611 refactor geoip (#1442) 3 years ago
logging c6c6f0233d Expanded linting + fix warnings (#1396) 3 years ago
metrics f946b73f16 Fix CPU usage collection panic with default zero value. Closes #2423 1 year ago
models 07c5cabfe8 Trigger the title updated webhook event whenever a title is changed (#2823) 1 year ago
notifications 21c26a7aa5 Guard against invalid push server response as an addition check for #2855 1 year ago
router f7d84bc15b Fix HTML scaffolding of admin pages rendering without auth. Closes #2789 1 year ago
static 14277c15dd Bundle embedded web app 1 year ago
test ac7d655a14 Add additional test for testing failure after delete 1 year ago
utils ed5ba00f7b Update ffmpeg detection error to be more clear 1 year ago
web 1869da281e fix(deps): update dependency @uiw/react-codemirror to v4.19.16 1 year ago
yp 7996df85e1 refactor: move from io/ioutil to io and os packages (#1546) 2 years ago
.editorconfig 182a5d25db Update EditorConfig with some explicit settings 2 years ago
.gitattributes 6ad0b9fcae Update gitattributes file 1 year ago
.gitignore c74d5b4f31 add shellcheck to CI (#2478) 1 year ago
.gitpod.yml 66baabb6ef Add Gitpod config (#2173) 2 years ago
.golangci.yml 1558834df2 bump min golang ver to 1.18 (#2412) 1 year 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 ddaa5e9bad Update alpine Docker tag to v3.17.3 1 year ago
Earthfile 9610cf931c Add HLS test to Earthfile 1 year ago
LICENSE 61b62ee77b Create LICENSE 4 years ago
README.md f724beecae Move windows doc to contrib directory 1 year ago
go.mod 3fcd5bc429 fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.3 1 year ago
go.sum 3fcd5bc429 fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.3 1 year ago
main.go 496bf3ecb3 Add details to temp dir removal error 1 year ago
openapi.yaml 7858ee3d44 Update OpenApi spec to reflect v0.1.0. For #2431 1 year ago
renovate.json 3dda431079 Remove references to webv2 branch in docs and builds 1 year ago
sqlc.yaml eda62a91dc Messages table fixes to improve query performance (#2026) 2 years ago

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.18 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