Giter Site home page Giter Site logo

horans / youtube-revenue-calculator Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 4.0 147 KB

Calculate the revenue of YouTube video/channel base on video view counts.

Home Page: https://horans.github.io/youtube-revenue-calculator/iframe.html

License: MIT License

HTML 50.11% CSS 20.91% JavaScript 28.97%
youtube revenue calculator html javascript bootstrap nouislider vue pretty-checkbox

youtube-revenue-calculator's Introduction

YouTube Revenue Calculator

"YouTube Revenue Calculator" (or "YTRC"), will calculate the revenue of YouTube video/channel, base on video view counts. Multiple options provided.

Install

Upload everything to your server, eg.:

//sample.com/ytrc/

Usage

Embed iframe.html into your page.

<iframe src="//sample.com/ytrc/iframe.html" frameBorder="0" width="1000" height="800"></iframe>

Options

All of the options can pass by URL query. When you change them in setting panel, the URL will update at the same time. Most of the options use "1/0" to present "on/off". (eg., channel=1&link=0)

  • key: Generate your own YouTube app key.
    • Change it in iframe head or pass by URL query.
    • Show in URL only when "Change Key" option is on with setting panel.
  • path: To input a preset youtube video/channel url.
    • The preset path will be auto queried on start.
  • channel: Default mode is for "video", turn this on for "channel".
  • desc: To skip description under heading, turn this off.
  • link: To manually input video views, turn this off.
  • rpm: To manually input RPM, turn this on.
  • note: To show note for RPM, turn this on.
  • highlight: To highlight result with YouTube red background, turn this on.
  • detail: To show detail for channel/video, turn this on.
    • Disabled when link is off, or highlight is on.
  • title: You can override title with this.
    • Show in URL only when "Change Title" option is on with setting panel.

Extra

Vendor

References

Linter

Change Log

220329

  • change vendor to vue v2

211020

  • auto query path on start
  • check channel/video id length

211018

  • allow pass video/channel path from url
  • support "youtube.com/embed/" path
  • update vendor with online version

210311

  • update vendors
  • update api key

190702

  • allow "youtu.be/" path

180807

  • add promise polyfill

180731

  • show error
  • replace CPM with RPM

180727

  • initial release

youtube-revenue-calculator's People

Contributors

horans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

youtube-revenue-calculator's Issues

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.