{"id":20170297,"url":"https://github.com/marcodpt/html2md","last_synced_at":"2025-07-19T14:35:08.390Z","repository":{"id":49352577,"uuid":"517457456","full_name":"marcodpt/html2md","owner":"marcodpt","description":"A deno script to convert a section of a HTML page to markdown","archived":false,"fork":false,"pushed_at":"2022-08-01T01:50:27.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T04:15:56.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/marcodpt.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}},"created_at":"2022-07-24T23:13:00.000Z","updated_at":"2022-07-24T23:16:33.000Z","dependencies_parsed_at":"2022-09-10T17:31:42.213Z","dependency_job_id":null,"html_url":"https://github.com/marcodpt/html2md","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcodpt/html2md","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fhtml2md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fhtml2md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fhtml2md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fhtml2md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcodpt","download_url":"https://codeload.github.com/marcodpt/html2md/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fhtml2md/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265947510,"owners_count":23853382,"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":[],"created_at":"2024-11-14T01:18:11.625Z","updated_at":"2025-07-19T14:35:08.361Z","avatar_url":"https://github.com/marcodpt.png","language":"JavaScript","readme":"# html2md\nA deno script to convert a section of a HTML page to markdown\n\n## Usage with binary for linux 64 bits\n```\n./html2md [url]\n```\n\n## Usage with deno\n```\ndeno run --allow-write --allow-net index.js [url]\n```\n\n## Compile with deno\n```\ndeno compile --allow-write --allow-net index.js\n```\n\n## Be available in your linux terminal commands\n```\nsudo cp html2md /usr/bin/\n```\n\n## Command Line options\n### -o --output\nEspecify file output.\n\nIf nothing is passed it uses stdout.\n\n### -s --selector\nDOM query selector of the section of the page to convert to markdown.\n\nIf nothing is passed the hole page will be converted.\n\n### -i --ignore\nDOM query selector of elements to be removed before convert.\nAll matches will be removed.\n\n### -f --footnote\nDOM query selector of footnotes in text.\nIt will follow the link to get the text.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcodpt%2Fhtml2md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcodpt%2Fhtml2md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcodpt%2Fhtml2md/lists"}