You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
forest 61b023ee00 explain samba username and password support + windows SMB2 guest issue 1 year ago
.github Remove checkout ref 1 year ago
.vscode Start codec selection in admin 1 year ago
components add self-destruct button to reboot the server from admin panel 1 year ago
docs - add <Col>s to areas with <Row>s for consitency 2 years ago
pages Show RTMP port on home page. Closes https://github.com/owncast/owncast/issues/1049 1 year ago
public Initial commit from Create Next App 2 years ago
styles use full width of screen instead of limiting admin content to max-width 1 year ago
types add direct hls input field to server settings 1 year ago
utils explain samba username and password support + windows SMB2 guest issue 1 year ago
.editorconfig Bootstrap the admin project 2 years ago
.env.development blah 2 years ago
.env.production Support API calls without auth and without cors 2 years ago
.eslintignore Configure eslint action 2 years ago
.eslintrc.js add jsx-no-target-blank to eslint config 2 years ago
.gitignore It builds 2 years ago
.prettierignore Add linting and code formatting 2 years ago
.prettierrc some prettifying 2 years ago
LICENSE Initial commit 2 years ago
README.md Add some additional details in readme 1 year ago
favicon.ico a bit of refactor, use context for overall broacast status; move files around for routing 2 years ago
next-env.d.ts Bootstrap the admin project 2 years ago
next.config.js Change export paths 2 years ago
package-lock.json Bump antd from 4.15.6 to 4.16.0 (#192) 1 year ago
package.json Bump antd from 4.15.6 to 4.16.0 (#192) 1 year ago
tsconfig.json Use unkonwn fallback string for values not supplied by remote encoder. 2 years ago

README.md

This is a Next.js project with TypeScript, Sass styling, using Ant Design UI components.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Second, make sure you're running an instance of Owncast on localhost:8080, as your copy of the admin will look to use that as the API.

In production this Admin instance would ideally live on the domain as your Owncast instance, for example: myowncast-site.com/admin. So open http://localhost:3000/admin with your browser to see the result.

You can start editing a page by modifying pages/something.js. The page auto-updates as you edit the file.

Add new pages by adding files to the pages directory and routes will be available for this new page component.

Since this project hits API endpoints you should make requests in componentDidMount, and not in getStaticProps, since they're not static and we don't want to fetch them at build time, but instead at runtime.

A list of API end points can be found here: https://owncast.online/api/development/

Auth-ing for APIs

Auth: HTTP Basic username: admin pw: [your streamkey]

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!