aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1d42338..2e256cb 100644
--- a/README.md
+++ b/README.md
@@ -8,4 +8,21 @@ according to the meta information saved in the audio files. The audio files are
expected to be in 2 directories, the artist and album directories. These
directories are also renamed.
+## mock\_server.rb
+
+mock\_server.rb takes some JSON on its STDIN and starts a simple HTTP server that
+slowly (in chunks) answers all requests with the given input.
+
+For example:
+
+```sh
+echo '{"var": "stuff"}' | ./bin/mock_server.rb
+```
+
+and in another session:
+
+```
+curl localhost:8082
+```
+
## tea-cleaner