Total Pageviews

Tuesday 24 September 2024

用Pingvin Share自建文件分享平台



开源文件分享平台项目「Pingvin Share」可以用来代替 WeTransfer 等的分享网站,如果你有自己的服务器,可以支持通过 Docker 部署或者 Stand-alone 部署

功能介绍

    完全自建:轻松使用私有服务器搭建文件共享平台
    完全隐私:你的文件只属于你!不要将它放到第三方文件平台
    完全无限:想上传多大都可以,硬盘容量的大小是唯一的限制

功能特性

    通过可自定义后缀的链接分享文件
    可自定义任意大小的文件上传限制 (受制于托管所在的硬盘大小)
    对共享链接设置有效期限
    对共享链接设置访问次数和访问密码
    通过邮件自动发送共享链接
    整合 ClamAV 进行反病毒检查

项目地址:
https://github.com/stonith404/pingvin-share

(https://stonith404.github.io/pingvin-share/introduction)

演示地址:
https://pingvin-share.dev.eliasschneider.com

------------------

A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.

https://stonith404.github.io/pingvin-share/

Documentation

For more installation options and advanced configurations, please refer to the documentation.

from https://github.com/stonith404/pingvin-share?tab=readme-ov-file

-------------------------------

Stand-alone Installation

Required tools:

  • Node.js >= 16
  • Git
  • pm2 for running Pingvin Share in the background
git clone https://github.com/stonith404/pingvin-share
cd pingvin-share

# Checkout the latest version
git fetch --tags && git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

# Start the backend
cd backend
npm install
npm run build
pm2 start --name="pingvin-share-backend" npm -- run prod

# Start the frontend
cd ../frontend
npm install
npm run build
API_URL=http://localhost:8080 # Set the URL of the backend, default: http://localhost:8080
pm2 start npm --name "pingvin-share-frontend" -- run start

Uploading Large Files: By default, Pingvin Share uses a built-in reverse proxy to reduce the installation steps. However, this reverse proxy is not optimized for uploading large files. If you wish to upload larger files, you can either use the Docker installation or set up your own reverse proxy. An example configuration for Caddy can be found in ./reverse-proxy/Caddyfile.

The website is now listening on http://localhost:3000, have fun with Pingvin Share 🐧!

from https://stonith404.github.io/pingvin-share/setup/installation#stand-alone-installation

No comments:

Post a Comment