Skip to content

Instantly share code, notes, and snippets.

@mhemmings
Created November 1, 2017 18:10
Show Gist options
  • Save mhemmings/370507cba1ad1268c512b09186a1b246 to your computer and use it in GitHub Desktop.
Save mhemmings/370507cba1ad1268c512b09186a1b246 to your computer and use it in GitHub Desktop.
One line of JS to paste into the console, which puts the Github project status onto the clipboard in a simple easy to read text format
for(var name,columns=document.querySelectorAll('.project-columns-container>.project-column'),str='',i=0;i<columns.length;++i){name=columns[i].querySelector('.js-project-column-name').innerHTML,str+=`${name}\n`;for(var cards=columns[i].querySelectorAll('.project-card>div>a'),j=0;j<cards.length;j++)str+=`- ${cards[j].innerHTML.trim()}\n`;str+='\n'}copy(str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment