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

推荐订阅源

P
Proofpoint News Feed
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
量子位
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
IT之家
IT之家
V
Visual Studio Blog
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
D
Docker
V
V2EX

Hacker News: Front Page

SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Virginia Bans Sale of Geolocation Data Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Ancient DNA reveals pervasive directional selection across West Eurasia [pdf] AI cybersecurity is not proof of work Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository A Better Ludum Dare; Or, How to Ruin a Legacy 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] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests 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 Codex Hacked a Samsung TV
GitHub - SethPyle376/hiraeth: Local AWS emulator focused ...
2026-04-16 · via Hacker News: Front Page

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.