https://github.com/airalab/github-ipfs
GitHub -> IPFS mirroring
https://github.com/airalab/github-ipfs
docker github-webhooks ipfs
Last synced: 19 days ago
JSON representation
GitHub -> IPFS mirroring
- Host: GitHub
- URL: https://github.com/airalab/github-ipfs
- Owner: airalab
- License: bsd-3-clause
- Created: 2017-03-10T22:41:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T16:30:42.000Z (over 7 years ago)
- Last Synced: 2025-04-11T21:14:03.595Z (19 days ago)
- Topics: docker, github-webhooks, ipfs
- Language: Haskell
- Homepage:
- Size: 10.7 KB
- Stars: 29
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub -> IPFS mirror
---------------------> GitHub webhook based
### How it works
1. `git push`
2. Webhook throw by GitHub
3. Webhook catch by github-ipfs
4. Clone repository & publish into IPFS
5. Write repository hash into *Registry* at **account**/**repository**/**branch**
6. 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