Experimental podcast feed validator, supporting all of the new podcast namespace tags
Public version available at: https://validator.livewire.io/
- Ensure vscode is installed
- Ensure Deno is installed
- Ensure the Deno vscode extension is installed (from vscode -> Extensions)
- There are two vscode projects:
code validator-app
to work on the client-side javascript appcode validator-worker
to work on the cli, server (Cloudflare Worker), or common validation logic
- Run the standard
deno test
to run unit tests - Install the
validator
cli tool- (from the
validator-worker
dir)deno install --name validator -Af --unstable cli.ts
- (from the
- Run
validator build
to rebuild/embed the client app on any changes - Run
validator validate <url>
to quickly test validation rules on the command-line - Use
denoflare serve
to run the server on your local machine- Ensure denoflare is installed
- Run without config (from the
validator-worker
dir):denoflare serve validator_worker.ts --watch-include static
- Or using a .denoflare config file (example below):
denoflare serve validator-local --watch-include static
- See the config below for the optional worker environment variable bindings to configure secrets