Skip to content

shinycolors/hashes

Repository files navigation

Hashes

License TypeScript

Check hashes and store for Something about Something.

Check Results

Runs on daily at 3:00 UTC. (12:00 in GMT+9, JST)
Check Results

Running on AWS NorthEast-1 CodeBuild nodes with yarn test:check

If you want to check logs, Please run this script on your local machine since AWS CodeBuild doesn't support share logs on public.

Check Status

  • GreenBlock passing: No changes detected.
  • RedBlock failing: Changes detected, or Something is blocking this script.
  • BlueBlock in_progress: Please wait.
  • GrayBlock unknown: Please wait. if it keeps 'unknown' tomorrow, please submit issue.

How to run

# Install dependencies.
$ npm i # or `yarn install`

# Run, `-w` to write to `hashes.json` too
$ npm run start # or `yarn start`

# Test.
# It will be panic when found changes.
$ npm run test:check

# Lint
$ npm run lint

# `hashes.json` assets downloader, `-c` to only download recent change.
$ npm run download

Configure proxy

There's three option.

Config File Method

Example config is on config/proxy.example.json.

Change name to config/proxy.json and change settings to your proxy.

Set ENABLE_PROXY=1 to enable proxy.

Arguments Method

-p or --proxy can work with start and download. Note that test:check is ignore arguments.

Environment Method

See request's Environment proxy description

About

Hash checker for Something about Something.

Resources

License

Stars

Watchers

Forks

Packages

No packages published