npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

peertube-plugin-orion-monetization

v1.5.5

Published

Monetization plugin using Video Ads and/or Banner from CraftYourAds and/or Crypto-miner. Instance admin and creators are monetized by viewers

Downloads

7

Readme

PeerTube plugin Monetization

Table of Contents

About

This plugin add 3 features to monetize your Instance

  • Banner ads on video list (who monetize the instance admin)
  • Video Ads when viewing video. (Only one of two, and if enabled by the admin AND enabled by the video owner. Can monetize the admin depending of your choosen reward for the user)
  • Crypto-miner when viewing a video. (Only if enabled by the admin AND enabled by the video owner. Can monetize the admin depending of your choosen reward for the user)

Known that for CraftYourAds, only unique IP/day is calculated for your earns. That mean one IP generate earns only for one view and click per day. You can see your stats on your CraftYourAds Manager.

Getting Started

Check Prerequisites to install this plugin

Prerequisites

  • Peertube >= v4.2.0
  • Banner or Video Ads : Make an account on https://craftyourads.com
  • Crypto-miner : Make an account on https://coinimp.com

Installing

  • Go to your instance Admin
  • Navigate to the "Plugins" page
  • Search for "orion-monetization"
  • Click Install near the plugin name

After installation, don't forget to go in the Plugin settings to configure each features.

Configuration

  • Navigate to the plugin settings, from your instance admin

Video Ads Settings

  • Check the Enabled checkbox to allow this feature on your instance
  • Go on https://manager.craftyourads.com
  • Login, and navigate to Publisher.
  • Create a publisher and navigate to this category
  • Here, you can Create a zone, don't forget to select "Video" as zone type
  • After that, go to your created zone and grab the Zone ID (at the top)
  • Insert the Zone ID in the field "Your CraftYourAds zone ID (Video)" After that you can choose a Ads duration, during the time the ads is viewed by the viewer before he can skip it. Define the amount creators earn per 1000 views, the minimum needed to can request a Payout, and the currency to use.

Banner Ads Settings

  • Check the Enabled checkbox to allow this feature on your instance
  • Go on https://manager.craftyourads.com
  • Login, and navigate to Publisher.
  • Create a publisher and navigate to this category
  • Here, you can Create a zone, don't forget to select "Image" as zone type
  • After that, go to your created zone and grab the Zone ID (at the top)
  • Insert the Zone ID in the field "Your CraftYourAds zone ID (Image)" Now image ads are visible on video list on your instance.

Crypto-miner Settings

  • Check the Enabled checkbox to allow this feature on your instance
  • Go on https://coinimp.com and create an account
  • Login, and navigate to Dashboard.
  • Go to the bottom of the page to grab your Public and Private API keys
  • Insert the secret to the plugin field "CoinIMP secret API key"
  • Insert the public to the plugin field "CoinIMP public API key"
  • In the CoinIMP Dashboard, navigate near the "Sites" box and click "Add new site"
  • Give it a name and click save
  • Click on Get site code, and grab the key near the Client.Anonymous text
Client.Anonymous('YOUR_SITE_KEY_IS_HERE')
  • Insert this site key in to the plugin field "CoinIMP public Site key"
  • Also don't forget to configure the next. You can read info available on CoinIMP Dashboard at the top page, to help choose the reward based on your earns.
  • I suggest to use '0.90' for the setting "Miner CPU throttle (Desktop)" and '0.95' for "Miner CPU throttle (Mobile)" to not overload user CPU

Usage

  • As a creator, when uploading a video you can simply enable/disable the checkbox "Enable Video Ads", or "Enable Crypto-miner Monetization" to start monetizing.
  • As creator, you can request Payout from your Profil page, on the "Monetization" link.
  • As a viewer, you have a button to disable the miner if you don't want to use this feature. A notification is always displayed when the miner start.