Skip to content

Instantly share code, notes, and snippets.

View BigLep's full-sized avatar

Steve Loeppky BigLep

  • Freelancing; ex-Protocol Labs
  • WA
View GitHub Profile
@BigLep
BigLep / filecoin-crates-finder.py
Last active May 11, 2025 17:22
Find "filecoin-project" crates that should have team ownership. This is in support of https://github.com/filecoin-project/github-mgmt/issues/104 . This was generated using claude code.
#!/usr/bin/env python3
import requests
import csv
import time
import sys
def search_crates(query, page=1, per_page=100):
"""Search crates from crates.io API with pagination"""
url = f"https://crates.io/api/v1/crates?q={query}&page={page}&per_page={per_page}&sort=alphabetical"
headers = {
@BigLep
BigLep / main.py
Created May 25, 2023 22:36
Bulk adding issues/prs from repos to a project board for boxo repo consolidation
###
# Context: https://github.com/ipfs/boxo/issues/202
# Most of this was generated with a couple of ChatGPT prompts
###
##############
# ChatGPT:
# write a python script to add open github issues and PRs in a set of github repos to a v2 github project board using the graphql api and addProjectV2ItemById
# did some tweaks based on https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects#updating-projects
##############