https://github.com/conoro/mastopin
MastoPin is a Serverless function to check your Mastodon public updates and save them to Pinboard
https://github.com/conoro/mastopin
Last synced: about 1 year ago
JSON representation
MastoPin is a Serverless function to check your Mastodon public updates and save them to Pinboard
- Host: GitHub
- URL: https://github.com/conoro/mastopin
- Owner: conoro
- License: apache-2.0
- Created: 2017-12-03T19:29:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T14:22:58.000Z (over 2 years ago)
- Last Synced: 2025-02-06T09:48:27.138Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MastoPin
MastoPin is a Serverless AWS Lambda function that runs every 15 minutes, checks your
Mastodon public updates and saves them to Pinboard
## Setup
(Assuming you have your AWS access credentials already setup)
1. Get your Pinboard API Token [here](https://pinboard.in/settings/password)
2. Then:
```bash
git clone git@github.com:conoro/mastopin.git
cd mastopin
```
3. Rename mastopin-sample.env.yml to mastopin.env.yml
4. Edit mastopin.env.yml and save the value from step 1 and enter your Mastodon
profile URL
5. Then:
```
npm install -g serverless
npm install
serverless plugin install -n serverless-dynamodb-local
serverless plugin install -n serverless-offline
serverless deploy
```
Notes:
1. You can check Cron logs with
```bash
serverless logs -f cron
```
2. If you make minor changes to just the function code, you can do a quick
re-deploy with:
```bash
serverless deploy function -f check
```
LICENSE Apache-2.0
Copyright Conor O'Neill 2017, conor@conoroneill.com