PaperPhone这项目是我朋友一直在开发的,这里帮他推荐一下。项目主要分为两个版本:Plus、Lite,Plus比Lite多了音视频会议、朋友圈等功能。
项目的亮点是端到端加密,且使用Tor接入服务,服务器部署不需要准备域名、TLS证书或NGNIX。
这里我部署一个Lite版本的服务端,安装Docker:
apt update
apt install curl
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
克隆存储库:
cd /opt
git clone https://github.com/619dev/PaperPhoneLite.git
cd PaperPhoneLite/
复制一份配置文件:
cp server/.env.example .env
编辑env配置文件:
nano .env
至少设置以下内容:
JWT_SECRET
DB_PASS
MYSQL_ROOT_PASSWORD
REDIS_PASS
如果你不想手动配置,上述配置全部都可以使用以下命令生成:
openssl rand -hex 32
启动:
docker compose up -d
查看Tor域名:
cat logs/onion-address.log
选择你的客户端,输入刚才查看到的Tor域名,连接服务器以开始使用,其中iOS客户端已经在AppStore上架:
https://github.com/619dev/ppl-android
https://github.com/619dev/ppl-ios
https://github.com/619dev/ppl-mac
https://github.com/619dev/ppl-win

荒岛


















