https://github.com/edsu/wikitrends
see most viewed wikipedia articles
https://github.com/edsu/wikitrends
Last synced: 8 months ago
JSON representation
see most viewed wikipedia articles
- Host: GitHub
- URL: https://github.com/edsu/wikitrends
- Owner: edsu
- Created: 2012-02-14T17:39:16.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-23T03:46:26.000Z (about 14 years ago)
- Last Synced: 2025-05-07T18:54:33.772Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 8.48 MB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wikitrends
----------
wikitrends is a simplistic view of the top 25 wikipedia page accesses from the
last hour. It is a pure HTML and JavaScript application that relies on a JSON
file that is generated by a cron job that fetches and processes page count
data dumps from the
[Wikimedia Foundation](http://dumps.wikimedia.org/other/pagecounts-raw/).
Install
-------
If you are on Ubuntu or a similar Unix you will already have these, but
double check you have the following command line utilities available to you
for the fetch.sh script to run: curl, gunzip, head, perl, python, sort.
Next put fetch.sh in your crontab:
30 * * * * cd /home/ed/Projects/wikitrends/; ./fetch.sh
Then make your wikitrends directory web accessible. For example w/ Apache first
symlink your document directory to your git project directory:
ln -s /home/ed/Projects/wikitrends /var/www/inkdroid.org/wikitrends
And then modify your Apache configuration allowing it to access the directory:
Order allow,deny
Allow from all
Deny from none
Options FollowSymLinks
Options +Indexes
License
-------
Public Domain