{"id":50869701,"url":"https://github.com/jsbakker/reswifter","last_synced_at":"2026-06-15T04:01:27.404Z","repository":{"id":348205524,"uuid":"1196880340","full_name":"jsbakker/ReSwifter","owner":"jsbakker","description":"ReSwifter is a both a Snippet Manager app and an XCode Editor Extension available in the macOS App Store. It is lightweight, but feature-rich. In addition to typical features found in a Snippet Manager, ReSwifter also offers several local-AI-assisted tasks on your code snippets.","archived":false,"fork":false,"pushed_at":"2026-06-13T06:49:36.000Z","size":879,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T07:17:46.728Z","etag":null,"topics":["foundation-models","macos","snippets","snippets-manager","swift","swiftui","xcode-extension"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/jsbakker.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-31T06:05:36.000Z","updated_at":"2026-06-13T06:49:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jsbakker/ReSwifter","commit_stats":null,"previous_names":["jsbakker/reswifter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jsbakker/ReSwifter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbakker%2FReSwifter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbakker%2FReSwifter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbakker%2FReSwifter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbakker%2FReSwifter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsbakker","download_url":"https://codeload.github.com/jsbakker/ReSwifter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbakker%2FReSwifter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34346870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["foundation-models","macos","snippets","snippets-manager","swift","swiftui","xcode-extension"],"created_at":"2026-06-15T04:01:26.394Z","updated_at":"2026-06-15T04:01:27.393Z","avatar_url":"https://github.com/jsbakker.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Swift5](https://img.shields.io/badge/swift-6-blue.svg)\n![macOS](https://img.shields.io/badge/os-macOS-green.svg)\n![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)\n\n# ReSwifter\n\nReSwifter is a both a Snippet Manager app and an XCode Editor Extension. It is lightweight, but feature-rich. In addition to typical features found in a Snippet Manager, ReSwifter also offers several local-AI-assisted tasks on your code snippets.\n\n**Note:** This project has no build automation workflows because the GitHub Actions macOS Runner machines' installed SDKs are too old to compile against the FoundationModels framework. See issue: https://github.com/jsbakker/ReSwifter/issues/7\n\n## Features and Behaviour\n- New snippets from clipboard are briefly summarized and named automatically\n- One-click copy to clipboard, or use keyboard shortcuts\n- Live code editing of snippets with syntax highlighting\n- Syntax highlighting supports 58 programming languages, which can be overridden\n- Adaptive syntax highlighting for Dark and Light modes set by the system\n- Folder management, favourites, and search filter assist in finding your snippets\n- Folders named after programming languages automatically applies the language's highlighting to new snippets in that folder\n- AI-assisted tasks: Explain, Document, Review, Cleanup, Refactor, Convert to Swift*\n- AI features use Apple's built-in FoundationModels, which works completely offline (privacy)\n- Rich, structured text responses from AI-assisted features (not editable)\n- Copy to clipboard button will copy only code blocks from AI responses; use manual selection to copy non-code\n\n\\**Note: Accuracy, consistency or reliability of AI-assisted tasks are to be considered with discretion. The language, length, complexity and nature of a snippet, and the AI task can all be combined factors in the quality of the result. Always double-check AI output before accepting it.*\n\n![Snippet Actions](https://github.com/user-attachments/assets/1ee32875-99a1-4b5d-ab62-b1c643b7344b)\n![Snippet Explained](https://github.com/user-attachments/assets/fb829944-91fd-419e-98fa-c816afb318c1)\n\n### XCode Extension\n- Selected text in XCode can be sent directly to ReSwifter via the Editor menu, and any snippet can be sent back to replace it\n- Invoking ReSwifter from XCode with no selection will send the entire contents of the currently opened file, which can be replaced by an augmented version\n\n![From Xcode](https://github.com/user-attachments/assets/3390d6d5-71a3-431f-88d2-86a5e6529ae6)\n\n## Requirements\nApple M1 or later hardware runing macOS Tahoe 26 or later is required. For the AI-assisted capabilities to work, you will need Apple Intelligence enabled (and downloaded) in your System Settings. You may have to restart ReSwifter after the model is downloaded.\n![Apple Intelligence](Docs/Images/Apple-Intelligence.png)\n\n## Download and Install\nThe easiest way would be to visit [the ReSwifter page in the macOS App Store](https://apps.apple.com/us/app/reswifter-for-xcode/id6760387439).\n\n## Help and How To\n[Visit the ReSwifter Help in the wiki, here](https://github.com/jsbakker/ReSwifter/wiki/ReSwifter-Help).\n\n## Author\nReSwifter (C) 2026 Jeffrey Bakker\n\n### Credits\n- Live snippet editing with syntax highlighting uses [HighlightedEditorView](https://github.com/jsbakker/HighlightedEditorView), by Jeffrey Bakker.\n- Markdown and code blocks for AI Responses are rendered with [Textual](https://github.com/gonzalezreal/textual), by [Guille Gonzalez](https://github.com/gonzalezreal).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsbakker%2Freswifter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsbakker%2Freswifter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsbakker%2Freswifter/lists"}