Skip to content

Issue: Limited Exclusion Filtering #4

Description

@codeCraft-Ritik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions