{"id":20806774,"url":"https://github.com/fed/lrn-logger","last_synced_at":"2026-04-29T05:04:30.321Z","repository":{"id":85048407,"uuid":"173643173","full_name":"fed/lrn-logger","owner":"fed","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-09T14:32:11.000Z","size":21,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T13:30:51.921Z","etag":null,"topics":["learnosity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/fed.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}},"created_at":"2019-03-03T23:35:19.000Z","updated_at":"2023-03-10T09:22:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"6486532c-d095-4a86-9e3a-e4c90a12d7ee","html_url":"https://github.com/fed/lrn-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fed/lrn-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Flrn-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Flrn-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Flrn-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Flrn-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fed","download_url":"https://codeload.github.com/fed/lrn-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Flrn-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32411558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T03:46:11.172Z","status":"ssl_error","status_checked_at":"2026-04-29T03:37:55.317Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["learnosity"],"created_at":"2024-11-17T19:26:17.879Z","updated_at":"2026-04-29T05:04:30.305Z","avatar_url":"https://github.com/fed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logger\n\nSimple logger API to keep track of random values generated dynamically by Items API and analyse their frequency.\n\n## Running the API\n\n```\nnpm start\n```\n\n## Logging values\n\n```js\nconst itemsApp = LearnosityItems.init(window.activity, {\n  readyListener() {\n    const nodes = document.querySelectorAll('.lrn_stimulus_content \u003e span \u003e strong');\n    const values = Array.from(nodes).map(node =\u003e Number(node.textContent));\n\n    fetch(`http://localhost:6789/?values=${values}`).then(() =\u003e {\n      location.reload();\n    });\n  }\n});\n```\n\n## Retrieving logged values\n\nJust hit `http://localhost:6789/log`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffed%2Flrn-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffed%2Flrn-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffed%2Flrn-logger/lists"}