diff --git a/reader/main.js b/reader/main.js
new file mode 100644
index 0000000..a557753
--- /dev/null
+++ b/reader/main.js
@@ -0,0 +1,12 @@
+const text = await Deno.readTextFile("../XONE K2 - 4 decks (Live FX).xml");
+const resp = await fetch("https://serato-mapping-browser.deno.dev/", {
+ method: "POST",
+ headers: {
+ "Content-Type": "text/xml",
+ Accept: "application/json",
+ },
+ body: text,
+});
+const json = await resp.json();
+
+console.log(JSON.stringify(json, null, 2));
diff --git a/readme.md b/readme.md
index e393e2a..b3e4dbd 100644
--- a/readme.md
+++ b/readme.md
@@ -12,7 +12,7 @@ Serato UI doesn't help much, there is nothing like [Ableton Live Mapping Browser
## Parts
-* [reader](reader) - deno script to convert source XML to JS representation (`cd reader; deno run --allow-read index.js | pbcopy`)
+* [reader](reader) - deno script to convert source XML to JS representation (`cd reader; deno run --allow-read --allow-net main.js | pbcopy`)
* [display](display) - web frontend for visualisation of Serato XML data. (`cd display; yarn; yarn dev`)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.