Skip to content

Dotnet Core application to manage pins for an IPFS node -- Read-Only mirror

Notifications You must be signed in to change notification settings

shortcord/ipfs-pin-updater

Repository files navigation

Pipeline Status on Gitlab

IPFS Pin Updater

Small Dotnet application that updates IPFS and IPNS pins.

Installation (Binaries)

To install from binaries, download the latest main artifact here and extract and run.

Installation (Debian Repo)

  1. Import the GPG key from keys.openpgp.org
    • gpg --keyserver keys.openpgp.org --recv-keys 84BD5723FBDAE2D0
    • You can also just download the key directly from here and import it via gpg --import ./filename.gpg.
  2. Export GPG into a directory apt can read, example being /etc/apt/keyrings/
    • mkdir -p /etc/apt/keyrings/ && gpg --export 84BD5723FBDAE2D0 > /etc/apt/keyrings/shortcord.gpg
  3. Add sources.list.d/shortcord.list
    • echo "deb [signed-by=/etc/apt/keyrings/shortcord.gpg] https://shortcord-public-owo-solutions.s3.us-west-000.backblazeb2.com stable main" > /etc/apt/sources.list.d/shortcord.list
  4. Update Apt
    • apt update
  5. Install the package
    • apt install -y ipfs-pin-updater

Configuration

The application is configured by Json appsettings.json though it is recommended to use appsettings.custom.json instead as appsettings.json is managed via your package manager (if it is installed with that).

If you installed the program via apt then the configuration is located /etc/ipfs-pin-updater, otherwise configuration is done via the .json files next to the executable.

Running

If you installed this program via apt then currently only root can run the application, this is due to where it stores the database /var/ipfs-pin-updater.litedb being owned by root. You can however change this location via appsettings.custom.json which would allow whoever you wish to run it.
This will be fixed in the future via a dedicated user and such, please see this issue for status updates.

About

Dotnet Core application to manage pins for an IPFS node -- Read-Only mirror

Topics

Resources

Stars

Watchers

Forks

Languages