Skip to main content

Getting Started

This guide will help you install and set up BearFlare to sync your Bear.app notes to Cloudflare D1.

Quick Start

# 1. Make the script executable
chmod +x bearflare.sh

# 2. Set your Cloudflare credentials (or use config files)
export CLOUDFLARE_ACCOUNT_ID="abc123..."
export CLOUDFLARE_API_TOKEN="xxxxx"
export CLOUDFLARE_D1_DATABASE_ID="def456..."

# 3. Run sync
./bearflare.sh

Prerequisites

You need macOS with Bear.app installed, and a free Cloudflare account.

Installation

1. Download and make executable

chmod +x bearflare.sh

2. Install jq

brew install jq

3. Set up your Cloudflare credentials

See the Configuration guide for setup instructions.

First Run

Set up your Cloudflare credentials (see Configuration), then run:

./bearflare.sh

Next Steps

  • Configure your Cloudflare credentials in the Configuration guide
  • Learn about all available options in the Usage guide
  • Troubleshoot any issues in the Troubleshooting guide