Our small library has four maintainers, all volunteers. Last year two of them nearly quit. The fix was not more motivation; it was a rota, a response-time promise we could keep, and permission to take weeks off.

What we learned
Healthy projects are rarely the ones with the most stars. They are the ones where a newcomer can find out what to do next without asking, and where maintainers can take a week off without everything stopping.
- Label a handful of good first issues
- Write the contributing guide before you need it
- Say thank you on every merged pull request
Where it goes next
Most of that comes down to documentation and a few clear rules, written early and updated often.
Given enough eyeballs, all bugs are shallow.
Eric S. Raymond, The Cathedral and the Bazaar
A few more details
If you want to try this yourself, start smaller than we did. Pick one piece, get it working end to end, and only then add the rest. Every time we tried to do everything at once, we ended up with three half-finished parts and no idea which one was causing the problem.
Finally, a note on sources. Everything linked here is either our own work or openly licensed, and the credits are listed where they apply. If we have missed an attribution, tell us and we will fix it quickly. Sharing generously only works if credit travels with the work.
We also want to thank everyone who commented on the earlier draft. Several of the best ideas here came from replies on Glowboard, including the suggestion to measure before changing anything and the reminder to write down what did not work. If you recognise your idea in this post, thank you, and please say hello in the comments.

This is exactly the write-up I needed this week. Bookmarked, and sending it to two colleagues.
Same here! Glad it was not just us.
Thanks, that is a really helpful way to put it.
Did cost turn out to be the deciding factor, or was it mostly time?