Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdehaan/merino-py-top-sites-diff
https://github.com/pdehaan/merino-py-top-sites-diff
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pdehaan/merino-py-top-sites-diff
- Owner: pdehaan
- Created: 2023-10-04T01:08:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-04T06:23:23.000Z (over 1 year ago)
- Last Synced: 2024-10-31T13:11:57.138Z (2 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MERINO-PY-TOP-SITES-DIFF
Attempts to diff changes to top_picks.json.
## USAGE
```sh
npm start
```### SAMPLE OUTPUT
```diff
Comparing https://raw.githubusercontent.com/mozilla-services/merino-py/main/dev/top_picks.json...https://raw.githubusercontent.com/mozilla-services/merino-py/chore-update-top-picks-03-10-2023/dev/top_picks.json
top_picks:added ["16personalities","abcya","arizona","asu","atptour","bedbathandbeyond","blooket","brainpop","careersafeonline","carters","cengage","code","collegeboard","commonlit","converse","deltamath","desmos","ebird","essentiallysports","fantasypros","fubo","gapfactory","geoguessr","getepic","giantfreakinrobot","gimkit","goal","hudl","i-ready","icevonline","illuminateed","imaginelearning","instructure","investopedia","iscorp","jang","k12","kahoot","khanacademy","kidsa-z","kleinisd","kooora","lanebryant","lego","linternaute","mathplayground","mheducation","mobymax","myon","naver","nespresso","nflshop","nitrotype","noredink","parentsquare","pathofexile","pgatour","pro-football-reference","prodigygame","quill","quizizz","readingplus","readtheory","savvasrealize","scitechdaily","screencastify","skysports","smore","space","spirithalloween","sportingnews","teacherease","theathletic","thespec","typing","uniqlo","usg","vhlcentral","whiskeyriff","wordreference","zearn"] +0ms
top_picks:deleted ["aljazeera","americansongwriter","as","ashleystewart","asos","athenahealth","bcit","biblehub","carleton","chicos","clutchpoints","consumerreports","creativefabrica","eatthis","enterprise","eventticketscenter","ew","finishline","formula1","gettyimages","getyourguide","grubhub","hindustantimes","huntington","icy-veins","inc","inkbunny","landsend","linktr","livescience","marca","meijer","mlive","mun","myheritage","napaonline","nba","neimanmarcus","newsbreak","newspapers","nj","outkick","pagesix","polygon","programme-tv","psychologytoday","quillbot","sageone","sciencedirect","slate","stockcharts","thedailymeal","thespruce","travelocity","uoguelph","vanguard","viator","wealthsimple","whatismyip","wlu","yesbackpage","yourbump"] +0ms
{
- title: "Efficient computer vision | MIT - Massachusetts Institute of Technology"
+ title: "AI in the eye of the beholder | MIT - Massachusetts Institute of Technology"
}
```## DEBUGGING
```sh
npm run debug # DEBUG=top_picks:* node index --color
```### SAMPLE OUTPUT
```diff
Comparing https://raw.githubusercontent.com/mozilla-services/merino-py/main/dev/top_picks.json...https://raw.githubusercontent.com/mozilla-services/merino-py/chore-update-top-picks-03-10-2023/dev/top_picks.jsontop_picks:added ["16personalities","abcya","arizona","asu","atptour","bedbathandbeyond","blooket","brainpop","careersafeonline","carters","cengage","code","collegeboard","commonlit","converse","deltamath","desmos","ebird","essentiallysports","fantasypros","fubo","gapfactory","geoguessr","getepic","giantfreakinrobot","gimkit","goal","hudl","i-ready","icevonline","illuminateed","imaginelearning","instructure","investopedia","iscorp","jang","k12","kahoot","khanacademy","kidsa-z","kleinisd","kooora","lanebryant","lego","linternaute","mathplayground","mheducation","mobymax","myon","naver","nespresso","nflshop","nitrotype","noredink","parentsquare","pathofexile","pgatour","pro-football-reference","prodigygame","quill","quizizz","readingplus","readtheory","savvasrealize","scitechdaily","screencastify","skysports","smore","space","spirithalloween","sportingnews","teacherease","theathletic","thespec","typing","uniqlo","usg","vhlcentral","whiskeyriff","wordreference","zearn"] +0ms
top_picks:deleted ["aljazeera","americansongwriter","as","ashleystewart","asos","athenahealth","bcit","biblehub","carleton","chicos","clutchpoints","consumerreports","creativefabrica","eatthis","enterprise","eventticketscenter","ew","finishline","formula1","gettyimages","getyourguide","grubhub","hindustantimes","huntington","icy-veins","inc","inkbunny","landsend","linktr","livescience","marca","meijer","mlive","mun","myheritage","napaonline","nba","neimanmarcus","newsbreak","newspapers","nj","outkick","pagesix","polygon","programme-tv","psychologytoday","quillbot","sageone","sciencedirect","slate","stockcharts","thedailymeal","thespruce","travelocity","uoguelph","vanguard","viator","wealthsimple","whatismyip","wlu","yesbackpage","yourbump"] +0ms
{
- title: "Efficient computer vision | MIT - Massachusetts Institute of Technology"
+ title: "AI in the eye of the beholder | MIT - Massachusetts Institute of Technology"
}{
- title: "All Your Back to School Needs In One Place"
+ title: "Walmart.com | Save Money. Live Better"
}
```## UNIQUE CATEGORIES
NOTE: This will check whatever is checked into **main** not latest PR, tweak the script as needed.
```sh
npm run categories
```### SAMPLE OUTPUT
```js
[
"Advertisements",
"Alcohol",
"Arts & Crafts",
...
"Weather"
]
```## SUMMARY
NOTE: This will check whatever is checked into **main** not latest PR, tweak the script as needed.
```sh
npm run summary
```### SAMPLE OUTPUT
```sh
npm run summary | head -10> [email protected] summary
> node summary[1] "Google" -- https://www.google.com
[2] "Facebook – log in or sign up" -- https://www.facebook.com
[3] "Microsoft – Cloud, Computers, Apps & Gaming" -- https://www.microsoft.com
[4] "Apple" -- https://www.apple.com
[5] "YouTube" -- https://www.youtube.com
[6] "Twitter" -- https://twitter.com
```## SUMMARY (BOT-check)
NOTE: This will check whatever is checked into **main** not latest PR, tweak the script as needed.
```sh
npm run summary | grep -Ein "\bbot\b"
```### SAMPLE OUTPUT
```sh
585:[602] "Are You A Bot?" -- https://www.joann.com
```