Anime-Girls-Holding-Programming-Books
Anime-Girls-Holding-Programming-Books copied to clipboard
Create Metadata.json
Metadata on featured series in JSON format, up to date 12/11/2021. Created in regards to Issue #245
To find the series that the anime girl is from, just CTRL + F the file name.
This seems unmaintainable tbh. JSON is kinda a crappy format for human editing, and it's in one file rather than next to the images, so it's REALLY easy for it to get out of date.
How about creating a CLI that modifies the metadata file when someone adds a pic. So that humans don't have to edit it manually.
How about creating a CLI that modifies the metadata file when someone adds a pic. So that humans don't have to edit it manually.
I have actually been considering setting up some pre-commit hooks to validate filenames so setting it up to also add those file names to a meta-data file wouldn't be much extra work from my understanding. Though having a meta-data file that keeps track of what series a girl is from or even just keeps track of her name would present some challenges for adding girls who are just some random artists OC. We'd also might want to reconsider our file naming pattern if were going to try to introspect that data from the files themselves.
If were fine with adding the data manually maybe we could require that the meta-data be included with every file added and then just have the commit hook verify that all the files in the commit have corresponding meta-data entry.
This issue seems relevant to this PR so Im just going to link them to each other https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books/issues/285
Merge the 2 codes that let you choose the girls and modify at the same time
Perfect chance to do this through GH Actions
Wouldn't it make more sense to use a series of tags, rather than an hierachical structure?
A year later I'd like to add my coin to the pig. Would it not make sense to instead write a metadata generator? This fixes the maintenance problem adressed above.
The program could act like this: Scan all images -> Take the first word before the _
(Ram_Holding_JavaScript_The_Good_Parts.png would become Ram
), then search for Ram Anime
, wether with the google api, wikipedia or another (anime-specific?) library, find anime name and get the meta from it.
Long-term better Alternative: Rename all files to $ANIME_$CHARACHTER_$DESCRIPTION
and just google $ANIME
instead