Skip to content

matt-dray/londonmapbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

londonmapbot

Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows. rostrum.blog post

What

Source for the Mastodon bot @londonmapbot@botsin.space built by Matt Dray. The repo contains a GitHub Action that executes R code on schedule to:

  1. Choose a random spot in a bounding box that encloses Greater London.
  2. Query the Mapbox API for a satellite image of that location.
  3. Generate an OpenStreetMap URL for that location.
  4. Post the image and URL to Mastodon using {rtoot}.

The bot was built originally for Twitter as @londonmapbot using the {rtweet} package. Posts to Twitter stopped in May 2023 due to changes in the API terms of service. You can see an older version of the repo from before the Twitter-related code was removed.

How

For detail on the original Twitter bot see:

About

📍🤖 Mastodon (ex-Twitter) bot: random London coordinates fed to the Mapbox API and posted with {rtoot} via a GitHub Action

Topics

Resources

License

Stars

Watchers

Forks

Languages