https://github.com/thomd/pinky
Sinatra application for installs-over-time-statistics of your greasemonkey userscripts from userscript.org.
https://github.com/thomd/pinky
Last synced: about 1 year ago
JSON representation
Sinatra application for installs-over-time-statistics of your greasemonkey userscripts from userscript.org.
- Host: GitHub
- URL: https://github.com/thomd/pinky
- Owner: thomd
- Created: 2009-02-04T23:41:59.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2009-06-01T22:03:20.000Z (about 17 years ago)
- Last Synced: 2025-02-05T21:42:49.741Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
## Pinky
Pinky generates graphs on installs-over-time of your greasemonkey userscripts hosted on [userscripts.org](http://userscripts.org/). Pinky is written in Ruby using Sinatra, DataMapper and Googlecharts (with help of the loved-by-everybody Haml and Hpricot).
### Requirements
See `.gems` for required gems:
hpricot --version '>= 0.2' --source code.whytheluckystiff.net
dm-core --version 0.9.10
haml --version 2.0.6
mattetti-googlecharts --version 1.3.6 --source gems.github.com/
do_sqlite3 --version 0.9.11
Pinky is currently using sqlite3 for data storage. You may of course use any other database supported by datamapper.
### Fetch data from userscripts.org
To parse the current number of installs of your userscripts run a rake task:
rake fetch
set up a cron job for daily parsing of the current number of installs. There is a rake task `rake cron` which is currently used by [heroku](http://docs.heroku.com/cron) for periodic jobs.
### Installation
The most easy way is to deploy Pinky on [heroku](http://www.heroku.com).
### Copying
All sources included in this distribution are made available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).