(Pure vibecoding. I apologize in advance.)
A Next.js application for viewing and managing .RW2 raw image files stored in an AWS S3 bucket.
- Browse raw files stored in S3
- View raw images in browser (using WASM-based decoding)
- Add and manage metadata (tags, titles, locations)
- Dark mode UI optimized for image viewing
- Node.js (>= 18.x)
- An AWS S3 bucket containing .RW2 files
- AWS credentials with S3 read access
- Clone the repository
- Install dependencies:
npm install- Create a
.env.localfile in the root directory with the following variables:
AWS_ACCESS_KEY_ID=your_access_key_id
AWS_SECRET_ACCESS_KEY=your_secret_access_key
AWS_REGION=your_region
S3_BUCKET_NAME=your_bucket_name
npm run devOpen http://localhost:3000 in your browser.
- The file browser panel on the left displays all .RW2 files in your S3 bucket
- Click on a file to view it in the central panel
- Use the metadata panel on the right to add tags, titles, and location information
- Search for files using the search box in the file browser panel
For deployment to a VPS, you can build and run the application using:
npm run build
npm startOr use a process manager like PM2:
npm install -g pm2
pm2 start npm --name "rawdirt" -- start- Frontend: Next.js with TypeScript and Material UI
- Raw Decoding: raw-decoder for handling .RW2 files
- State Management: Zustand for managing application state
- API: Server-side API routes for S3 integration
MIT