HTTP server connecting to a single Markov chain https://flanchan.moe/markov/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Avril 51a5d0aeba
start sentance, sanitise
4 years ago
src start sentance, sanitise 4 years ago
.gitignore profile 4 years ago
Cargo.lock fix fuse error 4 years ago
Cargo.toml start sentance, sanitise 4 years ago
LICENSE makefile 4 years ago
Makefile chunking feed lines feature 4 years ago
README web server working 4 years ago
TODO todo 4 years ago
default makefile 4 years ago
markov.toml start sentance, sanitise 4 years ago

README

HTTP server connecting to a Markov chain

Feeding:
# PUT /put
Request body is fed to the chain

NOTE: Strings fed to the chain must be valid UTF-8 and below 16 KB in size

Generating:
# GET /get
Generate a string from the chain

# GET /get/<number>
Generate <number> strings from the chain

NOTE: Number must be lower than 256