Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nullobsi/ipfs-upload
IPFS Pinning Service in Mojolicious
https://github.com/nullobsi/ipfs-upload
ipfs ipfs-api ipfs-pinner ipfs-pinning-services
Last synced: 13 days ago
JSON representation
IPFS Pinning Service in Mojolicious
- Host: GitHub
- URL: https://github.com/nullobsi/ipfs-upload
- Owner: nullobsi
- License: agpl-3.0
- Created: 2022-11-11T20:37:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T03:49:22.000Z (9 months ago)
- Last Synced: 2024-12-03T15:09:12.931Z (about 1 month ago)
- Topics: ipfs, ipfs-api, ipfs-pinner, ipfs-pinning-services
- Language: Perl
- Homepage: https://git.unix.dog/nullobsi/ipfs-upload
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPFS Upload
Simple IPFS remote pinning service and
HTTP upload provider.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:
```shell
$ 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 (optional)
- LDAP service with password auth (optional)
- 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!## Databases
IPFS Upload supports PostgreSQL or SQLite. LDAP and in-database
password hashing with Argon2ID are also supported. Check the default
config to learn how to configure it properly.When using in-database authentication, you can change your password
on the Access Token page. In the config, you can whitelist usernames.
The password will be set on first login.