IPFS Web Upload.
Go to file
Citlali del Rey 5bb8febfa2
Add argon2id password auth (through DB)
2023-02-22 21:58:58 -08:00
.idea Add pins 2022-11-04 17:31:41 -07:00
lib Add argon2id password auth (through DB) 2023-02-22 21:58:58 -08:00
public Style tables better, use table for pin list 2023-02-22 20:20:39 -08:00
schema Add argon2id password auth (through DB) 2023-02-22 21:58:58 -08:00
script Add pins 2022-11-04 17:31:41 -07:00
t Add pins 2022-11-04 17:31:41 -07:00
templates Style tables better, use table for pin list 2023-02-22 20:20:39 -08:00
.gitignore Add pins 2022-11-04 17:31:41 -07:00
LICENSE Add LICENSE 2022-11-04 21:11:42 -07:00
Makefile.PL Add argon2id password auth (through DB) 2023-02-22 21:58:58 -08:00
README.md Add README.md 2022-11-11 12:27:40 -08:00
ipfs-pinning-service.yaml Allow /pins/id POST (replace) 2022-11-04 20:48:33 -07:00
ipfs_upload.default.yml Increase web upload limit to 100Mb 2023-02-06 21:37:46 -08:00

README.md

IPFS Upload

Simple IPFS remote pinning service and HTTP upload provider.

Currently, it only supports Postgres and LDAP as backends. LDAP is used to login while Postgres is used to store information about pins and access tokens used by tools.

In addition to providing a remote pinning endpoint at /api, you can also POST uploads directly to the root / with an access token and recieve a URL back:

$ curl -H "Authorization: Bearer ..." -F file=@file https://u.unix.dog/
https://unix.dog/ipfs/Qm...

Setup

To setup this service locally, you will need:

  • PostgreSQL
  • LDAP service with password auth
  • IPFS node with RPC API (Kubo)

Copy the config ipfs_upload.default.yml to ipfs_upload.yml, and edit the config appropriately. Then use hypnotoad or morbo to run script/IpfsUpload. Log in, generate tokens, and point your IPFS remote pinning to /api. Done!