a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
99
fork

Configure Feed

Select the types of activity you want to include in your feed.

README.md

@atcute/lexicon-resolver-node#

Node.js lexicon authority resolver using native DNS.

npm install @atcute/lexicon-resolver-node

provides NodeDnsLexiconAuthorityResolver which resolves lexicon authorities via DNS TXT records using Node.js's native dns module, avoiding the need for HTTP-based DoH resolution.

usage#

import { NodeDnsLexiconAuthorityResolver } from '@atcute/lexicon-resolver-node';

const authorityResolver = new NodeDnsLexiconAuthorityResolver();

const authority = await authorityResolver.resolve('app.bsky.feed.post');
// -> 'did:plc:4v4y5r3lwsbtmsxhile2ljac'

custom nameservers#

const resolver = new NodeDnsLexiconAuthorityResolver({
	nameservers: ['8.8.8.8', '8.8.4.4'],
});