Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.
/ random-xkcd Public archive

A Mastodon bot that uses Cloudflare workers and scheduled events to send a random xkcd comic

Notifications You must be signed in to change notification settings

mellowmarshe/random-xkcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-xkcd

A Mastodon bot that uses Cloudflare workers and scheduled events to send a random xkcd comic

... code behind https://wires.gg/@cat

Installation

To start, clone this repository and after:

# Install NPM packages
$ npm install
# Move the example wrangler file
$ mv wrangler.example.toml wrangler.toml
# Add your Mastodon access token to worker
$ npm run access_token
# Add the instance URL to the worker
$ npm run instance_url
# Deploy worker
$ npm run deploy

Usage

Check your Mastodon account and it will post a random xkcd article at the given cron intervals

About

A Mastodon bot that uses Cloudflare workers and scheduled events to send a random xkcd comic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published