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