Home > Reflections | ⏮️ ⏭️
2024-11-03
🤔 Thinking about Automating Video Notes
- I watch a YouTube video
- I want to make an Obsidian note of it.
- I share to Google keep
- if the title was too lon…
- I find it elsewhere and copy it into the keep note’s title
- then in obsidian, I use my video Quick add command
- I copy/paste the title from my keep note into the prompt
- if there are special characters, I have to delete those
- then a new file is created from my template, in the right location
- I paste the title into the alias and title metadata fields and update the H1 title to match the original title (without special characters removed)
- I then go back to my keep note, copy the URL, and paste that in the URL metadata fields
- I fill in the platform (YouTube) metadata field
- I fill in the channel metadata field
- and now I can publish or write some notes
- overall this doesn’t take that long.
- but it’s still quite a lot of friction.
- and the easier a thing is, the more likely it is to happen.
- making things I want to do easier is a great way to do them more often
- it would be cool if all of this could happen in 1 click…
- what would it take to make that possible?
- I think a pretty straight-forward program could do this given the YouTube video’s URL as input
- there is a share button on YouTube that sends some information about the video (including at least the URL and the title) to an receiving app that claims to be able to handle the input
- I can share to Obsidian directly
- I wonder if I can configure obsidian to receive that share and run some script to automatically do all the steps…
- how long would it take to set that up?
- maybe a couple of hours?
- and how much time would I save on each use?
- maybe a few minutes?
- what would it take to make that possible?
- I’ll time myself running through the whole procedure as it exists today for a couple of videos I watched this morning
- video 1
- 2 minutes 42 seconds
- this was a relatively easy example because the title is nice (short enough to not be truncated when sharing and it includes no special characters)
- video 2
- 1 minute 45 seconds
- this was easy for the same reasons as the previous video
- in both of these examples, the longest step by far was manually rewriting the file name into kabob-case
- this isn’t strictly necessary, but I like kabob-case for file names and URLs because all the characters are legal, well behaved, and don’t require escaping
- it’s also pretty easy to write a function that will transform an arbitrary title into kabob-case
- if I can get a hook into this QuickAdd template process to run a JavaScript function to convert my title case, I could save the majority of the time required in this overall process
- video 1
🧠 Education
⚛️ This Single Rule Underpins All Of Physics
🥩 How AI Cracked the Protein Folding Code and Won a Nobel Prize