{"id":15105624,"url":"https://github.com/lumaa-dev/probosciskit","last_synced_at":"2026-01-25T11:31:50.880Z","repository":{"id":246989560,"uuid":"822111203","full_name":"lumaa-dev/ProboscisKit","owner":"lumaa-dev","description":"A lightweight Mastodon Swift framework, made for iOS and macOS.","archived":false,"fork":false,"pushed_at":"2024-10-18T18:13:59.000Z","size":232,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T04:54:05.753Z","etag":null,"topics":["ios","macos","mastodon","package","spm","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/lumaa-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-30T10:35:51.000Z","updated_at":"2025-01-18T12:19:08.000Z","dependencies_parsed_at":"2024-07-07T12:54:15.398Z","dependency_job_id":"0d18aa16-24eb-43ab-a599-61c7591cc51e","html_url":"https://github.com/lumaa-dev/ProboscisKit","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"5a9cff06ff071069cb1eafc2059055a07639ea8e"},"previous_names":["lumaa-dev/probosciskit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumaa-dev%2FProboscisKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumaa-dev%2FProboscisKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumaa-dev%2FProboscisKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumaa-dev%2FProboscisKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lumaa-dev","download_url":"https://codeload.github.com/lumaa-dev/ProboscisKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339158,"owners_count":20923014,"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":["ios","macos","mastodon","package","spm","swift"],"created_at":"2024-09-25T20:41:44.607Z","updated_at":"2026-01-25T11:31:50.848Z","avatar_url":"https://github.com/lumaa-dev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProboscisKit\n\nProboscisKit is a lightweight Mastodon swift package.\n\nA derivative is used in [Bubble](https://apps.lumaa.fr/app/bubble)\n\nProboscisKit is fully working, the only missing part is the documentation. Soon to be released...\n\n---\n\n# How to start\n\nTo start using ProboscisKit, you will have to import it using Xcode's Swift Package Manager, by going in **File \u003e Add Package Dependencies...**\n\n\u003cimg title=\"\" src=\"./README_data/spm-add.png\" alt=\"\" data-align=\"center\" width=\"568\"\u003e\n\nThen, you can simply paste the [GitHub link](https://github.com/lumaa-dev/ProboscisKit) into the search bar at the top right of the window, and then click on **Copy Dependency**.\n\nOnce this is done, congrats! You successfully added ProboscisKit to your project.\n\n## Recognize an instance\n\nTo know if a certain URL is a real Mastodon instance or not, you will need to do the following\n\n```swift\nfunc isInstance(_ url: URL) async -\u003e Bool {\n    let client: Client = .init(server: url)\n            \n    do {\n        let instance: Instance = try await client.get(endpoint: Instances.instance)\n        return true // If the URL wasn't a Mastodon instance, it would throw an error\n    } catch {\n        print(\"\\(instanceUrl) Error: \\(error)\") // It's always good to keep a error log here\n        return false\n    }\n}\n```\n\n---\n\n# Credits\n\n- [Lumaa](https://lumaa.fr/)\n\n- [Dimillian (Thomas Ricouard)](https://github.com/Dimillian)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumaa-dev%2Fprobosciskit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flumaa-dev%2Fprobosciskit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumaa-dev%2Fprobosciskit/lists"}