{"id":24453692,"url":"https://github.com/dmk/react-tf","last_synced_at":"2026-02-07T20:30:54.524Z","repository":{"id":272950420,"uuid":"918273666","full_name":"dmk/react-tf","owner":"dmk","description":"React renderer to render terraform files ","archived":false,"fork":false,"pushed_at":"2025-01-19T22:57:40.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-24T14:33:56.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-17T15:43:27.000Z","updated_at":"2025-04-14T16:39:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e0b3852-fe64-403b-b06e-4b7bdfbd414a","html_url":"https://github.com/dmk/react-tf","commit_stats":null,"previous_names":["dmk/react-tf"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dmk/react-tf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Freact-tf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Freact-tf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Freact-tf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Freact-tf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmk","download_url":"https://codeload.github.com/dmk/react-tf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmk%2Freact-tf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29208161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T20:13:33.422Z","status":"ssl_error","status_checked_at":"2026-02-07T20:13:31.455Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2025-01-21T02:01:06.998Z","updated_at":"2026-02-07T20:30:54.516Z","avatar_url":"https://github.com/dmk.png","language":"TypeScript","funding_links":[],"categories":["File"],"sub_categories":[],"readme":"# React Terraform Renderer\n\nWrite your Terraform configurations using React components, leveraging React's composition patterns and TypeScript's type safety.\n\n## Installation\n\n```bash\nnpm install -g @dkkoval/react-tf\n```\n\n## CLI Usage\n\nThe `react-tf` CLI tool can process individual files or directories:\n\n```bash\n# Process current directory\nreact-tf\n\n# Process specific directory\nreact-tf ./terraform\n\n# Process specific file\nreact-tf ./terraform/main.tsx\n\n# Process multiple files\nreact-tf ./terraform/main.tsx ./terraform/network.tsx\n\n# Mix files and directories\nreact-tf ./terraform/main.tsx ./other-terraform\n```\n\n## Library Usage\n\nHere's a basic example:\n\n```tsx\nimport { Terraform, Provider, Resource } from '@dkkoval/react-tf';\n\nconst Infrastructure = () =\u003e (\n  \u003cTerraform\u003e\n    \u003cProvider \n      name=\"aws\" \n      configuration={{\n        region: \"us-west-2\"\n      }}\n    /\u003e\n    \u003cResource\n      type=\"aws_instance\"\n      name=\"example\"\n      attributes={{\n        ami: \"ami-0c55b159cbfafe1f0\",\n        instance_type: \"t2.micro\"\n      }}\n    /\u003e\n  \u003c/Terraform\u003e\n);\n\nexport default Infrastructure;\n```\n\n## Examples\n\nThe [examples](examples) directory contains several examples showcasing different features:\n\n- [Basic Usage](examples/basic.tsx) - Simple provider and resource setup\n- [Advanced Configuration](examples/advanced.tsx) - Variables, multiple instances, and outputs\n- [React Patterns](examples/patterns.tsx) - Reusable components and composition patterns\n\n## Development\n\n```bash\n# Install dependencies\nbun install\n\n# Run tests\nbun test\n\n# Build package\nbun run build\n```\n\n## License\n\nApache License 2.0 - see [LICENSE](LICENSE) for details.\n\n## Author\n\nDmytro Koval: [GitHub](https://github.com/dmk), [LinkedIn](https://www.linkedin.com/in/dmk/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmk%2Freact-tf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmk%2Freact-tf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmk%2Freact-tf/lists"}