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 3 years ago
.github Remove checkout ref 3 years ago
.vscode Start codec selection in admin 3 years ago
components add self-destruct button to reboot the server from admin panel 3 years ago
docs - add <Col>s to areas with <Row>s for consitency 3 years ago
pages Show RTMP port on home page. Closes 3 years ago
public Initial commit from Create Next App 4 years ago
styles use full width of screen instead of limiting admin content to max-width 3 years ago
types add direct hls input field to server settings 3 years ago
utils explain samba username and password support + windows SMB2 guest issue 3 years ago
.editorconfig Bootstrap the admin project 4 years ago
.env.development blah 4 years ago
.env.production Support API calls without auth and without cors 4 years ago
.eslintignore Configure eslint action 3 years ago
.eslintrc.js add jsx-no-target-blank to eslint config 3 years ago
.gitignore It builds 4 years ago
.prettierignore Add linting and code formatting 4 years ago
.prettierrc some prettifying 3 years ago
LICENSE Initial commit 4 years ago Add some additional details in readme 3 years ago
favicon.ico a bit of refactor, use context for overall broacast status; move files around for routing 4 years ago
next-env.d.ts Bootstrap the admin project 4 years ago
next.config.js Change export paths 4 years ago
package-lock.json Bump antd from 4.15.6 to 4.16.0 (#192) 3 years ago
package.json Bump antd from 4.15.6 to 4.16.0 (#192) 3 years ago
tsconfig.json Use unkonwn fallback string for values not supplied by remote encoder. 4 years ago

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

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!