This repository has been archived by the owner. It is now read-only.

infinite-slop

yorhel/infinite-slop archive

Infinite* Slop

Infinite* Slop is an enterprise-ready high-performance slop generation solution, designed to waste resources of shitty web crawlers and potentially ruin training sets of unethically-sourced AI projects.

I'm too old-fashioned to use Markov chains so this just uses the good old template-based random string generation approach from the 90's.

(* Actually finite)

Live demos: Woof (WARNING: contains nonsense) - VNDB (WARNING: contains offensive language)

Usage

Build: crystal main.cr -o infinite-slop

Run:

Usage: infinite-slop [arguments]
    --bind=ADDR                      Bind address
    --min-delay=MS                   Minimum random delay
    --max-delay=MS                   Maximum random delay
    -h, --help                       Show this help

The main template is read from template.html in the current working directory. Template syntax:

  • {$thing} - Replaced with a random line from file 'thing'.
  • {<file} - Replaced with the contents of file, which is also interpreted for template syntax. Pages will blow up if you attempt to do recursive file include. This still counts as a single "line" for the purpose of random selection with {$thing} syntax.
  • {{ - Replaced with a literal {.

Functions ($thing is a placeholder for other functions or above content syntax):

  • {repeat min max $thing} - Repeat thing between min and max times. Each iteration uses a different random seed, use forkrng to prevent that.
  • {html $thing} - HTML escape.
  • {slug $thing} - Slugify.
  • {ucfirst $thing} - Uppercase first character.
  • {forkrng $thing} - Run thing without modifying the RNG, allowing for the same thing to be repeated exactly.

All template files are loaded and parsed at startup for optimal run-time performance.

Similar projects

License

AGPL-3.0-only.

Repository

infinite-slop

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • about 6 hours ago
  • March 24, 2026
License

Links
Synced at

Tue, 24 Mar 2026 22:57:55 GMT

Languages