-
Notifications
You must be signed in to change notification settings - Fork 16
/
snapcraft.yaml
55 lines (42 loc) · 1.76 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: ipfs-pinner
version: 'git'
summary: A toolkit to upload files or directory to IPFS pinning services.
description: |
ipfs-pinner is a toolkit to help upload files or specific content id to IPFS pinning services.
Website https://github.com/wabarc/ipfs-pinner
Supported Pinning Services:
1.Infura
Infura is a freemium pinning service that doesn't require any additional setup. It's the default one used.
Please bear in mind that Infura is a free service, so there is probably a rate-limiting. https://infura.io
Usage:ipfs-pinner file-to-path
2.Pinata
Pinata is a freemium pinning service. It gives you more control over what's uploaded.
You can delete, label and add custom metadata. This service requires signup. https://pinata.cloud/
Usage:ipfs-pinner -p pinata file-to-path
3.NFT.Storage
NFT.Storage is a long-term storage service designed for off-chain NFT data
(like metadata, images, and other assets) for up to 31GiB in size. Data is
content addressed using IPFS, meaning the URL pointing to a piece of data
(“ipfs://…”) is completely unique to that data.
4.Web3.Storage
Web3.Storage is a service to make building on top of Filecoin as simple as
possible - giving the developers the power of open, distributed networks via
a friendly JS client library. Behind the scenes, Web3.Storage is backed by
Filecoin and makes content available via IPFS leveraging the unique
properties of each network.
grade: stable
confinement: strict
base: core18
parts:
ipfs-pinner:
plugin: go
source: https://github.com/wabarc/ipfs-pinner.git
go-importpath: github.com/wabarc/ipfs-pinner/cmd/ipfs-pinner
build-packages:
- build-essential
apps:
ipfs-pinner:
command: ipfs-pinner
plugs:
- home
- network