https://github.com/guysv/ipfs-pacman-cache-hook
A pacman hook to add newly-installed packages to IPFS
https://github.com/guysv/ipfs-pacman-cache-hook
archlinux ipfs
Last synced: 12 months ago
JSON representation
A pacman hook to add newly-installed packages to IPFS
- Host: GitHub
- URL: https://github.com/guysv/ipfs-pacman-cache-hook
- Owner: guysv
- Created: 2019-07-25T21:48:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-27T10:27:44.000Z (over 6 years ago)
- Last Synced: 2024-12-22T18:03:19.004Z (over 1 year ago)
- Topics: archlinux, ipfs
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ipfs-pacman-cache-hook
> A pacman hook to add newly-installed packages to [IPFS](https://github.com/ipfs/go-ipfs)
### Usage TLDR
```bash
# Installation
makepkg -i
systemctl --user enable --now ipfs-pacman-cache.path
# Logs
journalctl --user -u ipfs-pacman-cache.service
```
### Why
In the case you are using [arch-mirror](https://github.com/victorb/arch-mirror)
and got timed out, you're probably going to fallback to one of the traditional mirrors.
But then, the next peer to download that package is going to face the same situation.
If you got your package, seed it for the others!