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 2 weeks ago
.github Remove checkout ref 2 weeks ago
.vscode Start codec selection in admin 1 month ago
components add self-destruct button to reboot the server from admin panel 2 weeks ago
docs - add <Col>s to areas with <Row>s for consitency 3 months ago
pages Show RTMP port on home page. Closes https://github.com/owncast/owncast/issues/1049 2 weeks 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 2 weeks ago
types add direct hls input field to server settings 2 weeks ago
utils explain samba username and password support + windows SMB2 guest issue 2 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
README.md 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 7 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) 2 weeks ago
package.json Bump antd from 4.15.6 to 4.16.0 (#192) 2 weeks ago
tsconfig.json Use unkonwn fallback string for values not supplied by remote encoder. 6 months 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!