atrifat / nostr-monitoring-tool Goto Github PK
View Code? Open in Web Editor NEWA simple monitoring tool that classify nostr events (SFW/NSFW, language, topic, sentiment, toxic comment, etc).
License: MIT License
A simple monitoring tool that classify nostr events (SFW/NSFW, language, topic, sentiment, toxic comment, etc).
License: MIT License
Same potential issue like atrifat/nostr-filter#21
Same solution like atrifat/nostr-filter#22
Add language detection support.
Add hate speech (toxic comment) detection support
Relays might disconnect client after some times. Currently, there is problem with current event subscription when reconnecting by subscribing with filter limit: 1
. This limit might be problem if there is some delays between reconnection and make nostr-monitoring-tool missing some events.
Increase filter limit into reasonable size for example limit: 50
thus by fetching new events included before EOSE can make nostr-monitoring-tool include missing events.
This is improvement related to issue #4 . Sometimes, notes events comes first before classification events, thus bypassing filter in atrifat/nostr-filter since classification events not exist (yet).
Add delay before publishing note events using setTimeout
is a workaround to make sure classification events properly published before publishing note events.
atrifat/nostr-filter uses classification data from atrifat/nostr-monitoring-tool to filter note events. Recently, it has language filter support. However there is condition of incorrect note filtering since atrifat/nostr-filter waiting language classification data. Current implementation: await publishNostrEvent(pool, relaysToPublish, ev);
in atrifat/nostr-monitoring-tool publish note events immediately to upstream relay before language classification have done.
Consider move await publishNostrEvent(pool, relaysToPublish, ev);
code to the end of function after the last classification (language classification).
Consider to use NIP-32 instead of current implementation using kind 9978. We need to transform data format properly and learn how to apply it based on NIP-32.
Based on report from npm, there is Axios Cross-Site Request Forgery Vulnerability affecting axios lower than 1.6.0 which used by nostr-monitoring-tool (1.5.1). Update to latest version will solve this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.