GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — exclude node_modules · Issue #4733 · anomalyco/opencode

exclude node_modules #4733

New issue
Copy link
New issue
Copy link
Closed
Closed
exclude node_modules#4733
Copy link

Description

@pumpa0
pumpa0
opened on Nov 25, 2025
Issue body actions

Question

Is there a way to prevent the AI from reading node_modules or other unnecessary files? It has read node_modules several times, and since the folder is huge and unimportant, it ends up wasting a lot of time.

Activity

  1. github-actions commented on Nov 25, 2025

    @github-actions
    github-actionsBot
    on Nov 25, 2025 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Exclude files from being used #3164: Exclude files from being used (requests file exclusion functionality)
    • It should be possible to instruct opencode which files to ignore #4633: It should be possible to instruct opencode which files to ignore (references .gemini-ignore model)
    • Files mentioned in .gitignore are not getting ignored #4694: Files mentioned in .gitignore are not getting ignored (shows .gitignore patterns should already work)

    These issues discuss the same core feature request: preventing OpenCode from reading unnecessary large folders like node_modules to reduce token usage and improve performance.

    Feel free to ignore if none of these address your specific case.

  2. pumpa0
    closed this as completedon Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.