Skip to content

A basic setup for interacting with Bluesky via ATProtocol written in TypeScript and Deno.

License

Notifications You must be signed in to change notification settings

rdmurphy/atproto-starter-kit-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATProto Starter Kit for Deno

This is a basic setup for interacting with Bluesky via the ATProtocol. It is written in TypeScript and uses the Deno runtime.

Deno speaks TypeScript natively (and comes with a fetch() implementation) so there's no need to compile your code before running it! Thanks to Deno's support for npm packages it uses the same API wrapper that is used in Node.js and has full types support.

Getting started

This is a GitHub template repository - click the "Use this template" button above to create a new repository based on this one.

You'll need your Bluesky handle (*.bsky.social or your custom domain if you've added one) and password. Alternatively you can use an app password. I recommend this option! Just so you aren't copy pasting your password in random places.

Make a copy of the .env.example file and rename it to .env, then fill in your handle and password.

The main.ts file contains a basic example of how to setup and use the API client. You can run the script (with the minimal permissions set) by running deno task run in your terminal.

Prior art

License

MIT

About

A basic setup for interacting with Bluesky via ATProtocol written in TypeScript and Deno.

Topics

Resources

License

Stars

Watchers

Forks