Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Bluesky API client for nimble apps and tools ☁️

License

NotificationsYou must be signed in to change notification settings

tsky-dev/tsky

Repository files navigation

tsky

A lightweight, fast, universal and typed Bluesky API wrapper for Apps & Bots.

⚠️ tsky is still in development and is not ready for production use

tsky is still in active development and is not ready for production use. If you want to contribute to the project, please read theCONTRIBUTING.md file or join ourDiscord Server.

tsky is a lightweight, fast, universal and typed Bluesky API wrapper for Apps & Bots. It's designed to be easy to use, lightweight and straightforward to use. It's built with TypeScript and has full type support.

It was primarily built for theNimbus Client but can be used in any other project that requires Bluesky API integration.

Installation

# NPMnpm install tsky# Yarnyarn add tsky# PNPMpnpm add tsky# Bunbun add tsky

Usage

Using a Public Agent

import{createAgent}from'@tsky/client';constagent=awaitcreateAgent({options:{service:'https://public.api.bsky.app',},});// Getting a user from their handle// First, we need to get the user's DIDconstdid=awaitagent.resolveDIDFromHandle(handle);// Then, we can get the user's profileconstprofile=awaitagent.actor(did);

Using an Authenticated Agent

import{createAgent}from'@tsky/client';constagent=awaitcreateAgent({credentials:{identifier:"handle",password:"password"}});// Getting the profile of the authenticated userconstuser_profile=awaitagent.user.profile();

Links

Contributing

If you want to contribute to this project, please read theCONTRIBUTING.md file.

License

This project is licensed under the MIT License - see theLICENSE file for details.

About

Bluesky API client for nimble apps and tools ☁️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project


    [8]ページ先頭

    ©2009-2025 Movatter.jp