Skip to content
@backblaze-b2-samples

Backblaze B2 Sample Code Repositories

B2 samples, managed by the Backblaze SE and evangelism teams. These projects are not officially supported, but please ask answer questions and submit feedback.

Pinned Loading

  1. b2-iconik-plugin b2-iconik-plugin Public

    Optimize your iconik and LucidLink storage with B2

    Python

  2. cloudflare-b2 cloudflare-b2 Public

    Provide access to a private Backblaze B2 bucket via a Cloudflare Worker

    JavaScript 88 83

  3. ai-rag-examples ai-rag-examples Public

    Code samples showing how to include data stored in Backblaze B2 in a RAG application

    Jupyter Notebook 11 2

  4. ai-agent-demo ai-agent-demo Public

    Build an AI Agent that accepts natural language questions concerning the Backblaze Drive Stats data set, generates SQL queries, and responds with natural language answers.

    Jupyter Notebook 3 1

  5. ai-rag-app ai-rag-app Public

    Create a conversational AI chatbot web app that answers questions based on data stored in a Backblaze B2 bucket

    Python 4

  6. b2-twelvelabs-example b2-twelvelabs-example Public

    Python 3 2

Repositories

Showing 10 of 51 repositories
  • 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 are structured, refined, and evolved from input to final output, with clear prompt lineage for learning and experimentation.

    backblaze-b2-samples/image-generation-prompt-flow’s past year of commit activity
    TypeScript 0 MIT 0 0 0 Updated Jan 30, 2026
  • 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. Detected snapshots and metadata are stored in low cost, scalable B2 storage for analysis and retention.

    backblaze-b2-samples/b2-transformers-video-object-detection’s past year of commit activity
    HTML 0 MIT 0 0 0 Updated Jan 30, 2026
  • b2-whisper-transformersjs-transcriber Public

    Browser-based audio transcription using Whisper and Transformers.js, storing results in Backblaze B2 Cloud Storage.

    backblaze-b2-samples/b2-whisper-transformersjs-transcriber’s past year of commit activity
    HTML 2 MIT 0 0 0 Updated Jan 27, 2026
  • b2-transformerjs-background-removal Public

    Browser-based AI image background removal app using Transformers.js and the RMBG-1.4 model, storing original and cutout images in Backblaze B2 Cloud Storage — no GPU or backend required.

    backblaze-b2-samples/b2-transformerjs-background-removal’s past year of commit activity
    HTML 2 MIT 0 0 0 Updated Jan 27, 2026
  • b2-python-s3-sample Public

    B2 Quick Start Sample App using Python (boto3) and B2 S3 Compatible API. First in series. This sample app integrates with a pre-staged B2 bucket. See README.md for details.

    backblaze-b2-samples/b2-python-s3-sample’s past year of commit activity
    Python 19 18 0 0 Updated Jan 20, 2026
  • cloudflare-b2 Public

    Provide access to a private Backblaze B2 bucket via a Cloudflare Worker

    backblaze-b2-samples/cloudflare-b2’s past year of commit activity
    JavaScript 88 Apache-2.0 83 1 0 Updated Jan 5, 2026
  • b2-pixeltable-multimodal-data Public

    Example notebooks showing how to use Pixeltable with Backblaze B2 for managing and querying multimodal datasets.

    backblaze-b2-samples/b2-pixeltable-multimodal-data’s past year of commit activity
    Jupyter Notebook 1 0 0 0 Updated Dec 2, 2025
  • notebooks Public

    Example notebooks demonstrating how to use Backblaze B2 Cloud Storage with AI and data workflows.

    backblaze-b2-samples/notebooks’s past year of commit activity
    Jupyter Notebook 0 0 0 0 Updated Nov 19, 2025
  • backblaze-b2-samples/b2-liveread-pixeltable’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Nov 3, 2025
  • b2-integration-mountpoint-csi Public

    Learn how to use the AWS Labs Mountpoint for Amazon S3 CSI Driver with Backblaze B2 Cloud Object Storage

    backblaze-b2-samples/b2-integration-mountpoint-csi’s past year of commit activity
    0 Apache-2.0 0 0 0 Updated Oct 20, 2025