A comprehensive URL manipulation tool for developers.
bash
python3 skills/url-toolkit/scripts/url_toolkit.py <action> [options]
ActionDescriptionencodeURL encode a stringdecodeURL decode a stringparseParse URL into componentsquery-parseParse query string to JSONquery-buildBuild query string from JSON
OptionTypeDefaultDescription--inputstring-Input string or URL--fullboolfalseFull encoding (all chars) vs safe encoding
bash
# URL encode
python3 skills/url-toolkit/scripts/url_toolkit.py encode --input "hello world"
# Output: {"success": true, "result": "hello%20world"}
# URL decode
python3 skills/url-toolkit/scripts/url_toolkit.py decode --input "hello%20world"
# Output: {"success": true, "result": "hello world"}
# Parse URL
python3 skills/url-toolkit/scripts/url_toolkit.py parse --input "https://example.com:8080/path?q=test&id=123#section"
# Output: {"success": true, "result": {"scheme": "https", "host": "example.com", ...}}
# Parse query string
python3 skills/url-toolkit/scripts/url_toolkit.py query-parse --input "q=test&id=123&name=hello+world"
# Output: {"success": true, "result": {"q": "test", "id": "123", "name": "hello world"}}
# Build query string
python3 skills/url-toolkit/scripts/url_toolkit.py query-build --input '{"q":"test","id":123,"name":"hello world"}'
# Output: {"success": true, "result": "q=test&id=123&name=hello%20world"}
Ready for testing.