Giter Club home page Giter Club logo

viperadnan-git / doodstream-web Goto Github PK

View Code? Open in Web Editor NEW
33.0 1.0 50.0 155 KB

An SSR video streaming frontend which uses doodstream.com as a backend.

Home Page: https://doodstream-web.pages.dev/

License: GNU General Public License v3.0

TypeScript 97.50% CSS 1.96% JavaScript 0.54%
cloudflare cloudflare-pages cloudflare-workers doodstream doodstream-api doodstream-bot doodstream-video-downloader doodstream-video-player doodstreamapi next

doodstream-web's Introduction

doodstream-web ๐ŸŽฅ

An SSR video streaming frontend which uses doodstream.com as a backend. It is built using Next.js and Tailwind CSS.

Features

  • ๐ŸŒ SSR (Server Side Rendering)
  • ๐Ÿ“ฑ Responsive design
  • ๐ŸŒ™ Dark mode support
  • ๐Ÿ” Search videos by name
  • ๐Ÿ—‚๏ธ Folders as Channels
  • โ–ถ๏ธ Video player
  • ๐Ÿ“ Video subtitles
  • ๐Ÿ“ฅ Video download
  • โค Client side like/dislike videos

Live Demo

A live demo of the project is available at https://doodstream-web.pages.dev.

Configuration

The following environment variables are required to run the project:

  • DOODSTREAM_API_KEY: API key for doodstream.com
  • DOODSTREAM_API_URL: API URL for doodstream.com (default: https://doodapi.com)
  • SITENAME: Name of the website (default: DoodWeb)

Development

  1. Clone the repository
git clone <repo-url> doodstream-web
cd doodstream-web
  1. Install dependencies
npm install
  1. Run the development server
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.

Deployment

  1. Clone the repository
git clone <repo-url> doodstream-web
cd doodstream-web
  1. Install dependencies
npm install
  1. Build the project
npm run build
  1. Start the server
npm run start
  1. Open http://localhost:3000 with your browser to see the result.

Deployment on Cloudflare Pages

  1. Fork the repository on GitHub.
  2. Create a new project on Cloudflare Pages.
  3. Connect your GitHub account with Cloudflare Pages.
  4. Select the forked repository and click on Begin Setup.
  5. Select nextjs as the build preset.
  6. Add required environment variables (DOODSTREAM_API_KEY).
  7. Click on Save and Deploy to start the deployment. This first deployment will not be fully functional as the next step is also necessary.
  8. In your Pages project, go to Settings > Functions > Compatibility Flags.
  9. Configure a nodejs_compat flag for both production and preview.
  10. Go to the Deployments tab, open the latest deployment and click on Manage Deployment > Retry Deployments.
  11. Click on Visit Site to open the website.

More information about deploying Next.js apps on Cloudflare Pages is available here.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Disclaimer

This project is not affiliated with https://doodstream.com in any way. It is just a frontend for their API.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

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.