惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
小众软件
小众软件
美团技术团队
Martin Fowler
Martin Fowler
爱范儿
爱范儿
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
J
Java Code Geeks
B
Blog
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
博客园 - Franky

Hacker News

Introducing Claude Opus 4.7 GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Bonsai 1-bit WebGPU - a Hugging Face Space by webml-community Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line
GitHub - SethPyle376/hiraeth: Local AWS emulator focused ...
2026-04-16 · via Hacker News

Hiraeth is a local AWS emulator focused on fast integration testing. Signed AWS SDK requests go through a local HTTP endpoint, state is stored in SQLite, and an optional web UI exposes local service state for debugging.

Hiraeth web UI showing the SQS dashboard

This project is early. It is intended for local development and test environments, not as a production AWS replacement.

Current Scope

  • AWS SigV4 header authentication with a seeded local test credential.
  • Authorization modes for audit, enforce, and off.
  • SQS queue resource policy authorization and IAM identity policy evaluation.
  • SQLite-backed IAM users, access keys, inline policies, managed policies, SQS queues, messages, attributes, and tags.
  • SQS-compatible endpoint for common queue and message operations.
  • Partial IAM Query API support for users, access keys, inline user policies, managed policies, and policy attachments.
  • STS GetCallerIdentity support.
  • SQLite-backed request tracing with span flow visualization in the web UI.
  • Web admin UI on a separate port for inspecting local service state.
  • Docker and Docker Compose support.
  • SQLx offline query metadata for checked SQL builds.

Documentation

Quickstart

Start Hiraeth with Docker Compose:

docker compose up --build

The AWS-compatible endpoint listens on http://localhost:4566. The admin UI listens on http://localhost:4567.

The default seeded credential is:

export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test
export AWS_DEFAULT_REGION=us-east-1

For service-specific examples, API support, and current gaps, see:

Compose writes SQLite data to /data/db.sqlite inside the container. Mount your own volume or bind mount at /data if you want data to survive container recreation.

Container Image

Release images are published to GitHub Container Registry:

docker pull ghcr.io/sethpyle376/hiraeth:v0.2.0

Release maintainers can publish a multi-architecture image for linux/amd64 and linux/arm64 from a local Docker Buildx environment:

docker login ghcr.io
scripts/publish-image.sh v0.2.0

The publish script pushes ghcr.io/sethpyle376/hiraeth:<tag>. Tags must match the release format v*.*.*.

Running From Source

mkdir -p .local
HIRAETH_DATABASE_URL=sqlite://.local/db.sqlite cargo run -p hiraeth_runtime

Defaults:

Setting Environment variable Default
AWS emulator host HIRAETH_HOST 0.0.0.0
AWS emulator port HIRAETH_PORT 4566
SQLite URL HIRAETH_DATABASE_URL sqlite://data/db.sqlite
Authorization mode HIRAETH_AUTH_MODE audit
Web UI enabled HIRAETH_WEB_ENABLED true
Web UI host HIRAETH_WEB_HOST 127.0.0.1
Web UI port HIRAETH_WEB_PORT 4567

When running from source, prefer setting HIRAETH_DATABASE_URL to a path under .local/ or another directory that already exists.

Web UI

The web UI is an admin/debug surface for local service state. Current service-specific UI coverage is documented under docs/iam and docs/sqs.

The tracing dashboard records local AWS requests, spans through the runtime and service layers, and full request/response bodies. See the tracing docs for usage notes and data exposure details.

The web UI does not use SigV4 authentication. Keep HIRAETH_WEB_HOST bound to a trusted interface unless you intentionally want to expose local test state.

The current UI vendors its JavaScript and CSS assets and serves them from the Hiraeth web process.

AI Usage

AI tools are used as part of this project's development workflow for code generation, refactoring, test writing, documentation drafts, and design discussion.

Most runtime code has been written by hand, most test code has been generated. Regardless, all changes are reviewed, edited, and accepted by a human maintainer, and the project relies on normal engineering checks such as tests, SQLx query checking, and manual review rather than treating AI output as authoritative.

Contributing

Compatibility reports, focused bug fixes, docs improvements, and small SQS parity improvements are welcome. See CONTRIBUTING.md for the development workflow, suggested issue labels, and starter contribution ideas.

License

Hiraeth is licensed under the MIT License.

Development

Format and test:

cargo fmt
cargo test

Prepare the local database used by SQLx query checking:

cargo run -p xtask -- prepare-db

Seed SQS queues and messages into a running Hiraeth endpoint:

cargo run -p xtask -- seed

By default this targets http://localhost:4566 with the local test/test credential. Use cargo run -p xtask -- seed --help to see endpoint, region, credential, prefix, and reset options.

Refresh SQLx offline metadata:

DATABASE_URL=sqlite://.local/db.sqlite cargo sqlx prepare --workspace -- --all-targets

Check SQLx metadata in CI-style mode:

DATABASE_URL=sqlite://.local/db.sqlite cargo sqlx prepare --workspace --check -- --all-targets

The checked SQL metadata under .sqlx/ should be committed when queries or migrations change.