The zimwriterdb is a tool to create zim files. The articles for the files are read from a postgresql database. The schema for the database is documented in the zimwriter source. The current implementation has a abstraction for the data source, so that it will be possible to implement other data sources (as a replacement to the database) e.g. the file system.