{"id":15357158,"url":"https://github.com/chocolateboy/wax","last_synced_at":"2025-03-31T19:45:18.747Z","repository":{"id":1548874,"uuid":"1907943","full_name":"chocolateboy/wax","owner":"chocolateboy","description":"A CLI tool which adds HTTP support to other CLI tools","archived":false,"fork":false,"pushed_at":"2021-03-15T12:02:39.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T00:15:53.490Z","etag":null,"topics":["cache","cli","command-combinator","command-line","command-line-tool","http","httpify","https","mirror","uri","url","web","webify"],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/App-Wax","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"eclipse/eclipse.pde.ui","license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chocolateboy.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-16T21:09:23.000Z","updated_at":"2021-11-02T22:20:18.000Z","dependencies_parsed_at":"2022-08-16T13:45:13.377Z","dependency_job_id":null,"html_url":"https://github.com/chocolateboy/wax","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolateboy%2Fwax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolateboy%2Fwax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolateboy%2Fwax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocolateboy%2Fwax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chocolateboy","download_url":"https://codeload.github.com/chocolateboy/wax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531986,"owners_count":20792735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","cli","command-combinator","command-line","command-line-tool","http","httpify","https","mirror","uri","url","web","webify"],"created_at":"2024-10-01T12:33:36.890Z","updated_at":"2025-03-31T19:45:18.728Z","avatar_url":"https://github.com/chocolateboy.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\nwax - webify your CLI\n\nSYNOPSIS\n\n    wax [OPTIONS] program [OPTIONS] ...\n\ne.g.:\n\n    $ wax vim -R https://registry.npmjs.org/left-pad/-/left-pad-1.2.0.tgz\n\nruns:\n\n    $ vim -R /tmp/wax_abcd1234.tgz\n\nDESCRIPTION\n\nwax is a command-line program which runs other command-line programs and\nconverts their URL arguments to local file paths. By default, the files are\nremoved after the command has exited.\n\nAs well as adding transparent support for remote resources to commands that\ndon't support them natively, wax can be used to:\n\n- add support for HTTPS (and any other protocols supported by LWP [1]) to programs that only support HTTP [2]\n- add a mirroring layer to network requests (remote resources are only fetched if they've been updated)\n- add a caching layer to network requests (remote resources are only fetched once)\n\nFor more details, see the wax man page.\n\nINSTALL\n\nInstall cpanminus [3] if it's not already installed, then:\n\n    cpanm App::Wax\n\nUPDATE\n\n    cpanm App::Wax\n\nUNINSTALL\n\n    cpanm --uninstall App::Wax\n\nEXAMPLES\n\nespeak\n\n    $ alias espeak=\"wax espeak\"\n    $ espeak -f http://www.setec.org/mel.txt\n\ngrep\n\n    $ wax grep -B1 demons http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt\n\njsview\n\nBrowse files in Node module tarballs\n\n    #!/bin/sh\n\n    # usage: jsview \u003cmodule\u003e e.g. jsview left-pad\n    wax --cache vim -R $(npm info --json \"$@\" | jq -r .dist.tarball)\n\nnman\n\nNode.js man-page viewer\n\n    #!/bin/sh\n\n    # usage: nman \u003cman-page\u003e e.g. nman util\n    node_version=${NODE_VERSION:-`node --version`}\n    docroot=\"https://cdn.jsdelivr.net/gh/nodejs/node@$node_version/doc/api\"\n    wax --cache -D pandoc --standalone --from markdown --to man \"$docroot/$1.md\" | man -l -\n\nripgrep\n\nGet the default key bindings for mpv:\n\n    $ wax rg -r '$1' '^#(\\S.+)$' https://git.io/JfYlz | sort\n\nVERSION\n\n2.4.1\n\nCOMPATIBILITY\n\n- perl \u003e= v5.10\n\nSEE ALSO\n\nTools\n\n- zsh completion script [4]\n\nLinks\n\n- The Parrot Virtual File System [5] - a filesystem which provides transparent access to web resources\n- SSHFS [6] - a filesystem which provides transparent access to SSH shares\n- tmpin [7] - add stdin support to any CLI app that accepts file input\n\nAUTHOR\n\nchocolateboy\n\nCOPYRIGHT AND LICENSE\n\nCopyright (c) 2010-2020 by chocolateboy.\n\nThis is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. [8]\n\n[1] https://metacpan.org/pod/LWP\n[2] https://github.com/jgm/pandoc/issues/1266\n[3] https://github.com/miyagawa/cpanminus/tree/devel/App-cpanminus#readme\n[4] https://github.com/chocolateboy/wax/wiki/Zsh-completion-script\n[5] https://ccl.cse.nd.edu/software/parrot/\n[6] https://github.com/libfuse/sshfs\n[7] https://github.com/sindresorhus/tmpin\n[8] https://www.opensource.org/licenses/artistic-license-2.0.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocolateboy%2Fwax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocolateboy%2Fwax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocolateboy%2Fwax/lists"}