Skip to content

Instantly share code, notes, and snippets.

@netsi1964
Last active January 19, 2016 10:33
Show Gist options
  • Save netsi1964/3a94af0008530284c231 to your computer and use it in GitHub Desktop.
Save netsi1964/3a94af0008530284c231 to your computer and use it in GitHub Desktop.
Create MarkDown list of your starred packages

Generate markdown table of your starred Atom packages

  • Visit the first page with starred Atom packages
  • Paste the script in the console
  • Copy the generated Markdown code
  • Goto page 2
  • Repeat until all your pages have been visited...

simple, I know

var packages = "Package | Description | Downloaded \n:--|:---|--:\n";
base = "https://atom.io/packages";
Array.prototype.forEach.call(document.querySelectorAll(".package-card.card"), function(e) {
var name = e.querySelector(".css-truncate-target a");
var nameLink = base+name.getAttribute("href");
var nameText = name.innerText;
var description = e.querySelector(".css-truncate-target.card-description").innerText;
var downloaded = e.querySelector(".stat .value").innerText;
packages+="["+nameText+"]("+nameLink+") | "+description+" | "+downloaded+"\n";
});
prompt("Found these", packages);

Example output from my starred packages

Package Description Downloaded
clang-format Format your C/C++/Obj-C/Javascript files with clang-format from inside atom. Requires clang-format to be installed. 9,286
angularjs-snippets A set of common snippets and practices we use to develop our angularjs applications 8,281
refactor Refactoring support 5,657
rest-client A simple REST client for your favorite editor 4,888
nodejs-snippets atom nodejs snippets 4,771
jade-beautify Simple Jade Beautify 4,408
run-in-browser Opens current html document in the default browser 4,318
js-refactor Refactoring support for JavaScript 3,930
npm-docs...eor-assist Create meteor (html) / (js, coffee) / (css, less) files with ease 1,691
select-rectangle Select rectangle region. 1,532
atom-jsx-transform A convenient compiler of React JSX files to javascript. 1,421
html2jade-plus Convert HTML selection to jade. 1,337
atom-xsltransform Transform XML Documents using XSL Stylesheets 999
svg-preview Live SVG preview 930
snippets-jade provide basic snippets for jade 869
svgo Minify SVG with SVGO. 198
linter-liquid Lint Haskell code with LiquidHaskell 107
linter A Base Linter with Cow Powers 1.11.3
atom-beautify Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, and SQL in Atom 742,054
color-picker Right click or press CMD-SHIFT-C/CTRL-ALT-C to open it. 632,863
emmet Emmet – the essential tool for web developers 425,068
script Run code in Atom! 210,043
linter-jshint Linter plugin for JavaScript, using jshint 203,511
jshint Validate JavaScript with JSHint. In realtime or on save. Supports JSX (React). 130,785
react React.js (JSX) language support, indentation, snippets, auto completion, r...… by SubtleGradient of Facebook 19,857
regex-railroad-diagram Display railroad diagram of regex under cursor. 19,602
preview Ultimate previewer of source code in Atom. 19,184
meteor-helper Launch Meteor from Atom.io 17,889
linter-jsxhint Lint JSX (React.js) on the fly, using jsxhint 16,551
toggle-quotes Quickly toggle between single and double quotes 16,110
gist-it Quickly and easily share your code on gist.github.com 13,066
file-types Specify additional file types for languages. 10,906
react-snippets Atom Snippets for React, React Router and Flux 10,273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment