GithubHelp home page GithubHelp logo

tomasvotava / photom Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 139 KB

Transfer your photos from Google Drive to Google Photos and save some of that precious space you need for your school and work projects. And prn. Mostly prn.

License: MIT License

Python 82.16% HTML 1.16% Svelte 6.74% JavaScript 7.45% Dockerfile 2.49%

photom's Introduction

photom

codecov Project License Tests Workflow Status Pylint Workflow Status Mypy Workflow Status Latest Release

Running

Backend

Create .env file:

GOOGLE_CLIENT_ID="<client-id>"
GOOGLE_CLIENT_SECRET="<client-secret>"
OAUTHLIB_INSECURE_TRANSPORT=1
STORE_BACKEND_PATH="./store.sqlite3"
HOST="localhost"
PORT=3000

Run:

poetry install
python -m photom.api.asgi

Frontend

cd frontend
yarn install
echo 'PUBLIC_API_URL=http://localhost:3000' > .env
yarn dev

photom's People

Contributors

tomasvotava avatar renehlavova avatar

Watchers

 avatar

photom's Issues

GoogleDriveClient: Test real-life performance of getting the folder structure and replace lru_cache with some lazy proxy implementation

GoogleDriveClient currently simply caches the results of get_folder calls. We may not need the info in all cases and requesting the metadata for each of the folder will probably be a PITA in the future.

My theory is we only need to keep the file_id of the folder and should provide a way to only request the folder name etc. when needed.

  • Test the real-life performance of the current caching solution.
  • Find out how often we actually access the folder's name.
  • If neccessary, implement a lazy way of getting the folder's metadata.

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.