flamebyrd: (Sleepy!Duck)
flamebyrd ([personal profile] flamebyrd) wrote2023-08-04 11:15 am
Entry tags:

On that DIY Fanfic Archive Generator idea

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!
tielan: (Default)

[personal profile] tielan 2023-08-04 06:52 am (UTC)(link)
The idea of something that I could use to transfer my fics from AO3 over to another site would be amazing, although I suspect I'd still have to painstakingly put in the 900+ page links to load it up one way or the other...

Probably Option A, tbh.
alias_sqbr: the symbol pi on a pretty background (Default)

[personal profile] alias_sqbr 2023-08-04 09:14 am (UTC)(link)
They both sound useful to me, as long as A had reasonable painless options for adding new works after the initial setup.
cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)

[personal profile] cimorene 2023-08-04 12:32 pm (UTC)(link)
Probably B, if I didn't already have a site myself. But really, I think the fic itself is the most important part. That is the vast majority of pages on a site and hence work that goes into it. And building in a nice readable basic format would do a favor for potential future readers.
cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)

[personal profile] cimorene 2023-08-06 07:41 am (UTC)(link)
I guess I do! The list of file links probably too, that seems like a clear candidate for automation.