anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[BUG]: Repositories with dots in their names can't be added via Data Connectors

Open CLBarajas opened this issue 10 months ago • 2 comments

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

When using a GitHub Pages repository site, the repository fails to load with a warning:

Could not prepare Github repo for loading! Check URL

Are there known steps to reproduce?

  1. Search GitHub for any public GitHub Pages site, by using the search term github.io.
  2. Copy any repository URL.
  3. Open a Workspace in AnythingLLM.
  4. Click the document upload button to open the documents area
  5. Navigate to the "Data Connectors" tab
  6. Paste the URL into the "GitHub Repo URL" field
  7. Click the Submit button

CLBarajas avatar Apr 11 '24 02:04 CLBarajas

Could you not just put that URL into the web scraper since that is a website, and not a repo now? Repo links should be https://github.com/academicpages/academicpages.github.io While its page (which can be scraped) is https://academicpages.github.io/

timothycarambat avatar Apr 11 '24 04:04 timothycarambat

I previously assumed GitHub Pages repositories were the only ones that would permit having a dot in their URL. I have re-tested against https://github.com/karpathy/llm.c, and it also fails, so I've updated the title to better reflect what I think is happening here.

CLBarajas avatar Apr 11 '24 04:04 CLBarajas