Skip to content

Instantly share code, notes, and snippets.

@applicato
Forked from kensoh/stars
Created September 26, 2018 13:02
Show Gist options
  • Select an option

  • Save applicato/d288f0f37ab927b47413496016302d86 to your computer and use it in GitHub Desktop.

Select an option

Save applicato/d288f0f37ab927b47413496016302d86 to your computer and use it in GitHub Desktop.
TagUI flow to print the list of your starred repos
// created this flow file to archive my starred repos
// it prints the list of starred repos by github user
// you can get TagUI here (macOS / Windows / Linux)
// https://github.com/kelaberetiv/TagUI#set-up
// usage #1 - copy or download this file, then run
// tagui stars github_userid quiet chrome
// usage #2 - if you want to run this gist directly
// tagui https://gist.githubusercontent.com/kensoh/e208789bca4b89e361094dc5aaa11cbc/raw/3f423e599a555caf55c07d1c74bbf0a3fe1c4283/stars github_userid quiet chrome
// get user_id from input parameter
user_id = p1
// go to stars page of github user
https://github.com/`user_id`?tab=stars
// extract total stars by user
read (//*[@class="Counter"])[2] to total_stars
// calculate number of pages
no_of_pages = Math.ceil(total_stars / 30)
// loop pages to extract list
for page from 1 to no_of_pages
{
// page 1 no need to click
if page greater than 1
{
// to advance stars page
click Next
// make sure not old data
wait 3.5 seconds
}
// default is 30 stars per page
total_count = 30
// calculate stars for last page
if page equals to no_of_pages
{
total_count = total_stars - (30 * (no_of_pages - 1))
}
// loop through stars per page
for count from 1 to total_count
print (//h3/a/@href)[`count`]
}
/ros/ros
/LonamiWebs/Telethon
/php-telegram-bot/core
/beaorn/awesome-agriculture
/MarceloAlves/awesome-agtech
/hyperledger/sawtooth-core
/epam/Indigo
/calico/basenji
/quintilesims/layer0
/caravagn/revolver
/cBioPortal/cbioportal
/felixrieseberg/windows95
/commaai/openpilot
/bioinform/somaticseq
/amirsaffari/biological-neural-networks-toolbox
/glitchassassin/lackey
/TheTorProject/gettorbrowser
/google/dopamine
/Synthace/antha-releases
/transcriptic/transcriptic
/autoprotocol/autoprotocol-python
/ewels/MultiQC
/ugeneunipro/ugene
/galaxyproject/galaxy
/biolab/orange3
/biopython/biopython
/akusok/hpelm
/A9T9/Kantu
/jhfjhfj1/autokeras
/RaRe-Technologies/gensim
/xviniette/FlappyLearning
/CodeReclaimers/neat-python
/mstamy2/PyPDF2
/quantumlib/Cirq
/RaiMan/SikuliX2
/vim/vim
/locustio/locust
/MIT-LCP/mimic-code
/apache/incubator-singa
/kennyjacoby/Community-Court-PDF-Scraper
/pdfminer/pdfminer.six
/euske/pdfminer
/jpmorganchase/quorum
/lohvht/went
/PHPOffice/PhpSpreadsheet
/autopilot-rs/autopy
/JuliaLang/julia
/kaldi-asr/kaldi
/tesseract-ocr/tesseract
/ageitgey/face_recognition
/adegard/tagui_scripts
/jeromeetienne/AR.js
/mozilla/send
/asciinema/asciinema
/ramanathanMuthuraman/web-automation
/asweigart/pyautogui
/tapsterbot/tapsterbot
/jbhuang0604/awesome-computer-vision
/tensorflow/tensorflow
/tensorflow/tfjs
/apache/spark
/apache/cassandra
/apache/hadoop
/postgres/postgres
/tensorflow/magenta
/jevois/jevois
/openmv/openmv
/1c7/chinese-independent-developer
/googlesamples/assistant-sdk-python
/gunthercox/ChatterBot
/OakwoodAI/automagica
/pytorch/pytorch
/apache/incubator-mxnet
/keras-team/keras
/kelaberetiv/aiap-field-guide
/intel-analytics/BigDL
/ahkscript/awesome-AutoHotkey
/Microsoft/MMdnn
/overtone/overtone
/transcranial/keras-js
/jsdom/jsdom
/joelgriffith/browserless
/kelseyhightower/nocode
/rigetticomputing/pyquil
/Microsoft/Quantum
/ray-project/ray
/ucbrise/clipper
/kelaberetiv/TagUI
/OpenBCI/Ultracortex
/facebookresearch/Detectron
/scikit-learn/scikit-learn
/Microsoft/CNTK
/dmlc/xgboost
/arviedelgado/Roro
/kamranahmedse/developer-roadmap
/numenta/nupic
/BVLC/caffe
/magarena/magarena
/karpathy/convnetjs
/home-assistant/home-assistant
/datagovsg/beeline-server
/gluon-api/gluon-api
/sohwendy/Robotcorder
/gauntface/simple-push-demo
/ebidel/lighthouse-ci
/alexa/alexa-skills-kit-sdk-for-nodejs
/ghetzel/webfriend
/ChromeDevTools/devtools-protocol
/GoogleChrome/puppeteer
/facebookresearch/DrQA
/atinfo/awesome-test-automation
/catboost/catboost
/EpistasisLab/tpot
/apache/predictionio
/huginn/huginn
/Spandan-Madan/DeepLearningProject
/cypress-io/cypress
/ApolloAuto/apollo
/scribbletune/scribbletune
/sidorares/nierika
/Textalk/websocket-php
/chromedp/chromedp
/marcoschwartz/aREST
/getinsomnia/insomnia
/seejohnrun/haste-server
/sdmg15/Best-websites-a-programmer-should-visit
/testem/testem
/OnetapInc/chromy
/cyrus-and/chrome-remote-interface
/avajs/ava
/chrislusf/seaweedfs
/marcuswestin/store.js
/minio/minio
/curl/curl
/go-vgo/robotgo
/tootsuite/mastodon
/travis-ci/travis-ci
/sikuli/sikuli
/angeloBerlin/MIDI-Automator
/opencv/opencv
/A9T9/SeeShell
/cbovis/awesome-digital-nomads
/webdriverio/webdriverio
/wagerfield/parallax
/marcbachmann/node-html-pdf
/HuddleEng/PhantomCSS
/eriklindernoren/HomeAssistant
/rubysg/singapore
/telegramdesktop/tdesktop
/cucumber/cucumber-js
/arduino/Arduino
/dialogflow/dialogflow-javascript-client
/jeffpar/pcjs
/facebook/php-webdriver
/naptha/tesseract.js
/openai/universe
/jenkinsci/jenkins
/commaai/neo
/tebelorg/Tump
/pentaho/pentaho-kettle
/Talend/tbd-studio-se
/pawl/awesome-etl
/ferventdesert/Hawk
/octalmage/robotjs
/robotframework/robotframework
/realpython/python-scripts
/eBay/parallec
/tebelorg/Tmail
/tebelorg/TLE
/tebelorg/Tipping
/segmentio/daydream
/PHPMailer/PHPMailer
/leemunroe/responsive-html-email-template
/serbanghita/Mobile-Detect
/laurentj/slimerjs
/tholman/github-corners
/tebelorg/Tist
/jefleponot/ectoplasm
/wit-ai/wit
/pywinauto/pywinauto
/garris/BackstopJS
/openai/gym
/Lexikos/AutoHotkey_L
/Kinto/kinto
/torvalds/linux
/scrapy/scrapy
/appium/appium
/RaiMan/SikuliX-2014
/ossec/ossec-hids
/Hammerspoon/hammerspoon
/ebrehault/resurrectio
/gorhill/uBlock
/HuddleEng/Resemble.js
/segmentio/nightmare
/SeleniumHQ/selenium
/h2oai/h2o-3
/ariya/phantomjs
/casperjs/casperjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment