{"id":13833337,"url":"https://github.com/nextjournal/lurk","last_synced_at":"2025-10-27T07:02:08.482Z","repository":{"id":103033733,"uuid":"567324401","full_name":"nextjournal/lurk","owner":"nextjournal","description":"A log dashboard tool powered by Clerk and Lucene","archived":false,"fork":false,"pushed_at":"2023-02-09T10:09:17.000Z","size":166,"stargazers_count":32,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T21:09:11.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextjournal.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}},"created_at":"2022-11-17T14:51:05.000Z","updated_at":"2025-02-17T10:36:22.000Z","dependencies_parsed_at":"2023-11-10T12:33:28.698Z","dependency_job_id":null,"html_url":"https://github.com/nextjournal/lurk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextjournal%2Flurk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextjournal%2Flurk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextjournal%2Flurk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextjournal%2Flurk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextjournal","download_url":"https://codeload.github.com/nextjournal/lurk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248831068,"owners_count":21168396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-08-04T12:00:24.483Z","updated_at":"2025-10-27T07:02:08.394Z","avatar_url":"https://github.com/nextjournal.png","language":"Clojure","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# lurk\n\nA log dashboard tool powered by [Clerk](https://github.com/nextjournal/clerk) and [Lucene](https://lucene.apache.org/), via [lucene-clj](https://github.com/jaju/lucene-clj).\n\n![Lurk Screenshot](screenshot.png)\n\n[Video demo from reClojure 2022](https://youtu.be/3bs3QX92kYA?t=289)\n\n## 🚦 Status\n\nA proof-of-concept ALPHA\n\n## 👩‍🎨 Using Lurk\n\n### startup\n\nstart a repl via something like\n```bash\nclj -Adev -Sdeps '{:deps {cider/cider-nrepl {:mvn/version \"0.29.0\"} }}' -m nrepl.cmdline --middleware \"[cider.nrepl/cider-middleware]\"\n```\n\nopen [`src/nextjournal/lurk.clj`](https://github.com/nextjournal/lurk/blob/main/src/nextjournal/lurk.clj), run `(nextjournal.clerk/show!)`, and navigate to [http://localhost:6677/](http://localhost:6677/)\n\nthis will create an in-memory lucene index over the contents of [`example_service/json-logs/example-service.log`](https://github.com/nextjournal/lurk/blob/main/example_service/json-logs/example-service.log) and display a dashboard. Any new addtions to that `example-service.log` will get indexed and shown.\n\n### generating example logs\n\nIn the `example_service` directory there is a simple service that loops forever and generates json-formatted logs. To start this process:\n\n```bash\ncd example_service\nclj -Xrun\n```\n\nThis begins writing json logs to `example_service/json-logs/example-service.log`\n\n\n### log queries\n\nQuerying can be done using [lucene-clj query language](https://github.com/jaju/lucene-clj#search-variations)\n\n```\n{:level \"WARN\"}\n```\n\nor\n\n```\n{:level \"WARN\" :message #{\"abulafia\" \"Belbo\"}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextjournal%2Flurk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextjournal%2Flurk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextjournal%2Flurk/lists"}