jaredh159 / wicked

rust app for testing what percentage of domains host adult content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wicked

Prerequisites

Steps to replicate:

  • make a config.local.yaml file, and fill in your own values for database_url, raw_domains_filepath, bun_bin_path, and words, at least
  • ensure your database exists and is reachable from your database_url
  • you can test the classification of individual domains by running cargo run -- check-domain somedomain.com, using this to tune the weights and words in your configuration
  • bootstrap the database by running RUST_LOG=wicked=debug cargo run --release -- bootstrap (this will take several minutes to insert over 100 million domains)
  • check your desired sample size, and run RUST_LOG=wicked=info cargo run --release -- exec

About

rust app for testing what percentage of domains host adult content


Languages

Language:HTML 85.0%Language:Rust 14.1%Language:TypeScript 0.7%Language:Just 0.1%