Web archiver to bundle web page and its resources into single file.
Go to file
huiyifyj d3595b5c73
Update README file
Use README-CN.md instead of README.md and delete original README.md file.
2020-05-09 22:51:22 +08:00
internal Move dom_test.go to test folder 2020-04-26 15:15:38 +08:00
test Move dom_test.go to test folder 2020-04-26 15:15:38 +08:00
.gitignore Delete go.sum file and append it to .gitignore file 2020-04-05 20:29:32 +08:00
go.mod Upgrade dependencies 2020-04-26 15:37:48 +08:00
LICENSE Update LICENSE and README.md 2020-04-05 20:37:11 +08:00
reader.go Initial move from go-shiori/shiori/pkg/warc 2019-09-26 20:41:28 +07:00
README.md Update README file 2020-05-09 22:51:22 +08:00
writer.go Remove unused dependencies and rename module 2020-04-05 20:54:50 +08:00

WARC

📦 WARC 目的是将 Web 页面及其资源打包到单个文件中, 最终达到文件归档的目的。

WARC 是 go 语言的库, 可将网页及其资源归档打包到单个 bolt 数据库文件中。

处于开发阶段, 该库只是针对我的项目而写的, 可能 API 接口变动会很大, 所以不建议使用。 但是该项目使用的 bolt 数据库在 API 和数据库文件方面是很稳定。 注意: 目前 WARC 在存档页面时会禁用 JavaScript, 因此可能它在 SPA 网站中效果不会太好。

安装方法

安装该库只需运行命令行 go get:

go get -u -v gitea.com/huiyifyj/warc

协议

WARC 库遵守 MIT 协议

这意味你可以随意改动, 只要注明我 @huiyifyj 即可。