Skip to content

affan880/nodebb-plugin-storj-upload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Uploads Configuration for Storj

This plugin is designed to work with Storj. You need configure it via environment variables in file index.js as shown below.

Variables:


AWS_ACCESS_KEY_ID="your access key"
AWS_SECRET_ACCESS_KEY="your secret access key"
S3_ACCESS_GRANT="your access grant key"
S3_ENDPOINT="gateway.storjshare.io"
S3_UPLOADS_BUCKET="your bucket name"
S3_UPLOADS_HOST="gateway.storjshare.io"
S3_ALIAS_HOST="link.storjshare.io/raw"

File URL is formed as follows: https://ALIASHOST/ACCESSGRANT/BUCKET/files/image.png

If you need help, create an issue on Github


💙 Thanks

This plugin was creates on based a plugin NodeBB S3 Uploads Plugin.

About

Plugin for NodeBB v3.x.x to upload files to Storj.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • Smarty 10.0%