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

Allow private repositories #3

Open
Explosion-Scratch opened this issue Dec 5, 2024 · 8 comments
Open

Allow private repositories #3

Explosion-Scratch opened this issue Dec 5, 2024 · 8 comments
Labels
help wanted Extra attention is needed planned This will be implemented

Comments

@Explosion-Scratch
Copy link

Use login with GitHub to allow fetching private repositories

@cyclotruc
Copy link
Owner

I plan to add this option at some point but not right now because I'd like to improve the functionalities on public repos before. Feel free to draft a PR for that if you have time, even if it's just a PoC

@VladStoyanovADP
Copy link

much needed!

@cyclotruc cyclotruc added suggestion New feature or request help wanted Extra attention is needed planned This will be implemented and removed suggestion New feature or request labels Dec 7, 2024
@moebiussurfing
Copy link

+1 for this one

@cyclotruc
Copy link
Owner

Update:
Implementing this option means dealing with user Github Tokens on Gitingest.com.
This is a security concern that I take very seriously

So as of right now the feature is top priority and I'm doing everything I can to ship it securely soon.
But any help on that matter would be greatly appreciated. Please reach out if you have experience with security: https://github.com/cyclotruc/gitingest?tab=security-ov-file#readme

@moebiussurfing
Copy link

there's a similar repo having this feature:
https://repo2txt.simplebasedomain.com/
maybe you can pick some ide about the token handling.

@Sarahkhan20
Copy link

It can be concerning for companies' private repositories , what do y'all think?

@phamhung075
Copy link

phamhung075 commented Dec 27, 2024

For company private repositories, I recommend running gitingest directly from the command line to ensure sensitive data remains secure.
you need clone this repos
https://pypi.org/project/gitingest/ then run
gitingest /path/to/directory

if you have problem
Error: 'charmap' codec can't encode characters in position 22-24: character maps to <undefined> Aborted!

you can fix like that
https://github.com/cyclotruc/gitingest/pull/72

@cevatkerim
Copy link

With #69 I added this using PAT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed planned This will be implemented
Projects
None yet
Development

No branches or pull requests

7 participants