{"id":38915779,"url":"https://github.com/raideno/auto-form","last_synced_at":"2026-01-17T15:26:15.474Z","repository":{"id":310916100,"uuid":"1041681626","full_name":"raideno/auto-form","owner":"raideno","description":"Form component that can be automatically generated from a zod schema.","archived":false,"fork":false,"pushed_at":"2025-11-20T18:28:33.000Z","size":2423,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T11:02:54.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://raideno.github.io/auto-form/","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/raideno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-20T21:19:03.000Z","updated_at":"2025-11-20T18:28:33.000Z","dependencies_parsed_at":"2025-08-21T02:35:18.667Z","dependency_job_id":"bbd1b536-ab1b-472e-b51c-7cd8653a4f3f","html_url":"https://github.com/raideno/auto-form","commit_stats":null,"previous_names":["raideno/auto-form"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/raideno/auto-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fauto-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fauto-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fauto-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fauto-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raideno","download_url":"https://codeload.github.com/raideno/auto-form/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raideno%2Fauto-form/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-17T15:26:14.770Z","updated_at":"2026-01-17T15:26:15.464Z","avatar_url":"https://github.com/raideno.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Form\n\nA React component library that automatically generates forms from Zod schemas with built-in validation and customizable field types.\n\n![preview](./assets/preview.png)\n\n## Requirements\n\n- Zod v4\n- React 18+\n\n## Features\n\n- Automatic form generation from Zod schemas\n- Built-in validation using React Hook Form\n- Support for various field types: strings, numbers, files, arrays, objects\n- Real-time schema editing and form preview\n- TypeScript support\n\n## Installation\n\n```bash\nnpm install @raideno/auto-form\n```\n\n## Usage\n\n### Basic Example\n\n```tsx\nimport { z } from \"zod/v4\";\n\nimport { AutoForm } from \"@raideno/auto-form/ui\";\nimport { MetadataRegistry } from \"@raideno/auto-form/registry\";\n\nconst Schema = z.object({\n  name: z.string().min(2).max(50),\n  email: z.string().email(),\n  age: z.number().min(18).max(120),\n  description: z.string().register(MetadataRegistry, { \n    type: \"textarea\", \n    resize: true \n  }),\n});\n\nfunction MyForm() {\n  return (\n    \u003cAutoForm.Root\n        schema={Schema}\n        onSubmit={(data) =\u003e { console.log(\"[submit]\", data) }}\n    \u003e\n      \u003cAutoForm.Content /\u003e\n      \u003cAutoForm.Actions\u003e\n        \u003cAutoForm.Action type=\"reset\"\u003eCancel\u003c/AutoForm.Action\u003e\n        \u003cAutoForm.Action type=\"submit\"\u003eSubmit\u003c/AutoForm.Action\u003e\n      \u003c/AutoForm.Actions\u003e\n    \u003c/AutoForm.Root\u003e\n  );\n}\n```\n\n### Supported Field Types\n\n- **String**: Text inputs with validation\n- **Number**: Numeric inputs with min/max constraints\n- **Boolean**: Checkbox inputs\n- **File**: File upload with mime type and size validation\n- **Array**: Dynamic list inputs for strings and files\n- **URL**: URL validation\n\n## Development\n\n```bash\nnpm install\nnpm run dev\nnpm run build\nnpm run preview\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraideno%2Fauto-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraideno%2Fauto-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraideno%2Fauto-form/lists"}