#!/bin/bash echo "=== releases (with assets):" curl -sL --max-time 60 "https://api.github.com/repos/memtest86plus/memtest86plus/releases?per_page=10" \ | python3 -c " import sys,json for r in json.load(sys.stdin): print('tag:', r.get('tag_name'), '| assets:', len(r.get('assets',[]))) for a in r.get('assets',[]): print(' %-44s %10d' % (a['name'], a['size'])) print() " echo "=== repo tree (top):" curl -sL --max-time 60 "https://api.github.com/repos/memtest86plus/memtest86plus/contents/" \ | python3 -c " import sys,json for e in json.load(sys.stdin): print(' %-30s %s' % (e['name'], e['type'])) "