This project is now archived. If you want to archive, consider checking out obelisk. It has better output format (plain HTML) and IMHO better written than this.
WARC is a Go package that archive a web page and its resources into a single bolt database file. Developed as part of Shiori bookmarks manager.
To install this package, just run go get :
go get -u -v github.com/go-shiori/warc
WARC is distributed under MIT license, which means you can use and modify it however you want. However, if you make an enhancement for it, if possible, please send a pull request.