Skip to content

Project scaffolding: build.zig, directory structure, and initial configuration #1

@justrach

Description

@justrach

Overview

Set up the Zig project skeleton for Agentic Browdie.

Tasks

  • Create build.zig with executable target, test step, and module declarations
  • Create build.zig.zon with package metadata
  • Create directory structure:
    • src/cdp/, src/bridge/, src/snapshot/, src/server/, src/crawler/, src/storage/, src/util/
    • js/ (for embedded JS files: stealth.js, readability.js)
    • test/
  • Add stub src/main.zig entry point with CLI argument parsing
  • Add src/bridge/config.zig with environment variable loading (port, CDP_URL, timeouts, auth secret)

Acceptance Criteria

  • zig build compiles successfully
  • zig build test runs (even if no tests yet)
  • All directories exist with placeholder files
  • Config loads from env vars with sensible defaults

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions