Giter Club home page Giter Club logo

fgo-news-differ's Introduction

FGO News Differ

This repository contains bash and node scripts used to snapshot and diff the FGO News page

Installation

Make sure your shell supports bash, curl and has access to an installation of Node.js 16.x+ as well as the pnpm package manager (either global install or corepack)

pnpm install

Usage

This repository contains multiple scripts:

  • pnpm download - downloads a new snapshot
  • pnpm compare - used to compare snapshots. Use with --latest or as pnpm compare:latest to compare the two latest screenshots
  • pnpm clean - used to delete old snapshots, will always keep the two latest snapshots. Use with --assume-yes or as pnpm clean:force to skip selection

Snapshots

Snapshots are saved into ./data using the current date and time as the directory name. .prettierignore is also used as a list of currently saved snapshots. Snapshots contain a copy of the index.html as well as all news posts linked on the first page as prettified html documents. Images are not saved at this time.

LICENSE

The code in the repository is licensed under the MIT License. This repository does not contain any game code or assets from Fate/Grand Order and merely uses publically available data. Licenses for dependencies can be viewed with pnpm licenses list.

fgo-news-differ's People

Contributors

mitsunee avatar

Stargazers

 avatar

Watchers

 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.