Giter Site home page Giter Site logo

nullobsi / ipfs-upload Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 105 KB

IPFS Pinning Service in Mojolicious

Home Page: https://git.unix.dog/nullobsi/ipfs-upload

License: GNU Affero General Public License v3.0

Perl 91.71% CSS 7.29% HTML 1.01%
ipfs ipfs-api ipfs-pinner ipfs-pinning-services

ipfs-upload's Introduction

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:

$ 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.

ipfs-upload's People

Contributors

nullobsi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.