A bot that posts random MDN articles
A bot that posts random MDN articles
The project uses GitHub Actions to run a Node.js script every six hours.
The script reads out the MDN sitemap, parses it and posts the found article to Bluesky.
# clone the repo and get the source code
git clone [email protected]:random-mdn/random-mdn-bot.git
# install dependencies
npm install
# setup env
cp .env.example .env
To execute the script locally run npm run dev
in the project’s directory.
It should look as follows:
npm run dev
Run the function without posting the article.
npm run dev -- --dry-run
If you would like to help ❤️ that would be awesome! You can find ideas and the current planning in the planning issue.
This project follows and enforece a Code of Conduct to make everybody feel welcomed and safe.