Test the Johnny.Decimal GPT
I've been training a GPT at OpenAI, home of ChatGPT. It's amazing. The structured nature of Johnny.Decimal lends itself to this very well.
You can try it out here.
Notes
-
Requires a GPT Plus subscription.
-
Will disappear at some point: I'm going to turn this in to some sort of a product, honestly.
- But y'all are family so help me test now and I'll sort you out later. ❤️️
Suggested prompts. Works great with 'generate me an area to...'
-
Generate an area to manage my small business
-
Generate an area to manage my knitting hobby, and provide a bash prompt that will create the folders in my file system
Example
Prompt: create a simple area for my knitting hobby, and give me a bash script to create folders
Output:
50-59 Knitting Projects
51 Pattern Library
51.01 Cardigans
51.02 Afghans
51.03 Mittens
52 Yarn Stock
52.01 Alpaca
52.02 Merino
52.03 Bamboo
53 Accessories & Tools
53.01 Circular Needles
53.02 Crochet Hooks
53.03 Gauges & Counters
The bash script:
#!/bin/bash
# Directory for knitting projects
baseDir="Knitting_Projects"
# Creating base and subdirectories
mkdir -p "$baseDir/51_Pattern_Library" "$baseDir/52_Yarn_Stock" "$baseDir/53_Accessories_Tools"
# Creating subdirectories for each category
mkdir -p "$baseDir/51_Pattern_Library/51.01_Cardigans" "$baseDir/51_Pattern_Library/51.02_Afghans" "$baseDir/51_Pattern_Library/51.03_Mittens"
mkdir -p "$baseDir/52_Yarn_Stock/52.01_Alpaca" "$baseDir/52_Yarn_Stock/52.02_Merino" "$baseDir/52_Yarn_Stock/52.03_Bamboo"
mkdir -p "$baseDir/53_Accessories_Tools/53.01_Circular_Needles" "$baseDir/53_Accessories_Tools/53.02_Crochet_Hooks" "$baseDir/53_Accessories_Tools/53.03_Gauges_Counters"
echo "Folders for Knitting Projects have been successfully created."
The bash script needs work: as of this post, it insists on replacing spaces with underscores.
Roadmap
This is great for inspiration, but I see the end goal as an app/executable that you point at your file system -- the messy one that you have today -- and it:
-
Detects the names of your existing files and folders, ignoring all the cruft that isn't actually your stuff.
-
Generates a new Johnny.Decimal structure for you using the GPT.
-
Validates the structure, i.e. confirms the numbers are all consistent.
-
Confirms that you like it, trying again if not.
-
Creates those folders in your file system.
Although honestly I've given this about half an hour's thought at this point.
Thoughts?
Discuss this on the forum.