The project uses excluded-repos.txt to skip certain repositories. However, there is no logic to exclude archived or abandoned repositories automatically, which can clutter the "Make Money" list with dead projects.
Improvement : Implement an automatic "Archived Status" check in the fetch script to filter out projects that the original authors have set to read-only.
File Path : MakeMoneyWithAI/fetch_projects.py
Proposed Code :
def is_valid_project(repo_data):
# Auto-exclude if the repo is archived by the owner
if repo_data.get("archived"):
return False
# Check against the manual exclusion list
with open('excluded-repos.txt', 'r') as f:
excluded = [line.strip() for line in f.readlines()]
return repo_data.get("full_name") not in excluded
The project uses
excluded-repos.txtto skip certain repositories. However, there is no logic to exclude archived or abandoned repositories automatically, which can clutter the "Make Money" list with dead projects.Improvement : Implement an automatic "Archived Status" check in the fetch script to filter out projects that the original authors have set to read-only.
File Path :
MakeMoneyWithAI/fetch_projects.pyProposed Code :