Skip to content

Commit

Permalink
feat(activitypub): support masto
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and qertis committed Jul 29, 2023
1 parent 7fa0064 commit e3c8038
Show file tree
Hide file tree
Showing 5 changed files with 555 additions and 11,452 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
save-exact = true
save-prefix = ''
package-lock = true
git-tag-version=false
16 changes: 16 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ Install
npm i
```

## Simple server

```js
const prostoDiaryBot = require('prosto-diary');

prostoDiaryBot({
telegram: {
token: process.env.TELEGRAM_TOKEN,
},
fediverse: {
url: process.env.FEDIVERSE_URL,
token: process.env.FEDIVERSE_TOKEN,
},
});
```

## Tests

### Unit
Expand Down
Loading

0 comments on commit e3c8038

Please sign in to comment.