{"id":26833215,"url":"https://github.com/madcato/xcodechatgptextension","last_synced_at":"2026-04-28T20:05:04.570Z","repository":{"id":197827450,"uuid":"699434321","full_name":"madcato/XcodeChatGPTExtension","owner":"madcato","description":"Xcode extension that offers some functionality to the developer.","archived":false,"fork":false,"pushed_at":"2023-10-14T09:51:54.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-15T20:09:37.370Z","etag":null,"topics":["chatgpt","extension","openai","openai-api","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/madcato.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}},"created_at":"2023-10-02T16:16:47.000Z","updated_at":"2023-10-04T07:02:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"57706f44-e35c-4fa3-aad9-d975fd1f282a","html_url":"https://github.com/madcato/XcodeChatGPTExtension","commit_stats":null,"previous_names":["madcato/xcodechatgptextension"],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcato%2FXcodeChatGPTExtension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcato%2FXcodeChatGPTExtension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcato%2FXcodeChatGPTExtension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcato%2FXcodeChatGPTExtension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madcato","download_url":"https://codeload.github.com/madcato/XcodeChatGPTExtension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246337593,"owners_count":20761244,"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":["chatgpt","extension","openai","openai-api","xcode"],"created_at":"2025-03-30T15:28:22.511Z","updated_at":"2026-04-28T20:04:59.529Z","avatar_url":"https://github.com/madcato.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XcodeChatGPT\n\nThis project creates an Xcode extension that offers some functionality to the developer.\n\nThis code is based -and sometimes shamelessly copied–, from this [presentation at NSSPain23 -\u003e 5 - Transforming Software Development Workflow: Leveraging AI and ChatGPT - Daniel Muñoz](https://vimeo.com/865564098), made by Daniel Muñoz @danmunoz@mastodon.social @makias .\n\n## IMPORTANT: Configure OpenAI API key\n\nTo allow this project to work, you must configure two variables inside the `Configuration.swift` file:\n\n```swift\n/// This file is in the .gitignore to not to publish your api key.\nstruct Configuration {\n    static let apiKey: String = \"\u003cset your OpenAI API key here\u003e\"\n    static let gptModel: String = OpenApi.model.gpt4.rawValue\n}\n\n/// Defined in `OpenAIAPI.swift`\nenum OpenAIAPI {\n    enum model: String {\n        case gpt4 = \"gpt4\"\n        case gpt3_5_turbo = \"gpt-3.5-turbo\"\n    }\n}\n```\n\n## Install\n\n1. git clone this project onto your macOS.\n2. Build this project with Xcode. Change team and bundleId if needed.\n3. Allow this extension to be loaded into Xcode in **System Settings** -\u003e **Extensions** -\u003e **Xcode Source Editor**.\n4. Build and archive\n5. Open organizer, then right click to select “show in finder”.\n6. Show content of the archived file.\n7. Drag Production/Application/XcodeChatGPT to your system Application folder\n\nAfter installing and executing this extension will show new opctions into Xcode menu **Editor** -\u003e **XcodeChatGPT** -\u003e\n\n## Functionality\n\nThe folling commands are added to Xcode menu:\n\n- Convert JSON to Codable struct\n- Convert Codable struct to JSON\n- Custom autocomplete\n- Generate unit tests\n- Generate documentation\n- Custom command\n- Code analysis to suggest improvements\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadcato%2Fxcodechatgptextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadcato%2Fxcodechatgptextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadcato%2Fxcodechatgptextension/lists"}