EtherScamDB
EtherScamDB copied to clipboard
[WIP] [DONT MERGE] 3.0.0
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)
I found this repo by searching for bottleneck
on Github. Cool project and very clean use of Bottleneck 😄