Back to Notes

Settings

Cloud Storage

Configuration

API Keys

Configure your API keys in the environment variables or .env.local file.

DEEPGRAM_API_KEY=your_key
ANTHROPIC_API_KEY=your_key
Cloudflare R2 Storage

Configure Cloudflare R2 for cloud storage. Notes will sync across all devices.

CLOUDFLARE_ACCOUNT_ID=your_account_id
R2_ACCESS_KEY_ID=your_access_key
R2_SECRET_ACCESS_KEY=your_secret_key
R2_BUCKET_NAME=openpocket
Pocket Device

Connect your Pocket device using the File System Access API (Chrome/Edge). Click "Connect Pocket Device" in the sidebar to grant access.

R2 Setup Guide

Step 1: Create R2 Bucket

Go to Cloudflare Dashboard → R2 → Create bucket → Name it openpocket

Step 2: Get Account ID

In your bucket settings, find the S3 API URL. Your Account ID is the subdomain:

https://ACCOUNT_ID.r2.cloudflarestorage.com/bucket

Step 3: Create API Token

  1. Go to R2 Overview (not bucket settings)
  2. Click "Manage R2 API Tokens" on the right sidebar
  3. Click "Create API Token"
  4. Select "Object Read & Write" permission
  5. Select your bucket or "Apply to all buckets"
  6. Click Create and copy both keys shown

Step 4: Add to Vercel

In Vercel project settings → Environment Variables, add all four R2 variables.

About

OpenPocket
Version 1.1.0

A personal voice notes app that transcribes your recordings using Deepgram Nova 3 and generates smart summaries using Claude. Notes are stored in Cloudflare R2 for sync across all your devices.