Skip to content

Pacman Mirror via IPFS for ArchLinux, Endeavouros and Manjaro

License

Notifications You must be signed in to change notification settings

floatyboy/pacman.store

 
 

Repository files navigation

The toolset has been split off, and is now here available.

pacman.store

Current status and any announcements as well as a maintaince log can be found here

Under the domain pacman.store are package mirrors provided via the IPFS-Network. If you choose this as your mirror, Pacman will download the files from a local http-proxy and the accessed files will be shared with the IPFS-Network.

If you run on multiple machines in your local network IPFS will exchange the files locally rather than downloading the same file multiple times from the internet.

The data is held and shared by a collaborative cluster, which is provided by volunteers.

Cluster members

Member ID Server Location Internet-Provider AS Provider
12D3KooWDM4BGmkaxhLtEFbQJekdBHtWHo3ELUL4HE9f4DdNbGZx odin.pacman.store Nuremberg, Germany netcup AS197540 @RubenKelevra
123... Guthrie, Oklahoma Cox Communications Inc AS22773 @teknomunk
12D3KooWGCSifNrJPZPfEdhAjRtxCW2dukiqQEqg4RAV6hE2jgbA vidar.pacman.store Vilnius, Lithuania UAB Interneto vizija AS20080814 @RubenKelevra
123... ~ Tokyo, Japan AS7506 anonymous
12D3KooWBqQrnTqx9Wp89p2bD1hrwmXYJQ5x1fDfigRCfZJGKQfr luflosi.de Saarland, Germany VSE NET GmbH AS9063 @Luflosi

Import Server uptime (last month)

Service Status
IPv6
IPv4
IPFS-Port
IPFS-Cluster-Port

Join the Cluster

If you want to join and contribute bandwidth and disk space, feel free to do so. The repo-size is about 70 GB. Since the data is rotating quite quickly it's recommended to enable the Garbage Collector with --enable-gc for your IPFS-Daemon.

The default storage size for IPFS needs to be altered in the config file.

If you're running your cluster follower on a computer with a static ip or a static domain name: Feel free to add it to the list of peer_addresses in the JSON config files, found in collab-cluster-config. Then send a pull request.

Details how to join the cluster are available on the collab cluster website.

tl;dr: You need a locally running IPFS node. Your IPFS StorageMax setting may needs to be adjusted. You need ipfs-cluster-follow, then run:

ipfs-cluster-follow pkg.pacman.store run --init cluster.pkg.pacman.store

On low power machines use the following command:

ipfs-cluster-follow pkg.pacman.store run --init lowpower.cluster.pkg.pacman.store

Use the pkg cache with Pacman

Install ipfs on each of your systems, you need set it up and and start it as a service.

Then add the following to your /etc/pacman.d/mirrorlist as first entry:

Archlinux

# IPFS
Server = http://x86-64.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo
Server = http://x86-64.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo
Server = http://x86-64.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo

Endeavouros

# IPFS
Server = http://x86-64.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo
Server = http://x86-64.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo
Server = http://x86-64.archlinux.pkg.pacman.store.ipns.localhost:8080/$repo

And additionally in /etc/pacman.d/endeavouros-mirrorlist

# IPFS
Server = http://endeavouros.pkg.pacman.store.ipns.localhost:8080/repo/$repo/$arch
Server = http://endeavouros.pkg.pacman.store.ipns.localhost:8080/repo/$repo/$arch
Server = http://endeavouros.pkg.pacman.store.ipns.localhost:8080/repo/$repo/$arch

Manjaro

# IPFS
Server = http://manjaro.pkg.pacman.store.ipns.localhost:8080/stable/$repo/$arch
Server = http://manjaro.pkg.pacman.store.ipns.localhost:8080/stable/$repo/$arch
Server = http://manjaro.pkg.pacman.store.ipns.localhost:8080/stable/$repo/$arch

Manjaro (ARM)

# IPFS
Server = http://manjaro.pkg.pacman.store.ipns.localhost:8080/arm-stable/$repo/$arch
Server = http://manjaro.pkg.pacman.store.ipns.localhost:8080/arm-stable/$repo/$arch
Server = http://manjaro.pkg.pacman.store.ipns.localhost:8080/arm-stable/$repo/$arch

It is recommended to turn pubsub on, with the gossipsub router for low latency download starts.

This need the flags --enable-pubsub-experiment --enable-namesys-pubsub on the ipfs-daemon and the Pubsub-Router in the config need to be set to gossipsub.

FAQ

If you have any questions, feel free to ask in the IPFS-chat on matrix, after consulting the FAQ

Get an ISO/bootstrap image from IPFS

ISO and bootstrap files are also stored on the cluster:

ArchLinux ISO/bootstrap images


IPFS-URL Content
/ipns/cluster.pkg.pacman.store cluster setup domain which holds the config file
/ipns/x86-64.archlinux.pkg.pacman.store/ regular archlinux mirror
(without '/os/x86_64/' subfolders in path)
/ipns/x86-64.archlinux.pkg.pacman.store/iso/ current ArchLinux ISO+bootstrap images
/ipns/endeavouros.pkg.pacman.store/ regular Endeavouros mirror
/ipns/manjaro.pkg.pacman.store/ regular Manjaro mirror
(without staging/unstable/testing)

About

Pacman Mirror via IPFS for ArchLinux, Endeavouros and Manjaro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%