github-ipfs
github-ipfs copied to clipboard
GitHub -> IPFS mirroring
GitHub -> IPFS mirror
GitHub webhook based
How it works
-
git push
- Webhook throw by GitHub
- Webhook catch by github-ipfs
- Clone repository & publish into IPFS
- Write repository hash into Registry at account/repository/branch
- Publish into IPNS updated Registry
Install
docker run airalab/github-ipfs -d -p 8080:8000/tcp -e 'REGISTRY_KEY=top_secret'
Docker exports 8080
webhook port set webhook URI in repository Settings
.
Environment:
- REGISTRY_KEY - GitHub Webhook secret
- REGISTRY_PATH - Absolute registry path in container, default: /registry
- PORT - Webhook port, default: 8000