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