You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was also interested in running this in a container. The reason is I don't have python installed so I needed to download it in order to make it work.
I tried but wasn't successful with running contribute.py from a container due to issues with making my ssh keys available within the container. I probably could've updated my git config to not sign commits but didn't try to see if that worked.
Here's the Dockerfile I made if you want to try it without signed commits:
FROM python:3.13-slim
RUN apt-get -y update
RUN apt-get -y install git
ADD contribute.py .
CMD ["python", "contribute.py", "--repository=<YOUR_REPO>"]
Build the container with docker build -t github-activity-generator . and run the image with docker run -v ~/.gitconfig:/root/.gitconfig github-activity-generator
Without docker
I ended up using uv to install python and run the script.
If you're on mac, this worked for me:
run brew install uv
run uv python install 3.13
cd to the directory where you cloned / downloaded the script
run uv init in that directory
run the contribute.py script with uv run contribute.py --repository=<YOUR_REPO>
A way to run this in a docker container.
The text was updated successfully, but these errors were encountered: