0.0.121 • Published 2 years ago

woke-ads v0.0.121

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Woke

Woke is product discoverability for OSS projects via CLI and Repo README.MD in a non-intrusive way. This will help OSS projects generate revenue almost instantly once users of their projects opt-in for ads.

Install

To use woke,

npm

npm i woke-ads

yarn

yarn add woke-ads 

Usage in CLI Applications

js

It is recommended to initialize woke at the top of the entry point of your CLI application. For example:

import WokeAd from 'woke-ads'

function cliEntry(){
  WokeAd({
        clientId:'<your-client-id>',
        clientSecret:'<your-API-KEY>'
    })
  // rest of your logic
}

cliEntry()

If you want users to see a prompt asking if they want to opt out, you can configure WokeAd to show a prompt like this:

import WokeAd from 'woke-ads'

function cliEntry(){
  WokeAd(
    {
      clientId:'<your-client-id>',
      clientSecret:'<your-API-KEY>'
    },{prompt:true})
  // rest of your logic
}
cliEntry()

GO

Instructions on how to use woke in Go applications can be found here woke-go

End users

Users can opt out of woke-ads by running the following commands

npx woke-ads --opt-out true

To opt in back to woke-ads, they run:

npx woke-ads --opt-out false
0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.121

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago