Skip to content

0xZhangKe/ActivityPub-Kotlin

Repository files navigation

Maven Central

ActivityPub-Kotlin

Kotlin version of the ActivityPub protocol client SDK, used to communicate with the ActivityPub server. Support Kotlin Multiplatform.

Usage

    val client = ActivityPubClient(
        baseUrl = "${baseUrl}/",
        engine = httpClientEngine,
        json = globalJson,
        tokenProvider = tokenProvider,
        onAuthorizeFailed = {

        },
    )
    client.searchRepo.query()

Add Dependency

implementation("io.github.0xzhangke:activity-pub-client:1.0.0")

About

Kotlin implementation of ActivityPub, support Kotlin Multiplatform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages