A Next.js application that provides a user interface for managing and viewing Cloudinary's Last Access Reports. This tool helps you track when your Cloudinary assets were last accessed.
Disclaimer: This is an independent, open-source project and is not officially affiliated with, endorsed by, or connected to Cloudinary. While it uses Cloudinary's API, it is maintained independently.
- Generate new Last Access Reports
- View reports from the last 6 months
- Display detailed asset information for each report
- Paginated display of assets (100 at a time)
- Clean, modern UI using shadcn/ui components
- Node.js 18+ installed
- A Cloudinary account with API access
- Basic familiarity with Next.js (optional)
- Clone the repository:
git clone https://github.com/brad-j/cloudinary-lar.git
cd cloudinary-lar
- Install dependencies:
npm install
# or
yarn
# or
pnpm install
- Create a
.env.local
file in the root directory with your Cloudinary credentials:
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
You can find these credentials in your Cloudinary Console under Settings > Access Keys. Generate a new API key and secret if you don't have one.
- Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Open http://localhost:3000 with your browser to see the application.
- The main page displays a list of your Last Access Reports from the past 6 months
- Each report shows:
- Report ID
- Status
- Resource Type
- Date Range
- Total Assets
- Creation Date
- Click the "Generate Report" button
- Fill in the required information:
- Date Range
- Resource Type (optional)
- Folders to Exclude (optional)
- Click on a report's ID to view its details
- The details page shows:
- All assets included in the report
- Last access date for each asset
- Asset metadata (type, format, size, etc.)
The project uses:
- Next.js 15.0.2 with App Router
- TypeScript
- Tailwind CSS
- shadcn/ui components
- Cloudinary Admin API
This application can be run either locally or deployed to a hosting platform.
Perfect for development or personal use. Follow the "Getting Started" instructions above.
If you want to deploy the application, you can use platforms like:
- Vercel
- Netlify
- Railway
- Your own server
Remember to set the environment variables on your hosting platform.
- Reports older than 6 months are filtered out
- Assets are fetched in batches of 100 to maintain performance
- API rate limits apply based on your Cloudinary plan
Contributions are welcome! Please feel free to submit a Pull Request.
Made with ❤️ by Brad Johnson.