{"id":20441986,"url":"https://github.com/johnbean393/extractkit-macos","last_synced_at":"2025-04-12T23:33:07.256Z","repository":{"id":259348339,"uuid":"867411688","full_name":"johnbean393/ExtractKit-macOS","owner":"johnbean393","description":"A Swift Package for extracting text from files and websites on macOS.","archived":false,"fork":false,"pushed_at":"2025-04-05T15:34:42.000Z","size":265,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T16:26:43.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/johnbean393.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-04T02:42:17.000Z","updated_at":"2025-04-05T15:34:45.000Z","dependencies_parsed_at":"2024-10-24T18:07:26.725Z","dependency_job_id":"7eb23137-3063-4446-a248-e0a47371f0d6","html_url":"https://github.com/johnbean393/ExtractKit-macOS","commit_stats":null,"previous_names":["johnbean393/extractkit-macos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbean393%2FExtractKit-macOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbean393%2FExtractKit-macOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbean393%2FExtractKit-macOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbean393%2FExtractKit-macOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnbean393","download_url":"https://codeload.github.com/johnbean393/ExtractKit-macOS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647258,"owners_count":21139081,"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":[],"created_at":"2024-11-15T09:36:29.180Z","updated_at":"2025-04-12T23:33:07.235Z","avatar_url":"https://github.com/johnbean393.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eExtractKit-macOS\u003c/h1\u003e\n\nA Swift Package for extracting text from files and websites on macOS.\n\n## Usage\n\n- Extracting text\n\n```\nlet url: URL = URL(string: \"https://github.com/johnbean393\")!\nlet extractedText: String = try await ExtractKit.shared.extractText(\n\turl: url\n)\nprint(\"extractedText: \\(extractedText)\")\n```\n\n- Supporting a custom file format\n\n```\n// Define class\nclass AudioExtractor: FileExtractor {\n\t\n\trequired init(url: URL) {\n\t\tself.url = url\n\t}\n\t\n\tvar url: URL\n\t\n\tstatic let fileExtensions: [String] = [\n\t\t\"mp3\", \n\t\t\"wav\"\n\t]\n\t\n\tpublic func extractText() async throws -\u003e String {\n\t\t// Code to extract text here\n\t}\n\t\n}\n\n// Make ExtractKit aware of the new file extractor\nExtractKit.shared.addFileExtractor(AudioExtractor)\n```\n\n## Installation\n\n**Requirements**\n- Xcode ≥ 15\n\n**Swift Package Manager**\n```\ndependencies: [\n\t.package(url: \"https://github.com/johnbean393/ExtractKit-macOS\", branch: \"main\")\n]\n```\n\n## Contributing\n\nContributions are very welcome. Let's make ExtractKit-macOS simple and powerful.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbean393%2Fextractkit-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnbean393%2Fextractkit-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbean393%2Fextractkit-macos/lists"}