Git Product home page Git Product logo

owncast-web-admin-page's Introduction

Future of the Admin Project

This repository is no longer active an is archived

TLDR: Any admin changes should be made in the webv2 branch in owncast/owncast and not here.

The "admin" project has been merged into the parent owncast/owncast respository to become te new frontend of Owncast. The admin will stay the same, but a new frontend to Owncast will get built next to it, using the same technologies.

See the Web UI v2 project for more details.

This web migration and rebuild is in progress via the webv2 branch in owncast/owncast and you can follow along wiht the tasks in the web project.


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:

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!

owncast-web-admin-page's People

Contributors

gabek avatar dependabot[bot] avatar gingervitis avatar renovate-bot avatar renovate[bot] avatar thilobillerbeck avatar mftabriz avatar jeyemwey avatar nebunez avatar controlfreakstudio avatar funkyhippo avatar f35f0ef9d0e827dae86552d3899f78fc avatar geekgonecrazy avatar aangiel avatar graywolf336 avatar digitalextremist avatar radiantly avatar lfuelling avatar rhnsharma avatar senney avatar sytranvn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.