{"id":51298672,"url":"https://github.com/jeeftor/otm","last_synced_at":"2026-06-30T17:01:35.901Z","repository":{"id":361847689,"uuid":"1255964690","full_name":"jeeftor/otm","owner":"jeeftor","description":"OPNSense traffic monitor","archived":false,"fork":false,"pushed_at":"2026-06-01T13:42:51.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-01T15:17:24.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeeftor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-01T10:35:49.000Z","updated_at":"2026-06-01T13:03:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jeeftor/otm","commit_stats":null,"previous_names":["jeeftor/otm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jeeftor/otm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeftor%2Fotm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeftor%2Fotm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeftor%2Fotm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeftor%2Fotm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeeftor","download_url":"https://codeload.github.com/jeeftor/otm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeeftor%2Fotm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34975672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-30T17:01:35.203Z","updated_at":"2026-06-30T17:01:35.894Z","avatar_url":"https://github.com/jeeftor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OTM\n\nOTM is an early self-hosted OPNsense Traffic Monitor. The first implementation focuses on setup validation:\n\n- confirm the OPNsense API key works,\n- check whether NetFlow status/config endpoints are readable,\n- check whether OPNsense appears to be exporting NetFlow to this collector,\n- listen for NetFlow v9 UDP packets and show packet status.\n\nThe long-term goal is per-device hourly/daily internet usage by combining NetFlow with DHCP, ARP, and NDP identity data.\n\n## Quick Start\n\n```bash\ncp .env.example .env\nmake build\n./bin/otm\n```\n\nOpen:\n\n```text\nhttp://127.0.0.1:8080/setup\n```\n\n## Important Settings\n\n```text\nOTM_WEB_ADDR=127.0.0.1:8080\nOTM_NETFLOW_ADDR=0.0.0.0:2055\nOTM_NETFLOW_ALLOWED_EXPORTERS=192.168.1.1\nOTM_COLLECTOR_ADVERTISE_ADDR=192.168.1.20:2055\nOTM_OPNSENSE_URL=https://192.168.1.1\nOTM_OPNSENSE_API_KEY_FILE=./secrets/opnsense-key\nOTM_OPNSENSE_API_SECRET_FILE=./secrets/opnsense-secret\n```\n\nSet `OTM_COLLECTOR_ADVERTISE_ADDR` to the IP and UDP port that OPNsense should export NetFlow to.\n\n## API Endpoints\n\n```text\nGET /healthz\nGET /readyz\nGET /setup\nGET /api/status\nGET /api/netflow/status\nGET /api/opnsense/validate\n```\n\nIf `OTM_WEB_AUTH_TOKEN` is set, pass it as:\n\n```text\nAuthorization: Bearer \u003ctoken\u003e\n```\n\n## Development\n\n```bash\nmake test\nmake lint\nmake build\nmake build-freebsd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeeftor%2Fotm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeeftor%2Fotm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeeftor%2Fotm/lists"}