sqrl-lang / sqrl

A safe, stateful rules language for event streams
Apache License 2.0
113 stars 11 forks source link

Text functions #19

Closed qix closed 2 years ago

qix commented 2 years ago

Problem

Sample rules for Twitter spam protection would be better with sqrl-text-functions.

Solution

Include the module. It will require a little bit of magic because the code currently uses fs and re2 which are not available in browser.

Result

simhash() function is available in websqrl

qix commented 2 years ago

@meyer if you want to try get this working I'd be suuper happy