Skip to content

Instantly share code, notes, and snippets.

@bluskript
Last active June 5, 2024 06:08
Show Gist options
  • Select an option

  • Save bluskript/a988fe73d9f9fda529eee70a64d8bb3b to your computer and use it in GitHub Desktop.

Select an option

Save bluskript/a988fe73d9f9fda529eee70a64d8bb3b to your computer and use it in GitHub Desktop.
Tiny script to save toadua / Toaq glossary for offline viewing
http post --content-type application/json https://toadua.uakci.pl/api { action: "search", query: ["term", ""] } | to json | save -f ./toadua.json
open ./toadua.json | get results | where scope == en | select head body user | sort-by user | to html | save toadua.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment