Skip to content

Upload your old local files (etc. text/photo...) to AWS S3, find text file summary or geolocation of photo.

Notifications You must be signed in to change notification settings

htzhang2/aws-file-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AWS File Analyzer

Imagine your desktop stored many old photos or text files, you forget where photos were taken, or what is the summary for text file. You want to upload these files to AWS S3, then use OpenAI api to analyze, display analysis result in structured format, then play audio summary.

A full-stack project with .NET 8 API + React UI.
Login, uploads local files to AWS S3, save file meta inforamtion into Azure SQL db, generate a presigned url and analyzes url with OpenAI API.

πŸš€ Demo Screenshots

Upload UI

Upload UI Analyze UI

API Response

API Upload API Summary

πŸš€ Tech Stack

  • Backend: .NET 8 Web API (C#), EF Core
  • Frontend: React + Axios
  • Cloud: AWS S3, Azure SQL Db
  • OpenAI: API
  • Authentication: Jwt token

πŸ“¦ How to Run Locally

Backend

cd backend
update OpenAI:ApiKey, ConnectionStrings:DefaultConnection in appsettings.development.json
update S3BucketName in OpenAwsController.cs
aws configure (for aws_access_key_id / aws_secret_access_key)
dotnet restore
dotnet ef database update
dotnet run

### Frontend

cd frontend
npm install
npm start


## Future Plan 

Deploy backend service to AWS
Photo Ablum based on analysis result
More file type support (etc. PDF/audio/video)

About

Upload your old local files (etc. text/photo...) to AWS S3, find text file summary or geolocation of photo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published