This repo contains code for the everylot.det.city Bluesky account, which posts a randomly-selected parcel in the city of Detroit, Michigan, along with two photos of the parcel that show change over time.
-
Set environment variables for the following:
BLUESKY_USERNAME: Your Bluesky usernameBLUESKY_PASSWORD: Your Bluesky passwordMAPILLARY_ACCESS_TOKEN: Your Mapillary access token
-
Adjust parameters in
everylot.py:
- FEATURE_SERVICE_URL: The URL of the feature service containing the parcels.
-
Run the script:
python everylot.py. -
You can also deploy this with GitHub Actions: see
.github/workflows/everylot.ymlfor an example that posts every 30 minutes. Note that Actions will stop running after 60 days of inactivity.
This project is licensed under the MIT License. See the LICENSE.md file for details