DEV Community

Discussion on: Side Project Sunday! What do you have going on?

Collapse
 
jeremyf profile image
Jeremy Friesen

I'm working on extracting some utility commands for Emacs. One thing I've been doing a lot has been converting Github URLs to their shorthand format (e.g. <owner>/<repo>#<number>). This helps me with my note taking and development.

This involved a URL "abbreviator" that get the URL at the cursor (e.g. Emacs point), the paste buffer (e.g. Emacs's kill-ring) or the current URL of the active browser.

Some additional features could be:

  • Convert the URL to a Markdown or OrgMode style link.
  • Creating OrgRoam node for an issue, so that I have a local place to write up any working notes; and reference in my daily journal entries. However, I'm waiting for some input on a feature request before I proceed with a workaround.
  • Jump to my notes for the given branch (created in the above task)
  • Assemble things into a gigantic function to:
    • Create a branch from an issue
    • Add a Journal entry saying "Started work on /#"
    • Create an OrgRoam node for that issue (which would then have a back link to my daily journal entry)

All of this is to help me better navigate throughout my somewhat normalized workflow.

And why do all of this? To sharpen my tools. Practice extending my text editor to facilitate my ever emerging workflow.