Check out Capsule!
Capsule replaces the scratch document you have open when you’re coding. Instead of throwing away those notes, code snippets, API responses, ad-hoc todo lists, and outlines, Capsule creates an archive of your development artifacts.
I’ve been using it in-house for a few months while it’s been in development, and it’s great.