{"id":18157114,"url":"https://github.com/pedrofnseca/html-transpiler-markdown","last_synced_at":"2026-02-21T06:12:18.423Z","repository":{"id":260370470,"uuid":"875033838","full_name":"PedroFnseca/html-transpiler-markdown","owner":"PedroFnseca","description":"Html transpiler to Markdown in C","archived":false,"fork":false,"pushed_at":"2024-10-30T23:45:41.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T23:23:29.909Z","etag":null,"topics":["c","file-manager","html","markdown","translate","transpiler"],"latest_commit_sha":null,"homepage":"","language":"C","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/PedroFnseca.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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-19T00:09:22.000Z","updated_at":"2024-11-13T20:38:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"9eccef95-3cee-4590-8571-e338773465d4","html_url":"https://github.com/PedroFnseca/html-transpiler-markdown","commit_stats":null,"previous_names":["pedrofnseca/html-transpiler-markdown"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PedroFnseca/html-transpiler-markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fhtml-transpiler-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fhtml-transpiler-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fhtml-transpiler-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fhtml-transpiler-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PedroFnseca","download_url":"https://codeload.github.com/PedroFnseca/html-transpiler-markdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PedroFnseca%2Fhtml-transpiler-markdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274858077,"owners_count":25362896,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","file-manager","html","markdown","translate","transpiler"],"created_at":"2024-11-02T06:05:23.252Z","updated_at":"2025-10-19T16:33:25.712Z","avatar_url":"https://github.com/PedroFnseca.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## HTML Transpiler to Markdown in C\n\u003e This project aims to study how to create a transpiler that will take an `.html` file and transform it into a `.md` file.\n\n## Concepts used\n\n### **Stack** (Data Structure)\nIn this project, the `stack` data structure was used to store the exact order of tags that were opened, so they can be closed in the correct order to generate the `.md` file correctly.\n\n---\n\n## State Machine (Read)\n\n| Current State   | Next State       |\n|-----------------|------------------|\n| INIT            | READ_TAG         |\n| READ_TAG        | READ_CONTENT     |\n| READ_TAG        | CHECK_CLOSE_BAR  |\n| READ_CONTENT    | READ_TAG         |\n| CHECK_CLOSE_BAR | INIT             |\n| CHECK_CLOSE_BAR | READ_TAG         |\n| CHECK_TAG       | CHECK_TITLE      |\n| CHECK_TAG       | CHECK_CLOSE_OPEN |\n| CHECK_TITLE     | READ_CONTENT     |\n| CHECK_CLOSE_OPEN| READ_CONTENT     |\n| CHECK_CONTENT   | READ_TAG         |\n| CHECK_CONTENT   | CHECK_CONTENT    |\n| CHECK_TAG_END   | INIT             |\n\n## State Machine (Write)\n\n| Current State | Next State |\n|---------------|------------|\n| NONE          | TAG        |\n| TAG           | CONTENT    |\n| CONTENT       | TAG        |\n| CONTENT       | NONE       |\n\nUnder construction ...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrofnseca%2Fhtml-transpiler-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrofnseca%2Fhtml-transpiler-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrofnseca%2Fhtml-transpiler-markdown/lists"}