{"id":22974334,"url":"https://github.com/diversen/url-to-markdown","last_synced_at":"2025-04-02T07:25:08.079Z","repository":{"id":232209570,"uuid":"619901420","full_name":"diversen/url-to-markdown","owner":"diversen","description":"Convert gutenberg html to markdown","archived":false,"fork":false,"pushed_at":"2023-03-31T17:47:33.000Z","size":117,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T22:28:33.444Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diversen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-03-27T16:28:47.000Z","updated_at":"2023-03-27T18:31:35.000Z","dependencies_parsed_at":"2024-04-08T17:05:01.802Z","dependency_job_id":"6d4de80a-23f3-4ae0-ba35-c187fc6640f4","html_url":"https://github.com/diversen/url-to-markdown","commit_stats":null,"previous_names":["diversen/url-to-markdown"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Furl-to-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Furl-to-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Furl-to-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Furl-to-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/url-to-markdown/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771750,"owners_count":20831095,"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-12-15T00:00:36.072Z","updated_at":"2025-04-02T07:25:08.051Z","avatar_url":"https://github.com/diversen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# url-to-markdown\n\nRead an online html file and convert it to markdown. \n\n## Install\n\n```bash\ngit clone https://github.com/diversen/url-to-markdown.git\ncd url-to-markdown\nnpm install\n```\n\n## Usage\n\n```bash\n# fetching The Divine Comedy by Dante Alighieri\n./url-to-markdown.js https://www.gutenberg.org/files/1001/1001-h/1001-h.htm#CantoI.I \u003e devine_comedy.md\nmore devine_comedy.md\n```\n\nThe code is just a single script [url-to-markdown.js](url-to-markdown.js). \n\n`Puppeteer` is used for the scraping. `Turndown` is used for converting html to markdown.\n\n## License\n\nMIT © [Dennis Iversen](https://github.com/diversen)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Furl-to-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Furl-to-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Furl-to-markdown/lists"}