Tsky
Bluesky API client for nimble apps and tools ☁️
Install / Use
/learn @tsky-dev/TskyREADME
⚠️ 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 the CONTRIBUTING.md file or join our Discord 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 the Nimbus Client but can be used in any other project that requires Bluesky API integration.
Installation
# NPM
npm install tsky
# Yarn
yarn add tsky
# PNPM
pnpm add tsky
# Bun
bun add tsky
Usage
Using a Public Agent
import { createAgent } from '@tsky/client';
const agent = await createAgent({
options: {
service: 'https://public.api.bsky.app',
},
});
// Getting a user from their handle
// First, we need to get the user's DID
const did = await agent.resolveDIDFromHandle(handle);
// Then, we can get the user's profile
const profile = await agent.actor(did);
Using an Authenticated Agent
import { createAgent } from '@tsky/client';
const agent = await createAgent({
credentials: {
identifier: "handle",
password: "password"
}
});
// Getting the profile of the authenticated user
const user_profile = await agent.user.profile();
Links
Contributing
If you want to contribute to this project, please read the CONTRIBUTING.md file.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Skills
gh-issues
339.1kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
339.1kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
tmux
339.1kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
