This is intended to be a quick prototype of a bash script for using a hashtag organization system for my notetaking. First draft of requirements: what I'd like to be able to do is:
- Use hashtags to identify topics/themes in my own notes/docs.
- Use a script to get a list of all my hashtags/topics
- Use a script to find all files containing that hashtag, or even the line of the file.
- Easily browse the search results to find what interests me or look for themes.
- 6:15p - Start work
- 7:15p - Going to stop work
- Got the 2 key proof of concept tasks done in 30 minutes! (#2 and 3 above)
- 7:30pm - feel motivated to keep going to a little bit more. Going to try 1-2 more microtasks
- 9:15pm - STOP. got a few buttons and forms on my page. It's not quite functional. Need to tie it together.
- TODO: [High] (15 mins) Use a script to get a list of all my hashtags/topics
- TODO: [High] (15 mins) Use a script to find all files containing a hashtag, or even the full line of the file.
- TODO: [High] (45 mins) Make script runnable from a little HTML page/file - e.g. https://stackoverflow.com/questions/6235785/run-a-shell-script-with-an-html-button
- TODO: [High] Clean up php's rendering of html output
- TODO: [High] Put a text box into the php file to accept an input
- TODO: [High] HTML page is dysfunctional. Need to unblock a lot of different things. Get tutored.
- TODO: [Med] Better understand bash script output to eliminate stout=0 coming as an ouput
- TODO: [Low] Can evolve script to take multiple inputs and do an "OR" search for all of them
- TODO: [Med] Get Code Review
- TODO: [Med] Persist checkbox state
- TODO: [Med] Add a "check all" option
- TODO: [Low] {} () Make "Results" header not show up until there are results
- TODO: [High] {} () Figure out how to make this usable to an average user -- without needing to cd to directory and spin up local web server
- TODO: [Med] {} () Remove absolute file paths from .sh and .php files
- TODO: [Med] {} () Keep an eye on what has been exluded (e.g. hashtags with numbers, hyphens, other chars, etc)
- TODO: [Med] {} () Keep an eye on what has been wrongly included (e.g. hashtags in URLs, e.g. https://en.wikipedia.org/wiki/Attachment_theory#Attachment_patterns)
- TODO: [Med] {} () Find todos - e.g. [ ] or [x] or [X]
- TODO: [Med] {} () Think about how to make this usable/readables for large search results
- TODO: [Low] {} () Write results to a file?
- TODO: [Low] {} () Think about edge cases... e.g. handle what happens when user clicks Submit with nothing checked.
- TODO: [Vague] {} () Prettify -- make it dynamic, mobile friendly, etc.
- TODO: [Vague] {} () Easily browse the search results to find what interests me or look for themes.
- TODO: [] {} () Learn what Apache / XAMPP is. Learn what built in webserver is. Learn what local host / local port is. Learn about index.php/index.html files.
- TODO: [] {} ()
- TODO: [] {} ()
- TODO: [] {} ()
- TODO: [] {} ()
- TODO: [] {} ()
- TODO: [] {} ()
- TODO: [] {} ()
- TODO: [] {} ()