Giter Site home page Giter Site logo

fregie / pho Goto Github PK

View Code? Open in Web Editor NEW
898.0 11.0 53.0 367.11 MB

A serverless application for viewing and synchronizing photos to cloud storage

Home Page: https://pho.tools

License: GNU General Public License v3.0

Kotlin 0.48% Swift 0.70% Objective-C 0.01% Dart 64.34% CMake 4.13% C++ 5.32% C 0.31% HTML 0.67% Makefile 0.35% Go 22.73% Dockerfile 0.04% Ruby 0.92%
backup photos golang flutter gallery-images nas

pho's Introduction



Pho - 一个用于查看和上传照片的无服务端应用

中文 | English

安装

下载apk

Google Play

App store

注: Google Play和App store的版本包含专业版功能,专业版功能未开源.

介绍

该应用的目的是替代手机上的自带相册应用,并且能够将照片同步到网络储存.
功能简单,只是用于查看照片以及同步照片到网络储存.试图做到优秀的体验.

功能

  • 本地照片查看
  • 云端照片查看
  • 增量同步照片到云端
  • 后台定期同步
  • 无数据库,无服务端
  • 以时间组织云端存储的目录结构

支持的网络储存

  • Samba
  • Webdav
  • NFS
  • 百度网盘
  • 阿里网盘
  • oneDrive
  • google drive
  • google photo

Screenshots

roadmap

  • 支持放大/缩小图片
  • 支持上传/浏览视频
  • 支持NFS
  • 支持百度网盘
  • 支持IOS端
  • 支持desktop端
  • 支持中文

Contribute

感谢各位的积极反馈

给本项目提需求的还不少,但是我一个人精力有限,如果你有兴趣,欢迎加入.

可以在issue中回复沟通,帮忙一起做一些功能,提出你的pull request.

文件储存逻辑

本着尽可能简单的逻辑来储存文件,以时间为目录结构,以文件名为文件名储存源文件.在根目录创建一个.thumbnail目录来储存生成的缩略图,缩略图的目录结构与源文件相同.
你可以随时以其他形式利用你备份上去的照片,而不用依赖此app. 目录结构示意图:

├── 2022
│   ├── 07
│   │   ├── 02
│   │   │   ├── 20220702_100940.JPG
│   │   │   ├── 20220702_111416.JPG
│   │   │   └── 20220702_111508.JPG
│   │   └── 03
│   │       ├── 20220703_101923.DNG
│   │       ├── 20220703_112336.DNG
│   │       └── 20220703_112338.DNG
├── 2023
│   └── 01
│       └── 03
│           ├── 20230103_112348.JPG
│           ├── 20230103_124634.JPG
│           └── 20230103_124918.DNG
└── .thumbnail
     └── 2022
         └── 07
             ├── 02
             │   ├── 20220702_100940.JPG
             │   ├── 20220702_111416.JPG
             │   └── 20220702_111508.JPG
             └── 03
                 ├── 20220703_101923.DNG
                 ├── 20220703_112336.DNG
                 └── 20220703_112338.DNG

Star History

Star History Chart

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.