Giter Site home page Giter Site logo

gamepass's Introduction

GamePass

Simple web app that scrapes data from the GamePass Library, retrieves each game's duration from HowLongToBeat Main Story duration and auto updates itself using GitHub Actions (or try to do so).

Prerequisites

  • NodeJS LTS

Installation

$ git clone https://github.com/Dionakra/gamepass.git
$ cd gamepass
$ npm install

Information retrieval

As we need information from several sources, and it should be retrieved automatially, the npm run update command tries to do that by querying the Game Pass library, deleting games that are no longer present in the service and obtaining the duration for the new ones.

This command will fail (so GitHub Actions notifies me) when trying to get the duration of a new game it cannot find one. It usually happens when the name provided by the game library is not the exact same name of the game, as they usually add Standard Edition, WINDOWS 10 Edition or so to game titles just to differentiate the different versions between consoles and PC, but those names don't return anything from HowLongToBeat.

Development

$ npm run dev

Deployment

If you don't have them, please install firebase tools by typing npm i -g firebase-tools.

$ npm run build
$ firebase deploy

gamepass's People

Contributors

actions-user avatar dionakra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.