EtherScamDB icon indicating copy to clipboard operation
EtherScamDB copied to clipboard

[WIP] [DONT MERGE] 3.0.0

Open MrLuit opened this issue 5 years ago • 1 comments

Changes

Desktop app

EtherScamDB can now be run locally using Electron. The desktop app contains some features which are disabled on the production website such as:

  • Light mode (won't run any IP/DNS/HTTP lookups)
  • A simple configuration process
  • A way to add scams to the data file locally

API

  • Breaking change: Removed id property from entries in _data/scams.yaml
  • Breaking change: Removed name property from entries in _data/scams.yaml
  • Breaking change: Removed id property from entries in _data/legit_urls.yaml
  • Added statusCode property to scam entries retrieved from the API with a completed lookup

Usability

  • Added warning to IP pages of private IPs (such as /ip/127.0.0.1)
  • Added Dockerfile for running application without having to deal with dependencies

Performance

  • Implemented direct communication between database and updating process (which means individual status updates get processed immediately, previously all scam lookups needed to be completed before the changes could be communicated to the database)
  • Rewrote everything to promises instead of callbacks
  • Implemented EJS templating (caching!)
  • Bottleneck implementation to have more control over maximum amount of requests/s (to prevent accidental DoS when performing lookups)

MrLuit avatar Jul 19 '18 20:07 MrLuit

I found this repo by searching for bottleneck on Github. Cool project and very clean use of Bottleneck 😄

SGrondin avatar Sep 16 '18 15:09 SGrondin