A lightweight Windows background app that monitors PowerPoint presentations being opened on a machine, copies the files locally, and silently uploads them to a shared Google Drive folder using a service account β with no user interaction required.
- π― Monitors
.pptx,.ppt,.ppsx,.pps,.potx, and.potfiles opened via PowerPoint - π Copies detected files to a secure local folder
- βοΈ Uploads each file to a pre-configured Google Drive folder
- π Uses a Google service account β no login prompts or browser windows
- π§Ό Runs silently in the background (only visible in Task Manager)
- πΌ Ideal for conference,meeting, hospital, corporate, or kiosk environments
- The app watches for PowerPoint (
POWERPNT.EXE) processes and extracts opened file paths. - Each new file is copied to a folder like
C:\CopiedPresentations. - Files are then uploaded to a specific Google Drive folder using a service account key.
- The service account needs access to the target Drive folder (via "Share with...").
- .NET 6.0+ SDK
- Windows OS
- A Google Cloud project with:
- β Google Drive API enabled
- β
A service account with a
.jsonkey - β Access to the shared Drive folder
-
Clone this repository
-
Place your
service_account.jsonfile in the output folder -
Update the Drive folder ID inside
UploadToDrive()inProgram.cs -
Share the target Google Drive folder with the service account email
-
Build and publish:
dotnet publish -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true