{"id":21915528,"url":"https://github.com/terotests/numbot","last_synced_at":"2025-04-18T21:40:52.323Z","repository":{"id":44590993,"uuid":"448965710","full_name":"terotests/numbot","owner":"terotests","description":"A configurable parser for text based logs","archived":false,"fork":false,"pushed_at":"2022-07-13T20:46:52.000Z","size":145,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-08T21:35:01.386Z","etag":null,"topics":["date-fns","parser","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/terotests.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}},"created_at":"2022-01-17T16:22:16.000Z","updated_at":"2022-02-04T18:30:10.000Z","dependencies_parsed_at":"2022-08-04T11:15:12.396Z","dependency_job_id":null,"html_url":"https://github.com/terotests/numbot","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/terotests%2Fnumbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terotests%2Fnumbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terotests%2Fnumbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terotests%2Fnumbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terotests","download_url":"https://codeload.github.com/terotests/numbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226971329,"owners_count":17711413,"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":["date-fns","parser","typescript"],"created_at":"2024-11-28T19:12:39.187Z","updated_at":"2024-11-28T19:12:40.109Z","avatar_url":"https://github.com/terotests.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parser for text based logs\n\nNOTE: the API is still a bit unstable.\n\nThis is a configurable parser for text based logs. For example\n\n```\n  Year 2021\n  Week 1\n    Mon running 45min\n```\n\nWould return a parsed JS Object in format\n\n```javascript\n[\n  {\n    day: \"2021-01-30T00:00:00.000Z\",\n    result: {\n      move_to_year: \"2021\",\n    },\n  },\n  {\n    day: \"2021-01-09T00:00:00.000Z\",\n    result: {\n      move_to_week: \"1\",\n    },\n  },\n  {\n    day: \"2021-01-04T00:00:00.000Z\",\n    result: {\n      monday: \"Mon\",\n      text: [\"running\"],\n      duration_mins: \"45\",\n    },\n  },\n];\n```\n\nFor now, see the test file(s) for example of usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterotests%2Fnumbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterotests%2Fnumbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterotests%2Fnumbot/lists"}