{"id":50720148,"url":"https://github.com/thejoefin/lasterrorevent","last_synced_at":"2026-06-09T23:01:55.142Z","repository":{"id":356836884,"uuid":"1231471409","full_name":"TheJoeFin/LastErrorEvent","owner":"TheJoeFin","description":"Get the Last Windows Event Viewer Error that happened within the last hour for a faster dev loop","archived":false,"fork":false,"pushed_at":"2026-05-10T00:48:07.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-10T02:41:21.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheJoeFin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-05-07T01:55:15.000Z","updated_at":"2026-05-10T02:01:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/TheJoeFin/LastErrorEvent","commit_stats":null,"previous_names":["thejoefin/lasterrorevent"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TheJoeFin/LastErrorEvent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FLastErrorEvent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FLastErrorEvent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FLastErrorEvent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FLastErrorEvent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheJoeFin","download_url":"https://codeload.github.com/TheJoeFin/LastErrorEvent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheJoeFin%2FLastErrorEvent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34129072,"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-09T02:00:06.510Z","response_time":63,"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-09T23:01:52.863Z","updated_at":"2026-06-09T23:01:55.137Z","avatar_url":"https://github.com/TheJoeFin.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Last Error Event\n\n`lee` is a Windows-only .NET global tool that finds the newest **Application Error** event in the Windows **Application** log, formats it for LLM debugging, and copies it to your clipboard.\n\n## Usage\n\n```powershell\nlee\n```\n\nBy default, `lee` only returns a matching event if it happened within the last **1 hour**. If nothing recent is found, it tells you and offers to open Event Viewer.\n\n## Options\n\n```text\nlee [--max-age-hours \u003chours\u003e] [--open-event-viewer] [--no-prompt]\n```\n\n- `--max-age-hours \u003chours\u003e`: override the default 1-hour recency window.\n- `--open-event-viewer`: open Event Viewer automatically when no recent event is found.\n- `--no-prompt`: suppress the interactive Event Viewer prompt.\n\n## Install as a global tool from this repo\n\n```powershell\ndotnet pack .\\src\\LastErrorEvent\\LastErrorEvent.csproj -c Release\ndotnet tool install --global --add-source .\\src\\LastErrorEvent\\bin\\Release LastErrorEvent.Tool\n```\n\nIf you rebuild locally and want to reinstall:\n\n```powershell\ndotnet tool update --global --add-source .\\src\\LastErrorEvent\\bin\\Release LastErrorEvent.Tool\n```\n\n## Local development\n\n```powershell\ndotnet build .\\LastErrorEvent.slnx\ndotnet test .\\LastErrorEvent.slnx\ndotnet run --project .\\src\\LastErrorEvent -- --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejoefin%2Flasterrorevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthejoefin%2Flasterrorevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejoefin%2Flasterrorevent/lists"}