{"id":22180083,"url":"https://github.com/swift/stroke","last_synced_at":"2025-07-26T17:31:59.570Z","repository":{"id":28399875,"uuid":"31914176","full_name":"swift/stroke","owner":"swift","description":"Java XMPP library","archived":false,"fork":false,"pushed_at":"2017-04-10T09:57:54.000Z","size":1244,"stargazers_count":9,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-03-27T04:59:49.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://swift.im/stroke/","language":"Java","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/swift.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-09T18:04:44.000Z","updated_at":"2023-09-20T23:11:57.000Z","dependencies_parsed_at":"2022-09-06T05:00:19.536Z","dependency_job_id":null,"html_url":"https://github.com/swift/stroke","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift%2Fstroke","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift%2Fstroke/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift%2Fstroke/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift%2Fstroke/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swift","download_url":"https://codeload.github.com/swift/stroke/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227700426,"owners_count":17806365,"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-12-02T09:16:52.577Z","updated_at":"2024-12-02T09:16:53.522Z","avatar_url":"https://github.com/swift.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stroke\n\nStroke is a port of the C++ Swift library ( http://swift.im/swiften/ )\nThe source is available from the Git repository at http://swift.im/git/stroke/\n\nFor XML parsing, Stroke depends on the Aalto XML Parser and the STAX2 API, from http://wiki.fasterxml.com/AaltoHome\n\nIt also depends upon http://www.jcraft.com/jzlib/, which is passed to ant in the jzlib-dir parameter. The passed folder should contain a jar called jzlib.jar.\n\nIt also depends upon icu4j from http://site.icu-project.org/\n\nIt also depends upon dnsjava from http://www.dnsjava.org/\n\n\nTo build, run:\nant -Dxpp-dir=third-party/xpp -Djzlib-dir=third-party/jzlib -Dicu4j-dir=third-party/ -Dstax2-dir=third-party/stax2/ -Daalto-dir=third-party/aalto/ \nChanging the paths to the relevant paths for the dependencies on your system\n\nEasy version:\nThe included Makefile should, on Unixes with make/curl installed, grab the dependencies (once only) and build.\n\n\nFor development:\nIf you want to commit changes to Stroke, first run `make .git/hooks/commit-msg` to download a script that will generate change-ids needed by our review system.\n\n## Differences from Swiften\n\nStroke tries to be a clean and accurate port of Swiften, in order to facilitate mirroring changes. Sometimes differences are either necessary or desirable.\n\n* `VCard.getPhoto()` returns *null* instead of an empty `ByteArray` when there is no photo.\n\n* `VCard` does not allocate empty collections for unused members.\nThe way a VCard is used, pessimistic allocation puts an undue load on the Java GC.\nCallers have to check for *null* not just `isEmpty()`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswift%2Fstroke","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswift%2Fstroke","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswift%2Fstroke/lists"}