{"id":17638031,"url":"https://github.com/jonathanschndr/github-form-schema-html","last_synced_at":"2026-02-27T00:31:05.721Z","repository":{"id":58149962,"uuid":"530182887","full_name":"JonathanSchndr/github-form-schema-html","owner":"JonathanSchndr","description":":trollface: Interpret the Syntax for GitHub's form schema and export a html form.","archived":false,"fork":false,"pushed_at":"2022-09-15T06:58:41.000Z","size":237,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T05:32:49.868Z","etag":null,"topics":["github","issue"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/example-github-form-schema-html-7khslb","language":"TypeScript","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/JonathanSchndr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-08-29T11:09:46.000Z","updated_at":"2023-03-20T09:24:31.000Z","dependencies_parsed_at":"2023-01-18T08:31:09.713Z","dependency_job_id":null,"html_url":"https://github.com/JonathanSchndr/github-form-schema-html","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanSchndr%2Fgithub-form-schema-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanSchndr%2Fgithub-form-schema-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanSchndr%2Fgithub-form-schema-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanSchndr%2Fgithub-form-schema-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanSchndr","download_url":"https://codeload.github.com/JonathanSchndr/github-form-schema-html/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247580406,"owners_count":20961604,"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":["github","issue"],"created_at":"2024-10-23T03:24:53.973Z","updated_at":"2026-02-27T00:31:05.682Z","avatar_url":"https://github.com/JonathanSchndr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub Form Schema HTML](./banner.jpg)\n\n# GitHub Form Schema HTML\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n\n\u003e GitHub Form Schema HTML for [GitHub's form schema](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema)\n\n- [✨ \u0026nbsp;Release Notes](https://github.com/JonathanSchndr/github-form-schema-html/releases)\n- [🔴 Demo](https://codesandbox.io/s/example-github-form-schema-html-7khslb)\n\n## Features\n\nGitHub Form Schema HTML convert your GitHub Issue Template in a real HTML Form. [(Schema)](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema)\n\n- Supported Types:\n  - Markdown\n  - Textarea\n  - Input\n  - Dropdown\n  - Checkboxes\n- [Primer CSS](https://primer.style/) support\n- TypeScript support\n\n\n## Setup\n\n```sh\nyarn add github-form-schema-html # yarn\nnpm i github-form-schema-html # npm\n```\n\n## Basic usage\n\n```html\n\u003cform\u003e\n  \u003cdiv id=\"load\"\u003e\u003c/div\u003e\n  \u003cbutton class=\"btn\" type=\"submit\"\u003eSubmit\u003c/button\u003e\n\u003c/form\u003e\n```\n\n```javascript\nimport { GitHubFormSchemaHtml } from 'github-form-schema-html';\n\n// basic\ndocument.getElementById('load').innerHTML = new GitHubFormSchemaHtml({ yml: rawYml }).render();\n\n// with fetch (optional, if yml content need loaded before)\nfetch('./form.yml').then(res =\u003e res.text()).then(rawYml =\u003e {\n  document.getElementById('load').innerHTML = new GitHubFormSchemaHtml({ yml: rawYml }).render();\n})\n```\n\n## Development\n\n1. Clone this repository\n2. Install dependencies using `yarn install` or `npm install`\n3. Change vite.confg.js to `mode:'development'` / `minify:false` / `sourcemap:true`\n4. Start development server using `yarn dev` or `npm run dev`\n\n## License\n\nCopyright (c) 2022 Jonathan Schneider\n[MIT License](./LICENSE)\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/github-form-schema-html/latest.svg\n[npm-version-href]: https://npmjs.com/package/github-form-schema-html\n[npm-downloads-src]: https://img.shields.io/npm/dt/github-form-schema-html.svg\n[npm-downloads-href]: https://npmjs.com/package/github-form-schema-html\n[license-src]: https://img.shields.io/npm/l/github-form-schema-html.svg\n[license-href]: https://npmjs.com/package/github-form-schema-html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanschndr%2Fgithub-form-schema-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanschndr%2Fgithub-form-schema-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanschndr%2Fgithub-form-schema-html/lists"}