{"id":13961755,"url":"https://github.com/ph4un00b/query_html","last_synced_at":"2026-05-10T19:05:34.483Z","repository":{"id":96094884,"uuid":"457987571","full_name":"ph4un00b/query_html","owner":"ph4un00b","description":"jq like for \u003chtml\u003e | query_html  \".\"  |  h1 #name  |  img #url , 50%   |  rm #item\" ","archived":false,"fork":false,"pushed_at":"2022-11-27T03:55:31.000Z","size":404,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-28T07:34:38.639Z","etag":null,"topics":["cli","deno","denoland","html","typescript"],"latest_commit_sha":null,"homepage":"","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/ph4un00b.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}},"created_at":"2022-02-11T00:00:49.000Z","updated_at":"2023-03-08T13:16:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc8f0b26-c087-438d-a7ef-a6d8f29a2c8e","html_url":"https://github.com/ph4un00b/query_html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ph4un00b%2Fquery_html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ph4un00b%2Fquery_html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ph4un00b%2Fquery_html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ph4un00b%2Fquery_html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ph4un00b","download_url":"https://codeload.github.com/ph4un00b/query_html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248877986,"owners_count":21176239,"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":["cli","deno","denoland","html","typescript"],"created_at":"2024-08-08T17:01:25.088Z","updated_at":"2026-05-10T19:05:34.452Z","avatar_url":"https://github.com/ph4un00b.png","language":"JavaScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"```diff\r\n@@ raw install @@\r\n```\r\n`$ deno install --reload -n query_html --allow-read https://raw.githubusercontent.com/ph4un00b/query_html/master/cli.ts`\r\n\r\n```html\r\n\u003cdiv id=\"name\"\u003eGoldcap\u003c/div\u003e\r\n\u003cdiv id=\"artist_name\"\u003eGoldcap\u003c/div\u003e\r\n\u003cdiv id=\"artist_id\"\u003e0uoaqsdWJ2Mbm9g0hjjZns\u003c/div\u003e\r\n\u003cdiv id=\"artist_image\"\u003e\r\n    \u003cdiv id=\"height\"\u003e640\u003c/div\u003e\r\n    \u003cdiv id=\"url\"\u003eimage.avif\u003c/div\u003e\r\n    \u003cdiv id=\"width\"\u003e640\u003c/div\u003e\r\n\u003c/div\u003e\r\n\u003cul id=\"artist_genres\"\u003e\r\n    \u003cli id=\"0\"\u003earab electronic\u003c/li\u003e\r\n    \u003cli id=\"1\"\u003eorganic electronic\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cdiv id=\"last_album_id\"\u003e2wWr1vIjDVV5yy1bGoekzF\u003c/div\u003e\r\n\u003cdiv id=\"last_album_name\"\u003eBreathe into Me (Incl. Goldcap Remix)\u003c/div\u003e\r\n\u003cdiv id=\"last_album_image\"\u003e\r\n    \u003cdiv id=\"height\"\u003e640\u003c/div\u003e\r\n    \u003cdiv id=\"url\"\u003ehttps://i.scdn.co/image/ab67616d0000b2732afc92c0999db8677e19e48d\u003c/div\u003e\r\n    \u003cdiv id=\"width\"\u003e640\u003c/div\u003e\r\n\u003c/div\u003e\r\n\u003cul id=\"last_album_genres\"\u003e\r\n\r\n\u003c/ul\u003e\r\n```\r\n\r\n```diff\r\n@@ if you run @@\r\n```\r\n`$ html | query_html \". | h1 #artist_name | img #url,25%,25% | rm #last_album_genres #height #width | picture #last_album_image | rm #name | h1 artist_name | wp article\"`\r\n\r\n```diff\r\n-\u003cdiv id=\"name\"\u003eGoldcap\u003c/div\u003e\r\n+\u003carticle\u003e\r\n-\u003cdiv id=\"artist_name\"\u003eGoldcap\u003c/div\u003e\r\n+    \u003ch1 id=\"artist_name\"\u003eGoldcap\u003c/h1\u003e\r\n-\u003cdiv id=\"artist_id\"\u003e0uoaqsdWJ2Mbm9g0hjjZns\u003c/div\u003e\r\n-\u003cdiv id=\"artist_image\"\u003e\r\n-    \u003cdiv id=\"height\"\u003e640\u003c/div\u003e\r\n-    \u003cdiv id=\"url\"\u003eimage.avif\u003c/div\u003e\r\n-    \u003cdiv id=\"width\"\u003e640\u003c/div\u003e\r\n-\u003c/div\u003e\r\n+    \u003cdiv id=\"artist_image\"\u003e\u003cimg height=\"25%\" width=\"25%\" src=\"image.avif\" alt=\"image\"\u003e\u003c/div\u003e\r\n-\u003cul id=\"artist_genres\"\u003e\r\n-    \u003cli id=\"0\"\u003earab electronic\u003c/li\u003e\r\n-    \u003cli id=\"1\"\u003eorganic electronic\u003c/li\u003e\r\n-\u003c/ul\u003e\r\n-\u003cdiv id=\"last_album_id\"\u003e2wWr1vIjDVV5yy1bGoekzF\u003c/div\u003e\r\n-\u003cdiv id=\"last_album_name\"\u003eBreathe into Me (Incl. Goldcap Remix)\u003c/div\u003e\r\n-\u003cdiv id=\"last_album_image\"\u003e\r\n-    \u003cdiv id=\"height\"\u003e640\u003c/div\u003e\r\n-    \u003cdiv id=\"url\"\u003eimage.url\u003c/div\u003e\r\n-    \u003cdiv id=\"width\"\u003e640\u003c/div\u003e\r\n-\u003c/div\u003e\r\n+    \u003cpicture id=\"last_album_image\"\u003e\u003cimg height=\"25%\" width=\"25%\" src=\"https://image.url\" alt=\"image\"\u003e\u003c/picture\u003e\r\n-\u003cul id=\"last_album_genres\"\u003e\r\n-\r\n-\u003c/ul\u003e\r\n```\r\n\r\n```diff\r\n@@ run test @@\r\n```\r\n`$ deno test --allow-read . --watch`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph4un00b%2Fquery_html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph4un00b%2Fquery_html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph4un00b%2Fquery_html/lists"}