Files
hamview/AGENTS.md
maze 13afa08e8a
Some checks failed
Test and build / Test and lint (push) Failing after 36s
Test and build / Build collector (push) Failing after 43s
Test and build / Build receiver (push) Failing after 42s
Checkpoint
2026-03-05 15:38:18 +01:00

1.2 KiB

AGENTS

This document provides context for AI agents working on this codebase.

Project Overview

HAMView is an online Amateur Radio digital protocol live viewer. It features:

  • Displaying online radio receivers in near real-time
  • Streaming of popular Amateur Radio protocols such as APRS, MeshCore, etc.
  • A live packet stream for each of the protocols
  • Packet inspection

Tech Stack

Used technologies:

  • Framework: Go with echo 4
  • Logging: logrus
  • Code Editor: Visual Studio Code
  • Backend: Xorm on PostgreSQL with PostGIS extensions
  • Broker: Mosquitto broker
  • Testing: use go test -v

Testing Requirements

Always run tests before completing a task.

Run go test -v and golangci-lint run.

Coding Guidelines

General

  • Use builtins from Go, echo and the libraries from go.mod where possible
  • Follow existing code patterns in the code base
  • Don't add new imports unless necessary

Styling

  • Use Go builtins where appropriate
  • Order imports with goimports

Protected files

Never add secrets to code, unless a secret is used as a test vector. In that case, ask for confirmation before adding or changing.