{"id":28345029,"url":"https://github.com/1998code/swift2html","last_synced_at":"2026-03-17T17:42:11.032Z","repository":{"id":65237383,"uuid":"579369594","full_name":"1998code/Swift2HTML","owner":"1998code","description":"Convert Swift Code to HTML with GPT Codex (OpenAI)","archived":false,"fork":false,"pushed_at":"2023-01-14T12:37:09.000Z","size":89,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T15:54:04.373Z","etag":null,"topics":["codex","gpt","html","openai","swift","swiftui"],"latest_commit_sha":null,"homepage":"https://swift2html.1998.media","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/1998code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"1998code"}},"created_at":"2022-12-17T13:18:19.000Z","updated_at":"2023-12-02T18:31:36.000Z","dependencies_parsed_at":"2023-01-15T19:15:41.597Z","dependency_job_id":null,"html_url":"https://github.com/1998code/Swift2HTML","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/1998code/Swift2HTML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2FSwift2HTML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2FSwift2HTML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2FSwift2HTML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2FSwift2HTML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1998code","download_url":"https://codeload.github.com/1998code/Swift2HTML/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1998code%2FSwift2HTML/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30628399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"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":["codex","gpt","html","openai","swift","swiftui"],"created_at":"2025-05-27T11:09:06.021Z","updated_at":"2026-03-17T17:42:11.027Z","avatar_url":"https://github.com/1998code.png","language":"TypeScript","funding_links":["https://github.com/sponsors/1998code"],"categories":[],"sub_categories":[],"readme":"# Swift2HTML - Convert Swift code to HTML \n### Powered by OpenAI GPT Codex\n\n\u003cimg width=\"1778\" alt=\"Xnapper-2022-12-17-18 38 56\" src=\"https://user-images.githubusercontent.com/54872601/208244019-91b7d5e3-927d-405e-979c-a5ad1266b745.png\"\u003e\n\n## Supported Frameworks\n![image](https://user-images.githubusercontent.com/54872601/208244837-4fa0e73e-d2ed-4194-a586-564c67d21a7e.png)\n\u003cimg height=\"200px\" src=\"https://user-images.githubusercontent.com/54872601/208245351-78106a3a-0be2-4ff2-bbcc-861659849f42.png\" /\u003e\n\n## Features\n- [x] Swift Input\n- [x] HTML Output\n- [x] HTML Preview\n- [x] Light / Dark Mode\n- [x] AutoPilot (Refresh per input) / Manual Update (Default)\n- [x] FontAwesome Icon Replacement\n- [x] OpenAI GPT Codex Integration\n- [ ] Select CSS Framework (Reserved)\n\n## Getting Started\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/openai](http://localhost:3000/api/openai). This endpoint can be edited in `pages/api/openai.ts`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\n## Dark Mode\n\u003cimg width=\"318\" alt=\"CleanShot 2022-12-17 at 21 26 41@2x\" src=\"https://user-images.githubusercontent.com/54872601/208244247-b683e23d-79e1-4705-a597-e44828d1dce6.png\"\u003e\n\n### Comment Available\n\u003cimg width=\"668\" alt=\"CleanShot 2022-12-17 at 21 27 40@2x\" src=\"https://user-images.githubusercontent.com/54872601/208244250-95905c27-8f2b-4893-9c50-d6da632f0265.png\"\u003e\n\n## Limitation\n- Accuracy and generation may be various in every trial.\n- Incorrect conversion to Pixel, e.g., width: 300 =\u003e w-300, where suppose only w-[300px] can work fine. Of course, the scaling is incorrect too.\n- Limited tokens.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1998code%2Fswift2html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1998code%2Fswift2html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1998code%2Fswift2html/lists"}