Cooperhub is an Android/iOS app which takes as input source code written in Cooperscript and Coopertags (programming and text markup languages, respectively), for each Cooperscript app. Developers write the Cooperscript apps, and earn money from end-users. The end-users run the Cooperhub app and select the desired Cooperscript app, defaults to most recently used app. So the Cooperhub mobile app is capable of running multiple Cooperscript apps. The business model is freemium and ad-supported.
Business Model
Gold users pay $20/year and can run any Cooperscript app. Silver users pay $10/year and can only run 1 Cooperscript app in any given calendar month. Bronze users pay no fees, see ads, and can only run the browser-based versions of each Cooperscript app (a conversion utility converts Coopertags and Cooperscript code to HTML and Javascript, respectively). The developers of Cooperscript apps receive a share of Cooperhub net revenue (developer fees) in proportion to the number of user clicks generated by the mobile users (not browser-based) of their apps. Net revenue equals gross revenue minus expenses such as web hosting fees, marketing expenses, and employee wages. The founder receives 5 to 10 percent of net revenue instead of being paid a salary.
Browser-Based Incentive
Developers of Cooperscript apps in which the number of user clicks/keystrokes of the browser-based version is less than that of the Cooperhub app version are penalized. In this case the difference between Cooperhub app and browser-based user click counts is divided by half of the total user click counts, giving a number between 0 and 2. This number is subtracted from 2 and then divided by 2, yielding a number between 1 and 0, which is multiplied by the revenue which would have been received by that developer had the penalty not been applied, and the final result is the actual revenue amount. Some Cooperscript apps don't have browser-based versions. The corresponding developer fees are one-third of those apps which do have browser-based versions.
Penalty for High Bandwidth Apps
Developers of Cooperscript apps which exceed the bandwidth quota per 1000 user clicks are penalized. For every 1000 user clicks, take the ratio between bandwidth used and the quota. If it's equal to 1, no penalty. If it's equal to 5, halve the revenue of that developer. If it's equal to 25, halve the revenue twice, and so on. Use a logarithmic formula to calculate the actual revenue if the ratio is not an exact power of 5.
Paid Apps
Some Cooperscript apps enable in-app purchases, one-time fees or subscription fees payable by the user, which are only available to gold class users. After paying an approximate 30 or 15 percent commission to Google or Apple, these funds are paid to the developer of the Cooperscript app.
Sample App
Cooperhub is bundled with a sample Cooperscript app called Imajette, which is a tool used to organize and share your image collection. Gold and silver class users can run the mobile app version of Imajette, whereas bronze class users can only run the browser-based version of Imajette.
Partners
Cooperhub can be used as a tool for teaching math and fostering online communities of consumer/survivors. Organizations which teach adult literacy and numeracy will be recruited to be test beds for teaching math. Organizations which serve consumer/survivors (people with mental health issues) will be recruited to be test beds for online communites created with Cooperhub. Registered charities can use any Cooperhub app for free: all of their clients/employees register with Cooperhub and enjoy gold class status.