fff-covers FanFicFare + Calibre cover guide

Genre code generator

Turn lists of tag keyphrases into a ready-to-paste Calibre template

This generator helps you turn tags into short cover labels without writing the code yourself. For example, enter Domestic Bliss as the phrase to find and Fluff as the label to show. It creates the #genre template described in Genres and flags. Create that calculated column first, then choose whether to search Calibre’s standard Tags or a separate tag column.

For a first try, click Load examples, replace one example row with a tag and label from your own library, type that tag in the preview box, and check the result. The import option is for returning users who already have a compatible template.

Your information stays in your browser

The generator runs entirely on this page. It does not upload your genre list. It saves a temporary draft in this browser so an accidental refresh does not erase your work.

1

Choose a starting point

Start with an empty list, load the tutorial examples, or paste the tutorial genre template—or code previously made by this generator.

Import existing template code

The importer understands the tutorial genre template and templates made by this generator. Other hand-written code might not import correctly.

2

Add your genres

Each row creates one label on the cover. Add every tag word or phrase that should produce that label, one per line. The row order is also the order in which matching genres will appear on the cover.

Use tags for Calibre's standard Tags column, or enter the lookup name of your custom column, such as #ao3_tags.

Use specific keyphrases

Keyphrases are matched anywhere in a tag. For example, romance also matches Necromancer AU, while ill can match Villain Redemption or Billy Hargrove.

3

Try an example

Separate tags with commas, just as they appear in Calibre. A fic can match several genres, but each cover label is shown only once.

Cover textNo matches
4

Generate your Calibre template

In Calibre, open Preferences → Add your own columns, edit #genre, and replace the contents of its Template box with the generated code. Save the column and check its value on a test book. If you added {#genre} to a cover preset, save that preset and regenerate the book's cover.