This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a Hugo-based static site for listing mutual aid needs in Massachusetts and New England. The site connects people with individuals who need mutual aid, particularly those impacted by federal government shutdowns and ICE raids in communities. It is modeled after Operation Milkweed.
- Mutual aid requests are stored as JSON files in the
data/directory (referred to as_datain README) - Each mutual aid request can be an individual JSON file, or all requests can be in a single
mutual-aid-list.jsonfile - Hugo processes these JSON files to generate the static site pages
- Site will be deployed to GitHub Pages using the
gh-pagesbranch
Each mutual aid entry must be a JSON object with:
name(required): Short, descriptive namedescription(required): Short description of the needlink(required): Direct link to the mutual aid request (GoFundMe, etc)location: Must be in format "[City], [State Code]"tags: Array of tags (categories, subcategories, or other relevant info)created_at: Date/time the request was created (defaults to current if omitted)updated_at: Date/time last updated (defaults to current if omitted)
# Start Hugo development server with live reload
hugo server
# Build the site for production
hugo
# Build with drafts included
hugo -DThe project requires GitHub Actions to validate pull requests:
- Validate JSON files are properly formatted
- Verify files are in the
data/directory - A pull request template needs to be created to guide contributions
The site needs to implement:
- Display list of mutual aid requests from the
data/directory - Sorting capabilities: by name, location, date (newest/oldest)
- Filtering: by tag and location
- Clean, minimal design aesthetic
Users contribute mutual aid links by:
- Creating a new JSON file in
data/directory with the required schema - Submitting a pull request
- GitHub Actions validate the PR automatically
- Upon merge, site rebuilds and deploys to GitHub Pages