GithubHelp home page GithubHelp logo

hyena / blood-money Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 6.0 62 KB

Battle.net WebApp to calculate blood of sargeras vendor values

Home Page: https://rodent.io/blood-money

License: MIT License

Rust 79.78% HTML 20.22%

blood-money's Introduction

A World of Warcraft webapp that helps players determine the best value for their bloods of sargeras and primal sargerite on their realm.

Quickstart

  1. Compile blood-money
  2. Make an account on https://dev.battle.net/ and generate an API key
  3. Run blood-money <api key> (us|eu)
  4. Look at http://localhost:3000/blood-money or http://localhost:3001/blood-money-eu depending on how blood-money was launched.

Todo

  • Read token from config (or stick with commandline?)
  • Move these println's into a real logging system.
  • Save data between runs and use it when bringing the service back up.
  • The threading model is presently fairly serial and could be improved such that it was hurt less by stragglers or one buggy realm.
  • There's definitely some major CPU usage when the download is running. Possibly some dumb deserialization issue or sorting.
  • We should probably move most of the work to the background thread and make the web thread just essentially take a reader lock and clone some Arc's
  • Add some more crafting options now that we have the infrastructure for that.

Things that we might get to if this became more serious:

  • Currently does not respect changes in realm lists. Requires a restart to handle those changes.
  • Re-implement the battle_net_api_client into something robust: Use a modern version of hyper (means working with futures), flesh out all the method calls, move it into a lib.
  • Re-implement on rocket.rs instead of iron.

License

Although I can't imagine someone else using this: MIT, of course.

blood-money's People

Contributors

hyena avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blood-money's Issues

Compact approach to output

Hello,

I saw your project on wowhead today and followed it bit, as you noted you are not well with CSS, I wanted to step forward and help you on the html output. You can look at my past from my profile. I`m still learning the RUST at this stage (very basics of it compile - run on web server etc...).

What I`m offering (suggesting) is to make more compact view so it wont take ages to scroll down. Also I can make it responsive so it will be mobile ready.

This is my very first draft (direct HTML edit on your page so bars are just went all the way down due to flex view).
screenshot-rodent io-2017-11-12-03-29-30

Let me know if this version is fine enough, thanks for the handy web-app.

Primal Sargerite

It would be a pretty good addition to support the recently added Primal Sargerite vendor aswell.

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.