Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/contentful/mastodon-webhook
Create a webhook to cross-post your Contentful entry to Mastodon
https://github.com/contentful/mastodon-webhook
fediverse mastodon mastodon-bot
Last synced: about 2 months ago
JSON representation
Create a webhook to cross-post your Contentful entry to Mastodon
- Host: GitHub
- URL: https://github.com/contentful/mastodon-webhook
- Owner: contentful
- Archived: true
- Created: 2022-11-02T16:42:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T07:57:38.000Z (10 months ago)
- Last Synced: 2024-04-13T14:04:50.984Z (7 months ago)
- Topics: fediverse, mastodon, mastodon-bot
- Language: JavaScript
- Homepage: https://www.contentful.com/blog/create-bot-rss-webhooks-mastodon-twitter-alternative/
- Size: 16.6 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Contentful webhook for Mastodon
This uses the Contentful API to create a webhook to cross-post your published entries to Mastodon. See the [blog post](https://www.contentful.com/blog/create-bot-rss-webhooks-mastodon-twitter-alternative/) for more details.
Everything that the code does can be done using the UI.
## Installation
1. Install dependencies: `npm install`
2. Rename `.env.example` and add the environment variables required. See the [blog post](https://www.contentful.com/blog/create-bot-rss-webhooks-mastodon-twitter-alternative/) for more information.## Run it
`node index.js`
You only it need to run it **once**, this is just to help you automated the repeated parts of the webhook creation and make it easier to reproduce in another space.