micro_blog_repo_fetchers/README.md

41 lines
1.2 KiB
Markdown

# Micro Blog Repo Fetchers
The Micro Blog Repo is made up of a PocketBase db and these lambda functions. Together they aggregate, backup, and make my various social media posts available to my personal site.
## Progress
- [X] [BlueSky](https://bsky.app/profile/travisshears.bsky.social)
- [ ] Old Pleroma formally social.travisshears.xyz
- [ ] Video support
- [X] Post support
- [X] Post with image support
- [X] [Pixelfed via gram.social](https://gram.social/i/web/profile/703621281309160235)
- [X] [Mastodon via dice.camp](https://dice.camp/@travisshears)
- [ ] [Nostr profile1qqs9....](https://snort.social/nprofile1qqs9udcv9uhqggjz87js9rtaph4lajlxnxsvwvm7zwdjt6etzyk52rgpypmhxue69uhkummnw3ezuetfde6kuer6wasku7nfvuh8xurpvdjj7qgkwaehxw309ajkgetw9ehx7um5wghxcctwvshszrnhwden5te0dehhxtnvdakz7z94haj)
## Deployment
To deploy all the lambda functions to AWS:
```shell
$ yarn deploy
```
After the deploy to manually trigger a fn run:
```shell
$ yarn exec serverless invoke --function bluesky
```
## Local development
```shell
$ nvm use
$ yarn exec serverless invoke local --function bluesky
```
_note: insure you are on the correct version of nodejs, 20_
There is also the new `serverless dev` command. I still need to check that out.