Skip to content
@backblaze-b2-samples

Backblaze B2 Sample Code Repositories

Sample projects and demos for Backblaze B2, from the Solutions Engineering and Labs teams. Unofficial and unsupported — questions and feedback welcome.

Build with Backblaze B2

Practical starter kits, reference apps, and Labs experiments for building with Backblaze B2 Cloud Storage.

Not sure where to start? Browse the curated B2 Samples catalog to find examples by workflow, including data lakehouse, AI, media, resilience, and integrations.

Get started with B2 · B2 S3-Compatible API

Start here

Your goal Recommended starting point What you get
Build a full-stack, file-backed app Vibe Coding Starter Kit A production-minded TypeScript + Python foundation with uploads, file browsing, and B2 already integrated.
Build an AI knowledge base Agentic RAG Vector Starter Kit Document ingestion, semantic search, grounded chat, citations, and B2-backed storage.
Upload directly from a web app B2 Browser Upload Focused examples using both the B2 Native and S3-Compatible APIs.
Learn the S3-Compatible API with Python B2 Python S3 Sample A small, approachable B2 quick-start application built with boto3.

Explore by workflow

What to expect

This organization contains two kinds of projects:

  • Starter kits and reference apps are designed to be read, adapted, and used as a foundation for your own B2 integration.
  • Labs experiments explore a specific workflow or technology. They are useful working examples, but may evolve quickly and are not a substitute for production architecture or formal product support.

Check each repository's README for prerequisites, security considerations, and its current maintenance status before adopting it.

Work with us

Have a bug report, a documentation improvement, or a B2 workflow you would like to see demonstrated?

  1. Start with the README in the most relevant repository.
  2. Open an issue there with a clear use case, expected outcome, and a minimal reproduction when applicable.
  3. For B2 account, billing, or production product support, use Backblaze Support rather than an example repository issue.

We welcome practical feedback from developers, customers, partners, and the open-source community. The most useful requests explain the real workflow you are trying to build, not just the technology involved.

Planning for storage at scale? If you are a customer with large-scale storage needs, contact Backblaze Sales to work with a Solutions Engineer on your architecture, integration, and pricing.

Building responsibly

Examples should never be copied blindly into production. Use least-privilege application keys, keep credentials out of source control, review access policies and lifecycle settings, and validate your integration against the official B2 documentation.


Backblaze B2 is S3 compatible object storage built for developers, data, media, and AI workloads.

Pinned Loading

  1. vibe-coding-starter-kit vibe-coding-starter-kit Public template

    Starter kit for vibe coders building apps with file uploads and object storage. This full-stack dashboard template integrates with Backblaze B2 Cloud Storage and includes secure upload flows, file …

    TypeScript 15 4

  2. agentic-rag-vector-starter-kit agentic-rag-vector-starter-kit Public template

    Agentic RAG vector starter kit with AI coding agent architecture, Langchain, LanceDB, and Backblaze B2 for document upload, semantic search, grounded chat, and document citations.

    Python 2 1

  3. image-generation-prompt-flow image-generation-prompt-flow Public

    AI image generation prompt flow example app focused on prompt engineering and prompt optimization, comparing models GPT Image, DALL-E, Gemini Nano Banana, and Google Imagen. Shows how image prompts…

    TypeScript 4 1

  4. openclaw-b2-sync-backup openclaw-b2-sync-backup Public

    OpenClaw automatic backup and sync to Backblaze B2. Keep state durable across machines, restore instantly on new hardware, and roll back to previous snapshots if configs break or memory becomes cor…

    TypeScript 3 3

  5. b2-transformers-video-object-detection b2-transformers-video-object-detection Public

    Real-time video object detection monitoring demo using Transformers.js and Backblaze B2 Cloud Storage. Runs YOLOv9 fully in the browser with automatic capture intervals, no server or GPU required. …

    JavaScript 2 2

Repositories

Showing 10 of 151 repositories
  • open3d-point-cloud-pipeline Public

    Open3D point-cloud pipeline that ingests LiDAR/photogrammetry scans (PLY/PCD/LAS/LAZ) into Backblaze B2, then downsamples, registers, meshes, and renders them, writing every artifact back to B2. Local and CPU-only over the S3-compatible API; no database and no second API key.

    backblaze-b2-samples/open3d-point-cloud-pipeline's past year of commit activity
    TypeScript 1 MIT 0 0 12 Updated Sep 10, 2026
  • panns-audioset-tagging Public template

    Full-stack sample app that tags audio locally with PANNs — 527 AudioSet labels plus a 2048-dim embedding per clip — and stores every clip, tag, and dataset manifest in Backblaze B2 over the S3-compatible API. Next.js 16 + FastAPI, CPU by default.

    backblaze-b2-samples/panns-audioset-tagging's past year of commit activity
    TypeScript 0 MIT 0 0 12 Updated Sep 10, 2026
  • deoldify-archive-colorizer Public

    Colorize black-and-white archival photos and film stills locally with DeOldify (NoGAN) and keep both the original masters and the colorized restorations in Backblaze B2 — an ingest, colorize, compare, and retain pipeline for film archives, museums, and documentary teams.

    backblaze-b2-samples/deoldify-archive-colorizer's past year of commit activity
    TypeScript 0 MIT 0 0 4 Updated Sep 10, 2026
  • mmdetection3d-lidar-dataset Public template

    Full-stack pipeline that turns raw LiDAR point clouds into 3D object-detection and segmentation datasets with the real MMDetection3D engine — frames, annotations, and model checkpoints stored on Backblaze B2 over the S3-compatible API. For autonomous-vehicle and robotics teams; Next.js + FastAPI, B2 credentials only.

    backblaze-b2-samples/mmdetection3d-lidar-dataset's past year of commit activity
    TypeScript 0 MIT 0 0 15 Updated Sep 10, 2026
  • nemo-curator-training-data Public

    Curate LLM pretraining and fine-tuning data with NVIDIA NeMo Curator — a multi-stage deduplicate, quality-filter, and PII-redact pipeline that writes versioned, lineage-tracked JSONL corpora to Backblaze B2 over the S3-compatible API. FastAPI + Next.js sample app.

    backblaze-b2-samples/nemo-curator-training-data's past year of commit activity
    TypeScript 0 MIT 0 0 14 Updated Sep 10, 2026
  • opendronemap-photogrammetry-pipeline Public

    Full-stack OpenDroneMap photogrammetry pipeline that turns overlapping drone photos into orthomosaics, DEMs, point clouds, and textured 3D meshes, storing both inputs and far-larger outputs on Backblaze B2 via the S3-compatible API — a sample app for surveying, agriculture, and GIS teams.

    backblaze-b2-samples/opendronemap-photogrammetry-pipeline's past year of commit activity
    TypeScript 0 MIT 0 0 12 Updated Sep 10, 2026
  • speechbrain-call-center-analytics Public

    On-device SpeechBrain call-center analytics: transcription, diarization & sentiment, all stored on Backblaze B2

    backblaze-b2-samples/speechbrain-call-center-analytics's past year of commit activity
    TypeScript 0 MIT 1 0 3 Updated Sep 10, 2026
  • nuscenes-sensor-data-lake Public

    Backblaze B2 as an S3-compatible data lake for autonomous-vehicle multi-sensor datasets: keep nuScenes camera, LiDAR & radar blobs + annotations in B2 and stream keyframes into 3D-perception training on demand via the real nuScenes devkit. Next.js + FastAPI sample.

    backblaze-b2-samples/nuscenes-sensor-data-lake's past year of commit activity
    TypeScript 0 MIT 0 0 13 Updated Sep 10, 2026
  • birdnet-passive-acoustic-monitoring Public

    BirdNET passive acoustic monitoring sample app: detect and clip bird species in field recordings with the official on-device BirdNET-Analyzer, then browse a per-recording detection timeline. Raw audio, detections, and event clips stored on Backblaze B2. Next.js + FastAPI + TensorFlow.

    backblaze-b2-samples/birdnet-passive-acoustic-monitoring's past year of commit activity
    TypeScript 0 MIT 0 0 13 Updated Sep 10, 2026
  • yolo-drone-footage-detection Public

    Full-stack Backblaze B2 sample app that runs Ultralytics YOLO object detection on drone and dashcam video, maps each detection against its GPS track, and stores the source video, annotated keyframes, per-frame JSON, and GeoJSON track in B2 over the S3-compatible API. Next.js + FastAPI.

    backblaze-b2-samples/yolo-drone-footage-detection's past year of commit activity
    TypeScript 1 MIT 0 0 14 Updated Sep 10, 2026

Most used topics

Loading…