{"id":21083307,"url":"https://github.com/mudafar/alz-predictor-prefetch-example","last_synced_at":"2025-03-14T05:09:21.091Z","repository":{"id":68230719,"uuid":"351163160","full_name":"mudafar/alz-predictor-prefetch-example","owner":"mudafar","description":"alz-predictor prefetch example build with React","archived":false,"fork":false,"pushed_at":"2021-03-28T05:24:55.000Z","size":1372,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T23:48:18.692Z","etag":null,"topics":["alz-predictor","next-page","predictive-prefetching","prefetch","react"],"latest_commit_sha":null,"homepage":"https://mudafar.github.io/alz-predictor-prefetch-example/","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/mudafar.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":"2021-03-24T17:13:56.000Z","updated_at":"2021-03-28T05:24:56.000Z","dependencies_parsed_at":"2023-05-30T08:30:11.464Z","dependency_job_id":null,"html_url":"https://github.com/mudafar/alz-predictor-prefetch-example","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/mudafar%2Falz-predictor-prefetch-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudafar%2Falz-predictor-prefetch-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudafar%2Falz-predictor-prefetch-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudafar%2Falz-predictor-prefetch-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudafar","download_url":"https://codeload.github.com/mudafar/alz-predictor-prefetch-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526955,"owners_count":20305115,"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":["alz-predictor","next-page","predictive-prefetching","prefetch","react"],"created_at":"2024-11-19T20:17:32.320Z","updated_at":"2025-03-14T05:09:21.084Z","avatar_url":"https://github.com/mudafar.png","language":"JavaScript","readme":"# Prefetch example app using alz-predictor\nA simple react demo app that learns user navigation behavior/sequence, predict and prefetch resources for next user action.  \n\n## Description\n1. To train alz-predictor, navigate through the provided links:\n    - Home\n    - Users\n    - Posts\n    - Comments\n    - Todos\n\n2. To get prediction, simply reload current app page, an alert will show the current prediction (with highest probably). If the prediction is greater than `PROBABILITY_THRESHOLD (0.7)` , then it'll prefetch data for that link.\n\n3. This app use `localStorage` to persist training. A `Reset Training` button is provided.\n\n## Usage\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudafar%2Falz-predictor-prefetch-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudafar%2Falz-predictor-prefetch-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudafar%2Falz-predictor-prefetch-example/lists"}