Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can it able to do the same with WIKI? #303

Open
krigeta opened this issue Jan 21, 2025 · 4 comments
Open

can it able to do the same with WIKI? #303

krigeta opened this issue Jan 21, 2025 · 4 comments
Labels
question Further information is requested

Comments

@krigeta
Copy link

krigeta commented Jan 21, 2025

I am wondering if this amazing text file can be made of the wiki of a GitHub repo to pass them to the LLM?

@yamadashy
Copy link
Owner

Hi, @krigeta !
GitHub wikis can be cloned and processed with Repomix since they're Git repositories. Here's how to try it:

npx repomix --remote https://github.com/yamadashy/slack-channels-grouping.wiki.git

The .wiki.git suffix is important when cloning GitHub wikis. You can test this with any GitHub wiki repository by appending .wiki.git to the base repository URL.

Image

@yamadashy yamadashy added the question Further information is requested label Jan 25, 2025
@krigeta
Copy link
Author

krigeta commented Feb 8, 2025

@yamadashy thank you so much it is working now.

@krigeta krigeta closed this as completed Feb 8, 2025
@krigeta
Copy link
Author

krigeta commented Feb 18, 2025

Hey @yamadashy I am not able to download this while using this:
npx repomix --remote https://github.com/civitai/civitai/wiki/REST-API-Reference and go this error:

📦 Repomix v0.2.28

Clone repository: https://github.com/civitai/civitai/wiki/REST-API-Reference.git to temporary directory. path: /tmp/repomix-cxk0bD

✖ Error during repository cloning. cleanup...
Error: Failed to clone repository: Command failed: git clone --depth 1 https://github.com/civitai/civitai/wiki/REST-API-Reference.git /tmp/repomix-cxk0bD
Cloning into '/tmp/repomix-cxk0bD'...
fatal: unable to update url base from redirection:
  asked for: https://github.com/civitai/civitai/wiki/REST-API-Reference.git/info/refs?service=git-upload-pack
   redirect: https://github.com/civitai/civitai/wiki/

@krigeta krigeta reopened this Feb 18, 2025
@yamadashy
Copy link
Owner

Hi @krigeta,

The URL format you're using isn't directly supported by Repomix. GitHub wikis need to be accessed via their git repository URL rather than the web interface URL.

Instead, please try using the wiki's git repository URL:

npx repomix --remote https://github.com/civitai/civitai.wiki.git

You can find this URL by looking at the bottom-right corner of any wiki page where it says "Clone this wiki locally."

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants