Skip to content

A command-line image repository program synchronizing online with Firebase.

Notifications You must be signed in to change notification settings

davidwyao/Photo-Repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoRepo

A command-line image repository program!

Supports:

  • Bulk uploading, downloading, and deletion of image files
  • Public images discoverable and downloadable by other users
  • Private images discoverable and downloadable only by you

Requirements

Python 3

This program was tested using Python 3.9.5.

Pyrebase

Install via terminal: pip install pyrebase

Usage

To run: python src/main.py

Place images you would like to upload in the /upload folder. Images will be downloaded to /download.

Except during login, users are referred to by the part of their email before the @, i.e. pytest for pytest@pytest.com.

uploadpath and downloadpath parameters can be changed in firebase_controller.py.

To run unit tests ensure pytest.jpg has not been deleted from /upload, and that uploadpath and downloadpath are at default values.

Technologies

Firebase via the Pyrebase wrapper

  • User authentication via email and password
  • NoSQL database with advanced security rules
  • Cloud storage with configurable access restrictions

Python

  • Everything else!

Potential additions

  • Private image encryption prior to uploading using symmetric keys.

About

A command-line image repository program synchronizing online with Firebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages