/api/v1/activities is the single busiest route in production: 216 of 1101 requests in a 14 minute log window, 19.6% of all traffic and 21.7% of non-asset traffic. It was the only high-volume route with no rate limit, since the throttle matched plantings, harvests and members only. Collapses the two alternations into one regex with an optional /api/v1 prefix, so the HTML and API routes stay in step instead of being listed twice. Verified equivalent to the old pair across both route families plus their edge cases: /plantingsfoo, /memberships, /foo/plantings and /api/v2/activities are still unmatched. Note this does not by itself stop the client currently polling that endpoint. It makes 189 requests over 21 minutes, about 9 per minute, which is under the 15 per minute limit, and Rack::Attack counters live in per-worker memory so at WEB_CONCURRENCY=2 each worker sees only half of them. This closes the hole rather than fixing today's load. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
🌱 Growstuff
Welcome to the Growstuff project.
You can find our app at https://www.growstuff.org
Growstuff is an open source/open data project for food gardeners. We crowdsource information on what our members are growing and harvesting, aggregate it, and make it available as open data via our API.
Growstuff was founded in 2012 and has been built by dozens of contributors. We are an inclusive, welcoming project, and encourage participation from people of all backgrounds and skill levels.
Want to contribute?
Don't ask to ask, the best way to get started is to fork the project, start a codespace and get hacking. Dive on in and submit your PRs!
Vibe Coding is more than okay, just make sure you indicate if you have done so and ensure there are tests.
Important links
For coders
Growstuff is built in Ruby on Rails and also uses JavaScript for frontend features. We welcome contributions -- see CONTRIBUTING for details.
- To set up your development environment, see Getting started.
- You may also be interested in our API.
For Home Automation enthusiasts
https://github.com/Growstuff/homeassistant-growstuff/
For designers, writers, researchers, data wranglers, and other contributors
There are heaps of ways to get involved and contribute no matter what your skills and interests.
You might like to check out:
- The New Contributor Guide page on our wiki, which has lots of detail for different areas
Here on Github, you might find these useful:
- Github Project Board has stories in "ready" that can be worked on.
- needs: design - tasks requiring high-level design
- needs: visual design - tasks requiring visual/graphical design
- needs: documentation
- needs: data - tasks requiring data entry, data design, data import, or similar
- curated:beginner - tasks that are ideal for beginner programmers or people new to the project
Feel free to comment on any of the issues on Github.
Contact
For more information about this project, contact info@growstuff.org.
Security Issues: If you find an authorization bypass or data breach, please contact our maintainers directly at maintainers@growstuff.org.