Skip to content

TWAH/bsky-whatsmid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ DEPRECATED ⚠️

This is a naive implementation and What's Mid has since been updated to use the firehose instead of timeline API. The new version isn't public - create an issue or tag me on bsky (tomh.social) if you would like the new version to be open sourced.



@whatsmid.bsky.social bot

WARNING ⚠️

I wouldn't trust this code as far as I can throw it. Code might be trash, it might be bullet proof, use it at your own risk etc.


System requirements

  • Node
  • ts-node installed globally: npm install -g ts-node (I'd actually advise compiling to js and running with pm2 but this works for testing)

Setup

  • Create a .env file in the root of the project. Provide the following:
BSKY_IDENTIFIER="YOUR BSKY BOT EMAIL"
BSKY_PASSWORD="YOUR BSKY BOT PASSWORD - USE AN APP PASSWORD"
  • Optional: Change consts in src/index.ts to your liking
  • Optional: Change the language preference in postIsEnglish. The check is done with the languagedetect package. See docs for your options.
  • Run npm install

To run

ts-node src/index.ts

To do

  • Unfollow people who unfollow us
  • Minimise api requests.
  • The rest of the owl 🦉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published