AD
Boost Your Brand on BlueSky—Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /java
  3. /bsky-bridge
smileostrich

bsky-bridge

A java SDK for Bluesky and AT Protocol by smileostrich

This is implement of ATProtocol for BlueSky. Providing helper methods for authentication, fetching timelines, and managing content.

GitHub Stats

9stars
1forks
1contributors
0open issues

Dates

Created:April 28, 2023
Last updated:April 9, 2024

README

The following content is from bsky-bridge's GitHub repository. All rights reserved by the original author.

Description

This is implement of ATProtocol for BlueSky. Providing helper methods for authentication, fetching timelines, and managing content.

Requirements

  • Docker
  • Docker Compose

Usage

docker-compose up -d

Rest API Endpoints

POST

  • Endpoint: /login

    • Request Body: JSON object
      • identifier: A unique identifier for the user (not null)
      • password: The user's password (not null)
  • Endpoint: /refresh

    • Request Headers:
      • Authorization: Bearer {token} (caution! this token is refresh token)
      • Did: {did}
      • Handle: {handle}
  • Endpoint: /post

    • Request Headers:
      • Authorization: Bearer {token}
      • Did: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • text: String
  • Endpoint: /repost

    • Request Headers:
      • Authorization: Bearer {token}
      • Did: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • cid: String
      • uri: String
  • Endpoint: /like

    • Request Headers:
      • Authorization: Bearer {token}
      • Did: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • cid: String
      • uri: String
  • Endpoint: /follow

    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • did: String
  • Endpoint: /block

    • Request Headers:
      • Authorization: Bearer {token}
      • Did: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • cid: String
      • uri: String

DELETE

  • Endpoint: /organize/posts

    • Path Variables: post
    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • from: LocalDateTime
  • Endpoint: /post

    • Path Variables: post
    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Request Body: JSON object
      • rkey: String

GET

  • Endpoint: /author-feed

    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Query Parameters:
      • did: Optional String (default: current user's DID)
      • limit: Optional Integer
      • cursor: Optional String
  • Endpoint: /timeline

    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Query Parameters:
      • algorithm: Optional String
      • limit: Optional Integer
      • cursor: Optional String
  • Endpoint: /did/{did}/post/{post}/likes

    • Path Variables: did, postId
    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Query Parameters:
      • limit: Optional Integer
      • cursor: Optional String
  • Endpoint: /followers

    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Query Parameters:
      • did: Optional String (default: current user's DID)
      • limit: Optional Integer
      • cursor: Optional String
  • Endpoint: /follows

    • Request Headers:
      • Authorization: Bearer {token}
      • DID: {did}
      • Handle: {handle}
    • Query Parameters:
      • did: Optional String (default: current user's DID)
      • limit: Optional Integer
      • cursor: Optional String

WIP

Support Twitter and BlueSky API

Topics

atprotocolblueskybluesky-appbluesky-clientxrpc

Related SDKs

uakihir0bsky4j

Bluesky/ATProtocol client for java

35•java

Resources

GitHub Repository

License

MIT

Author

smileostrich
smileostrich

Activity

Last commit: April 9, 2024
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

📧 Contact us via email🦋 Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news 🦋

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirsto

This website may contain affiliate links

© 2025 BskyInfo. All rights reserved.