Skip to content

exclude function don't work #1

@Veicm

Description

@Veicm

This is my file

createRepoWidget({
    // Required
    username: 'Veicm', // GitHub username or organization name
    containerId: 'my-github-repos', // ID of the container element

    // Optional
    maxRepos: 8, // Maximum number of repositories to display
    exclude: ['robot_control', 'My_Website', 'My_Blog', 'My_Blog-scripts', 'hypr-conf-scripts', 'Veicm', 'portfolio'], // Repositories to exclude
    sortBy: 'size', // Sort repos by: "stars", "forks", or "updated", or "size", or "name"
    forked: true, // Whether to include forked repositories
    noStyles: false, // Set to true to disable default styles

    // Responsive column layout
    columns: {
        mobile: 1, // Columns on mobile (<768px)
        tablet: 2, // Columns on tablet (768px-1023px)
        desktop: 3, // Columns on desktop (>1024px)
    },

    // Custom styles
    cardStyles: {
        backgroundColor: '#3a3939ff',
        borderRadius: '20px',
        boxShadow: '0px 0px 50px 20px rgba(208, 170, 83, 0.75) inset',
        border: '1px solid #ffffff00',
        margin: '30px',
        padding: '40px',
        height: '70%',
    },

    textStyles: {
        titleSize: '18px',
        titleColor: '#967f4aff',
        titleWeight: '600',
        descriptionColor: '#e7e7e7',
        descriptionSize: '14px',
        iconColor: '#b0b0b0ff',
    },

    // Animation
    scaleOnHover: 1.05, // Scale factor on hover (set to null to disable)

    // Callbacks
    onLoad: function (repos) {
        console.log('Repositories loaded:', repos);
    },
    onError: function (error) {
        console.error('Error loading repositories:', error);
    },
});

And nearly everything works absolutely fine. But none of the excluded repos actually gets excluded although they are spelled right.

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