{"id":32570912,"url":"https://github.com/netascode/xmldot-playground","last_synced_at":"2026-04-16T15:33:05.868Z","repository":{"id":319037419,"uuid":"1077337979","full_name":"netascode/xmldot-playground","owner":"netascode","description":"Interactive browser-based playground for experimenting with XMLDOT queries using WebAssembly. Query XML documents using simple dot-notation paths with real-time results, built-in examples, and comprehensive security controls.","archived":false,"fork":false,"pushed_at":"2025-11-01T13:13:27.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-30T12:52:45.165Z","etag":null,"topics":["golang","xml","xml-parser"],"latest_commit_sha":null,"homepage":"https://netascode.github.io/xmldot-playground/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netascode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-16T05:49:36.000Z","updated_at":"2025-11-01T13:13:30.000Z","dependencies_parsed_at":"2025-10-17T21:21:58.773Z","dependency_job_id":"b3c23151-04a9-4412-9083-cfda9b52b36d","html_url":"https://github.com/netascode/xmldot-playground","commit_stats":null,"previous_names":["netascode/xmldot-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netascode/xmldot-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fxmldot-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fxmldot-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fxmldot-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fxmldot-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netascode","download_url":"https://codeload.github.com/netascode/xmldot-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fxmldot-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31892296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["golang","xml","xml-parser"],"created_at":"2025-10-29T08:19:43.283Z","updated_at":"2026-04-16T15:33:05.861Z","avatar_url":"https://github.com/netascode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XMLDOT Playground\n\nAn interactive browser-based playground for experimenting with [XMLDOT](https://github.com/netascode/xmldot) XML queries using WebAssembly.\n\n## Live Playground\n\n**[Try it now!](https://netascode.github.io/xmldot-playground/)**\n\n## About\n\nXMLDOT Playground allows you to experiment with XML queries directly in your browser without any installation. It compiles the XMLDOT Go library to WebAssembly, enabling real-time query execution with instant results.\n\n### Features\n\n- **Real-time Query Execution**: Type XML and queries, see results instantly\n- **Security Controls**: Resource limits prevent DoS attacks (10MB XML, 4KB queries)\n- **Strict Content Security Policy**: No unsafe-inline, SRI hashes for all resources\n- **Optimized WASM**: ~845 KB compressed download (2.9MB raw, optimized with -ldflags=\"-s -w\")\n- **Comprehensive Error Handling**: Graceful error messages for invalid input\n- **No Installation Required**: Runs entirely in your browser\n- **Interactive Examples**: Built-in example XML documents and query history\n- **Dark Theme**: Easy on the eyes for extended use\n\n## What is XMLDOT?\n\nXMLDOT is a high-performance Go library for querying XML documents using a simple dot-notation path syntax. It provides a fast and intuitive way to extract data from XML documents.\n\n**Example**:\n```go\nxml := `\u003ccatalog\u003e\u003cbook id=\"1\"\u003e\u003ctitle\u003eXML Guide\u003c/title\u003e\u003c/book\u003e\u003c/catalog\u003e`\ntitle := xmldot.Get(xml, \"catalog.book.title\").String()\n// Result: \"XML Guide\"\n```\n\nLearn more at the [XMLDOT repository](https://github.com/netascode/xmldot).\n\n## Local Development\n\n### Prerequisites\n\n- **Go 1.24 or later** (required for building WASM)\n- **Python 3.6+ or Python 2.7** (required for local server)\n- **Modern web browser** with WebAssembly support (Chrome, Firefox, Safari, Edge)\n\n### Quick Start\n\n```bash\n# Clone the repository\ngit clone https://github.com/netascode/xmldot-playground.git\ncd xmldot-playground\n\n# Build and start local server\nmake serve\n\n# Open browser to http://localhost:8000\n```\n\n### Building\n\n```bash\n# Build WASM binary and copy runtime\nmake build\n```\n\n### Makefile Commands\n\n- `make build` - Compile WASM binary and copy Go WASM runtime\n- `make serve` - Build and start local HTTP server at http://localhost:8000\n- `make verify` - Verify all build artifacts exist with size report\n- `make clean` - Remove generated files (xmldot.wasm, wasm_exec.js)\n- `make check-prereqs` - Validate prerequisites are installed\n- `make deploy` - Show deployment instructions\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## Related Projects\n\n- [XMLDOT](https://github.com/netascode/xmldot) - The XML query library powering this playground\n- [gjson-play](https://github.com/tidwall/gjson-play) - Inspiration for this project (JSON query playground)\n\n---\n\nBuilt with Go and WebAssembly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetascode%2Fxmldot-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetascode%2Fxmldot-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetascode%2Fxmldot-playground/lists"}