On that DIY Fanfic Archive Generator idea
Aug. 4th, 2023 11:15 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I've been sick this week, which has sapped most of my physical ability so I've been mostly sitting around resting, but mentally I'm... not fine, but functional, so I've been poking at the idea I mentioned in my last post about using a static site generator to manage your personal fanfic archive (a la Melannen's tutorial).
The biggest hurdle I'm hitting is that I'm not actually sure what I want to create. Is it:
a) A script and tutorial for importing an existing collection of AO3-generated HTML files into Hugo (or something similar), extracting the metadata from the AO3 files and reformatting it for use in Hugo, with sample HTML templates and tips for how to manage the site in Hugo going forwards, or
b) An entirely customised static site generator (based on makesite.py that works on a folder of AO3-generated HTML files (and potentially non-AO3 generated files too) and generates the entire site based on the metadata in those files, with granular options for how things should be grouped/sorted/etc.
Obviously there are advantages and disadvantages to both! Option b) is going to be a lot more work, both initially and ongoing, so naturally that's what I've been focusing on so far. But I feel probably option a) is the more sensible direction to go?
If this idea sounds interesting to you, what would you want out of it? You don't need to work off my suggested options, just share your vision!
The biggest hurdle I'm hitting is that I'm not actually sure what I want to create. Is it:
a) A script and tutorial for importing an existing collection of AO3-generated HTML files into Hugo (or something similar), extracting the metadata from the AO3 files and reformatting it for use in Hugo, with sample HTML templates and tips for how to manage the site in Hugo going forwards, or
b) An entirely customised static site generator (based on makesite.py that works on a folder of AO3-generated HTML files (and potentially non-AO3 generated files too) and generates the entire site based on the metadata in those files, with granular options for how things should be grouped/sorted/etc.
Obviously there are advantages and disadvantages to both! Option b) is going to be a lot more work, both initially and ongoing, so naturally that's what I've been focusing on so far. But I feel probably option a) is the more sensible direction to go?
If this idea sounds interesting to you, what would you want out of it? You don't need to work off my suggested options, just share your vision!