Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An express application for collecting js information
JavaScript CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
public
routes
test
views
Cakefile
README.md
admin.json
app.coffee
package.json

README.md

js-trend

An express3 application for collecting js statistics

Requirements

  • Node.js
  • MongoDB

Setup

run mongod (e.g. /etc/init.d/mongodb start)

Install and Run

git clone https://github.com/xenyou/js-trend.git
cd js-trend
npm install
./node_modules/.bin/cake build
node app.js

Administration

There is an account to update or remove data. Edit admin.json and visit /login to login the system. To remove data, you have to specify a number. It removes data until the specified days ago.

How to collect data automatically

bin/update.js is a crawler script. You can run it periodically via crond or something like that.

Note: you have to edit bin/twitter_oauth.json before executing update.js.

Something went wrong with that request. Please try again.