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

Owncast f64e19871a Commit updated Javascript packages 2 年之前
.github d3aa3f87af doc -> docs as Github needs a specific name 2 年之前
.vscode 19b9a8bdf6 Add support for IP-based bans (#1703) 2 年之前
activitypub 4e415f7257 CC->TO because Mastodon cares for visibility 2 年之前
build 6cf34df171 Update dependency preact to v10.7.0 2 年之前
config b5d60d9f40 Fix linter warnings 2 年之前
controllers c50536ff81 Pull player metrics out of the player. Support safari errors/buffering events 2 年之前
core 4a17f30da8 Outbound live stream notifications (#1663) 2 年之前
db 4a17f30da8 Outbound live stream notifications (#1663) 2 年之前
docs d3aa3f87af doc -> docs as Github needs a specific name 2 年之前
examples b50540dfe9 Remove overly complex and specific docker-compose examples. Closes #1475 3 年之前
geoip 12eb59f611 refactor geoip (#1442) 3 年之前
logging c6c6f0233d Expanded linting + fix warnings (#1396) 3 年之前
metrics 1e19e2a50e Surface the % of players represented in metrics 2 年之前
models 1e19e2a50e Surface the % of players represented in metrics 2 年之前
notifications 9300ebb015 Increase browser push notification TTL 2 年之前
router 4a17f30da8 Outbound live stream notifications (#1663) 2 年之前
static bde5995932 Update admin to 5405de7e73c49db96c209370a81f19f9958c9083 2 年之前
test e2c968dd9f Bump minimist from 1.2.5 to 1.2.6 in /test/automated/api (#1795) 2 年之前
utils 1e19e2a50e Surface the % of players represented in metrics 2 年之前
webroot f64e19871a Commit updated Javascript packages 2 年之前
yp 7996df85e1 refactor: move from io/ioutil to io and os packages (#1546) 2 年之前
.editorconfig fc42e11f8b add starter editorconfig file 4 年之前
.gitattributes d3aa3f87af doc -> docs as Github needs a specific name 2 年之前
.gitignore cc6b257470 Automated browser testing (#1415) 3 年之前
.golangci.yml 4df4126e8c I should probably just remove the dupl linter 2 年之前
.prettierignore 2d42903ad6 Format javascript on push 3 年之前
CODE_OF_CONDUCT.md b7231847e1 Create CODE_OF_CONDUCT.md 4 年之前
CONTRIBUTING.md 511805062e Create CONTRIBUTING.md (#1394) 3 年之前
Dockerfile dc16eafea4 Add git to build step 2 年之前
LICENSE 61b62ee77b Create LICENSE 4 年之前
README.md 59dd06a306 Tweak readme source instructions 2 年之前
go.mod d972a9ee8a Update module github.com/SherClockHolmes/webpush-go to v1.2.0 2 年之前
go.sum d972a9ee8a Update module github.com/SherClockHolmes/webpush-go to v1.2.0 2 年之前
main.go a7687c861e Fix "invalid cross-device link" error when running on a different filesystem (#1769) 2 年之前
openapi.yaml 055f4468a0 Update API spec for 0.0.11. Closes #1666 2 年之前
renovate.json a8bece63e5 Remove Renovate grouped PRs 2 年之前
sqlc.json 045a0a2afd Social features / ActivityPub federation (#1629) 2 年之前

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="http://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

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

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@mastodon.social - email gabek@real-ity.com

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