Skip to content

Cristuker/save-to-later

Repository files navigation

Save it

A bot to save your favorites posts at bluesky.

Description

This bot will send you a link of the root post in your DM for you read it later

Run locally

1. Clone repo

$ git clone https://github.com/Cristuker/save-to-later.git

2. Install dependecies

$ npm install

3. Run docker compose

$ docker-compose up -d

4. Set the env

API_URL='https://bsky.social/xrpc'
IDENTIFIER=
PASSWORD=
REDIS_URL=redis://localhost:6379

5. Run project

$ npm run dev

6. Build

$ npm run build 

Libs

  • redis
  • @atproto/api
  • nodemon
  • TypeScript
  • dotenv
  • pm2
  • node-cron

Roadmap

This is the list of next implementations or refactors.

  • - When bot crash, reinitialize quickly.
  • - Save events with error to try again later.
  • - Like post when success.
  • - Reply post when error.
  • - Add log service

Contributing

Feel free to send a PR.

About

🦋 A repository to save message on bluesky

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published