/yasp

Open source Dota 2 replay parsing and statistics

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

YASP (Yet Another Stats Page)

Build Status Code Climate Coverage Status Dependency Status devDependency Status Join the chat at https://gitter.im/yasp-dota/yasp

Overview

We provide free, open source replay parsing for the Dota 2 Community. This includes item timelines, gold/LH graphs, ward positions, and position heatmaps.

See here for an example of our match analysis. For a full list of our features, see the wiki.

Tech

  • Web: Node.js/Express
  • Storage: PostgreSQL/Redis
  • Parser: Java (powered by clarity)

Quickstart

  • Install dependencies for Ubuntu: sudo bash init.sh. For other platforms, please have a look at the wiki.
  • Create .env file with required config values in KEY=VALUE format (see config.js for a full listing of options) cp .env_example .env
    • Note: If you have Steam Guard activated on your account you will either have to deactivate it or create a new account for use with the retriever (recommended).
  • Set up the database sudo npm run create
  • Build npm run build
  • Run npm test to make sure your install works correctly
  • Run all services in dev mode (this will run under nodemon so file changes automatically restart the server): npm run dev. You can also start individual services: npm run dev web,parser

Sample Data

  • Postgres: wget -qO- https://github.com/yasp-dota/testfiles/raw/master/yasp.zip | gzip | psql -U yasp to import a development database dump (after creating db)

Developer's Guide

See the wiki.

History

  • Project started in August 2014
  • Originally forked from Rjacksonm1/matchurls, started in July 2013

Core Development

  • howardchung
  • albertcui
  • nickhh