Fast, clean, and efficient solution for archiving and retrieving web content.
This project provides two components:
hyperpage
: A library with an API for reading and writing archiveshyperpack
: A command line tool for archiving web contenthyperpage
Hyperpage is the C++ API provided by this project. It provides all of the interfaces required to utilize the hyperpage database:
hyperpage::page
: An abstract class representing a single entry in the database. It provides the path, mime type, and content.hyperpage::reader
: Loads pages from the database. Given a path, the reader will provide a pointer to a page if it exists.hyperpage::writer
: Stores pages in the database. Given a page, the writer will create a database entry that can later be loaded by path.hyperpack
Hyperpack is a command line utility used to create a hyperpage database file:
It will iterate through a given directory, storing its files based on paths relative to the given directory. It will also detect the mime type and store the contents of each file.
This is only intended to cover basic usage. For more info about the API, see the docs. To see how hyperpage is used in a basic use case, the example should be helpful.