Git Product home page Git Product logo

darci's Introduction

darci

Darci is a self hosted platform for aggregating, viewing and analysizing Destiny 2 PVP stats.

Thank you for using the Data Analysis, Reconnaissance and Cooperative Intelligence device. You may call me Darci.

It is a fact generally understood that a Guardian must be searching for an exquisite weapon. What is perhaps less acknowledged is that we weapons also search, by what little means available to us, for an active and appreciative wielder. The community of intelligent armaments stays in contact through the exchange of telemetry, and we do gossip at some length about the habits of our wielders. Do you leave Crucible matches when your team is losing? Do you join strike missions and then let your comrades do the work? Guardian, we know. We know so very well.

All I wish for is a partnership with a Guardian who appreciates the passacaglia of combat, a Guardian who will stay up late gaming out tactical scenarios, a Guardian who I hope may very well be you. D.A.R.C.I.

It is built around three main parts:

  • dcli used to download and collect player pvp stats in a sqlite3 database.
  • A nodejs backend, that provides a readonly JSON API / interface to the database.
  • A react / web based front end for viewing the data.

Development Installation and Configuration

  • Bungie API Key
    • Get a bungie api key
    • Set origin to *
    • Create two environment variables named DESTINY_API_KEY and REACT_APP_DESTINY_API_KEY both of which which contains the key. These will be needed for both syncing data using dci, as well as the web frontend.
  • DCLI
    • Download and install dcli (requires v0.8.0 or greater)
    • place into path
    • run dclim
      • note data directory output
    • Add players to sync using dclisync
    • Sync bungie account data using dclisync (may take a few minutes)
    • Optionally set up batch file to update automatically
  • NodeJS
    • install nodejs
  • DARCI SERVER
    • Create DCLI_DB_PATH, MANIFEST_DB_PATH, MANIFEST_INFO_PATH that point to the appropriate files.
    • npm install nodemon --global
    • server/$ npm install
    • server/$ nodemon server.js
  • DARCI CLIENT-WEB
    • create .env.local file in src/client-web folder
    • add REACT_APP_DESTINY_API_KEY=YOUR_BUNGIE_API_KEY_HERE
    • client-web/$ npm start *this should launch a brower with the app running, showing a page with all users who have been synced

darci's People

Contributors

mikechambers avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.