{"id":51906670,"url":"https://github.com/mozilla-mobile/firefox-ios-log-viewer","last_synced_at":"2026-07-26T23:30:42.124Z","repository":{"id":371443659,"uuid":"1300656865","full_name":"mozilla-mobile/firefox-ios-log-viewer","owner":"mozilla-mobile","description":"A front end tool for viewing logs generated by Firefox for iOS","archived":false,"fork":false,"pushed_at":"2026-07-22T19:56:20.000Z","size":1834,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-25T12:40:32.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mozilla-mobile.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-14T15:28:35.000Z","updated_at":"2026-07-22T03:04:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mozilla-mobile/firefox-ios-log-viewer","commit_stats":null,"previous_names":["mozilla-mobile/firefox-ios-log-viewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mozilla-mobile/firefox-ios-log-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffirefox-ios-log-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffirefox-ios-log-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffirefox-ios-log-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffirefox-ios-log-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozilla-mobile","download_url":"https://codeload.github.com/mozilla-mobile/firefox-ios-log-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffirefox-ios-log-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35931997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"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-07-26T23:30:40.311Z","updated_at":"2026-07-26T23:30:42.110Z","avatar_url":"https://github.com/mozilla-mobile.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log Viewer\n\nA bespoke viewer for Firefox iOS device logs. It builds to a **single\nself-contained HTML file** you can open directly in any browser — no install,\nno server. The UI follows the GitHub design language and matches your system\nlight/dark setting.\n\n## Features\n\n- **Syntax highlighting** of each line's anatomy: timestamp, level, `[category]`,\n  component, and message — plus keyword hotspots (crash/watchdog terms, lifecycle\n  transitions, sync/AppServices, tab counts). Rules mirror the klogg highlighter set.\n- **Min-level filter** (DEBUG / INFO / WARNING / FATAL) — shows the selected\n  level and everything more severe.\n- **Category multi-select**, populated from the canonical `LoggerCategory.swift`\n  list, with Select all / Clear all.\n- **Date range** From/To pickers, prefilled to the log's full time span with a\n  Reset dates button.\n- **Live search** that *navigates* to matching lines: it searches as you type,\n  Enter jumps to the next match (Shift+Enter previous), the hit is highlighted,\n  and the row scrolls into view. Shows `current/total` match count.\n- **Single-line selection**: click a line to select+highlight it; click it again\n  (or another line) to deselect. Only one line is selected at a time.\n- **Virtualized rendering** so large logs (tens of thousands of lines) stay smooth.\n- Load a file via the **Open Log…** button or by **dropping** it on the window.\n\n## Tech\n\n- **React + Vite + TypeScript**, bundled into one HTML file via\n  `vite-plugin-singlefile`.\n- `src/core/` is framework-agnostic TypeScript (parser, highlight rules, filter,\n  search), DOM-free and reusable in any web deployment.\n\n## Develop\n\n```bash\nnpm install\nnpm run dev          # dev server with hot reload\n```\n\n## Build\n\n```bash\nnpm run build        # single self-contained dist/index.html — open it directly\n```\n\nReleases are published from CI (Actions → **Build \u0026 Release**), which attaches\nthe built HTML file to a GitHub Release.\n\n## Project layout\n\n```\nsrc/\n  core/            framework-agnostic, reusable\n    types.ts       LogLine / LogLevel / Segment\n    categories.ts  category list (mirror of LoggerCategory.swift)\n    parser.ts      raw text -\u003e LogLine[]\n    highlight.ts   LogLine -\u003e highlight Segments (+ search overlay)\n    search.ts      level/category filter + text match positions\n  components/\n    LogRow.tsx        one virtualized, highlighted row\n    CategoryFilter.tsx category multi-select dropdown\n  App.tsx          toolbar, filters, search nav, virtualized list, selection\n```\n\n## Reusing on the web\n\nThe build (`npm run build`) is a single self-contained `dist/index.html` — host\nit anywhere or just open the file. To embed the viewer inside an existing page\ninstead, import from `src/core/*` (parsing + highlighting are DOM-free) and\nreuse `LogRow`/`App`, or lift the toolbar + virtualized list into your own\ncomponent.\n\n## Keeping categories in sync\n\n`src/core/categories.ts` mirrors\n`firefox-ios/BrowserKit/Sources/Common/Logger/LoggerCategory.swift`. If that enum\nchanges, update the list here (kept alphabetical).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla-mobile%2Ffirefox-ios-log-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozilla-mobile%2Ffirefox-ios-log-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla-mobile%2Ffirefox-ios-log-viewer/lists"}