{"id":50604474,"url":"https://github.com/danielunderwood/log2http","last_synced_at":"2026-06-05T21:02:19.249Z","repository":{"id":68966529,"uuid":"463912148","full_name":"danielunderwood/log2http","owner":"danielunderwood","description":"Matches log lines to trigger HTTP requests","archived":false,"fork":false,"pushed_at":"2023-02-25T19:37:43.000Z","size":46,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T19:11:02.007Z","etag":null,"topics":["logging","webhooks"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielunderwood.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-02-26T16:54:10.000Z","updated_at":"2022-03-02T02:58:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"1381fb90-dc30-438b-9724-844d958a2a92","html_url":"https://github.com/danielunderwood/log2http","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/danielunderwood/log2http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielunderwood%2Flog2http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielunderwood%2Flog2http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielunderwood%2Flog2http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielunderwood%2Flog2http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielunderwood","download_url":"https://codeload.github.com/danielunderwood/log2http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielunderwood%2Flog2http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33959537,"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-05T02:00:06.157Z","response_time":120,"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":["logging","webhooks"],"created_at":"2026-06-05T21:02:18.346Z","updated_at":"2026-06-05T21:02:19.233Z","avatar_url":"https://github.com/danielunderwood.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log2http\n\nMatches log lines to trigger HTTP requests. A super hacky alternative to ELK or loki.\n\n## Supported HTTP Targets\n- Discord\n\n## Caveats\n\nAt the moment, the following edge cases apply:\n- There is no knowledge of what lines trigger requests, so requests could be duplicated upon restart\n- There is no retry mechanism, so failed webhooks will not be retried\n\n## Usage\n\n### Docker\nA docker image is available at ghcr.io/danielunderwood/log2http. Really you probably want to use\ndocker-compose or some other system to manage configuration (ansible, k8s manifests, etc), but this should get you started.\n\n```shell\n$ docker run -d \\\n    -v $LOG_DIR:/logs \\\n    -e URL=https://example.com/... \\\n    --name log2http \\\n    ghcr.io/danielunderwood/log2http -file /log/whatever.log -sourceName \"$(hostname)/docker\" -regexp \"a|b\"\n```\n\n### Binary\n\nBinaries for most major OS (Linux/MacOS/Windows/BSD) and architecture (x64/arm/arm64) are available under\n[releases](https://github.com/danielunderwood/log2http/releases).\n\n```shell\n$ log2http -file FILENAME -regexp \"^[Rr]egex$\" -url https://discordapp.com/...\n$ # Or supply URL via environment\n$ export URL=\"https://discordapp.com/...\"\n$ log2http -file FILENAME -regexp \"^[Rr]egex$\n```\n\n## Development\n\nThe development environment is currently set up with nix flakes.\n\n### Development Environment\n```shell\n$ nix develop\n```\n\n### Build Binary\n```shell\n$ nix build\n```\n\n### Build and Run Binary\n```shell\n$ nix run .#log2http -- -file filename\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielunderwood%2Flog2http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielunderwood%2Flog2http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielunderwood%2Flog2http/lists"}