Simple open source self-hosted file sharing solution.
PsiTransfer
Simple open source self-hosted file sharing solution. It's an alternative to paid services like Dropbox, WeTransfer.
--harmony-async-await
flag/admin
Page lists bucket information, Screenshot (disabled until you set adminPass
config value)sid=<myBucketID>
See the blog posts about PsiTransfer: https://psi.cx/tags/PsiTransfer/ and checkout the Documentation
Quickstart Docker
$ docker run -p 0.0.0.0:3000:3000 -e PSITRANSFER_ADMIN_PASS=secret -v $PWD/data:/data psitrax/psitransferdata volume needs UID 1000
$ sudo chown -R 1000 $PWD/data
Specify the version by using image tags e.g.:
latest
: corresponds to master branch2
: latest stable 2.x.x
1.1
: latest stable 1.1.x
1.0.0
: exact versionManual, precompiled
# Be sure to have NodeJS >= 12 $ node -v v12.4.0Manual, from sourceDownload and extract latest release package from
https://github.com/psi-4ward/psitransfer/releases
Install dependencies and start the app
$ NODE_ENV=production npm install $ npm start
# Compile the frontend apps $ cd app $ npm install $ npm run buildConfigurationInstall dependencies
$ cd .. $ npm install $ npm start
There are some configs in config.js
like port and data-dir.
You can:
config.js
(not recommend)
config.production.js
where production
is the value from NODE_ENV
See config.dev.js
PSITRANSFER_UPLOAD_DIR
to set the upload directoryPSITRANSFER_UPLOAD_PASS
environment variableCustomization
public/pug/upload.pug
and download.pug
are kept simple.
You can alter these files and add your logo and styles.
Please keep a footnote like Powered by PsiTransfer :)
Debug
Psitransfer uses debug:
DEBUG=psitransfer:* npm startSide notes
Download all as ZIP
does not support resuming the download.:star2: Contribution is highly welcome :metal:
Want to say thanks and buy me a beer?
License
Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.
We'll never share your email with anyone else.