Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

A Mastodon bot to post a feed of articles from The Verge - @the_verge@mastodon.social

License

Notifications You must be signed in to change notification settings

milanmdev/verge-mastodon-bot

Repository files navigation

verge-mastodon-bot

A Mastodon bot to post a feed of articles from The Verge - @the_verge@mastodon.social

NOTE: The Verge has started their own official Mastodon, located at @verge@mastodon.social. All followers of the account linked above (@the_verge) are now following the new account, courtesy of the Mastodon team.

This project is archived as of October 24th, 2023.

Setup

Docker

NOTE: The Docker Compose file is located at docker-compose.example.yml in the root directory. If you want to run the bot using Docker Compose, refer to that file. Run the Docker container (remove the -d flag to run in the foreground)

docker run -d --env ACCESS_TOKEN=YOUR_ACCESS_TOKEN INSTANCE_URL=https://your-instance.url --name verge-mastodon-bot ghcr.io/milanmdev/verge-mastodon-bot

Manual

  1. Clone the repository
git clone github.com/milanmdev/verge-mastodon-bot
  1. Install the dependencies
yarn install
  1. Create a .env file in the root directory of the project and add the following environment variables:
ACCESS_TOKEN=token
INSTANCE_URL=https://your-instance.url
FETCH_URL=https://www.theverge.com/rss/index.xml
FETCH_INTERVAL=5
NODE_ENV=production
  1. Run the bot
yarn start

About

A Mastodon bot to post a feed of articles from The Verge - @the_verge@mastodon.social

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages