Skip to content

Instantly share code, notes, and snippets.

@kensoh
Last active July 17, 2020 09:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save kensoh/e208789bca4b89e361094dc5aaa11cbc to your computer and use it in GitHub Desktop.
Save kensoh/e208789bca4b89e361094dc5aaa11cbc 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`]
}
/521xueweihan/HelloGitHub
/hyperjumptech/grule-rule-engine
/huggingface/transformers
/Lightstreamer/Lightstreamer-example-StockList-client-python
/open-rpa/openrpa
/sindresorhus/Gifski
/RaiMan/SikuliX1
/ruanyf/weekly
/uber/ludwig
/snipsco/snips-nlu
/prasmussen/glot
/PrivateBin/PrivateBin
/tebelorg/TagUI-Python
/kelaberetiv/TagUI
/OakwoodAI/Automagica
/dvf/blockchain
/node-red/node-red
/Zilliqa/Zilliqa
/ipfs/ipfs
/blockstack/blockstack-core
/camunda/camunda-bpm-platform
/adegard/TagIE.ahk
/raspberrypi/documentation
/pyinstaller/pyinstaller
/ros/ros
/allenai/ai2thor
/mgbellemare/Arcade-Learning-Environment
/solid/solid
/openai/baselines
/LonamiWebs/Telethon
/hyperledger/sawtooth-core
/calico/basenji
/caravagn/revolver
/cBioPortal/cbioportal
/felixrieseberg/windows95
/commaai/openpilot
/bioinform/somaticseq
/glitchassassin/lackey
/google/dopamine
/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
/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
/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
/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
/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
/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
/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
/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