Welcome to the Google Photos Uploader project! This project is an open-source solution for uploading photos to Google Photos using Flutter.
Setup Credentials : visit here
The Google Photos Uploader is a cross-platform application built with Flutter, designed to facilitate the uploading of photos to Google Photos from Windows.
- Upload photos to Google Photos
- Cross-platform support (Android, iOS, Linux, macOS, Web, Windows)
- Easy-to-use interface
- Flutter SDK
- Dart
- Google Photos API credentials
-
Clone the repository:
git clone https://github.com/AffanShaikhsurab/google_photos_uploder.git cd google_photos_uploder
-
Install dependencies:
flutter pub get
-
Set up Google Photos API:
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Enable the Google Photos API for your project.
- Create OAuth 2.0 credentials and download the
credentials.json
file. - Place the
credentials.json
file in the root of the project directory.
-
Run the application:
flutter run
-
Upload Photos:
- Open the app on your desired platform.
- Authenticate with your Google account.
- Select photos to upload.
- Click the upload button to upload photos to Google Photos.
google_photos_uploder/
├── android/
├── ios/
├── lib/
│ ├── ImageCubit_state.dart
│ ├── ImageState.dart
│ ├── gallery.dart
│ ├── home.dart
│ ├── main.dart
│ ├── main_state.dart
├── linux/
├── macos/
├── web/
├── windows/
├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── heic_converter.py
├── pubspec.lock
├── pubspec.yaml
- android/, ios/, linux/, macos/, web/, windows/: Platform-specific directories for building the application.
- lib/: Contains the main application code.
- ImageCubit_state.dart: State management for image cubit.
- ImageState.dart: Image state management.
- gallery.dart: Gallery page implementation.
- home.dart: Home page implementation.
- main.dart: Entry point of the application.
- main_state.dart: Main state management.
- .gitignore: Git ignore file.
- .metadata: Metadata for the project.
- README.md: Project documentation (this file).
- analysis_options.yaml: Linter rules for Dart.
- heic_converter.py: Script for converting HEIC images.
- pubspec.lock: Lock file for dependencies.
- pubspec.yaml: Project dependencies and configurations.
We welcome contributions to the Google Photos Uploader project! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -m 'Add new feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - Submit a pull request.
Please ensure your code adheres to the existing code style and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.