{"id":18805765,"url":"https://github.com/mskian/live-score-server","last_synced_at":"2026-01-07T23:30:19.101Z","repository":{"id":247236999,"uuid":"825336315","full_name":"mskian/live-score-server","owner":"mskian","description":"Go-based HTTP server that fetches and displays live cricket scores. It retrieves data from a Cricket Score JSON API and Display the Live Cricket Score Data in `text/plain` format in Terminal and Browsers.","archived":false,"fork":false,"pushed_at":"2024-07-11T13:06:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T21:14:09.896Z","etag":null,"topics":["cricket","cricket-api","cricket-app","cricket-data","cricket-score","go","go-api","go-server","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mskian.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}},"created_at":"2024-07-07T13:55:44.000Z","updated_at":"2024-07-11T13:03:40.000Z","dependencies_parsed_at":"2024-07-07T15:26:42.455Z","dependency_job_id":"6cb82382-a03a-435d-9d26-2c6bfc60b688","html_url":"https://github.com/mskian/live-score-server","commit_stats":null,"previous_names":["mskian/live-score-server"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Flive-score-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Flive-score-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Flive-score-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Flive-score-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskian","download_url":"https://codeload.github.com/mskian/live-score-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742365,"owners_count":19689308,"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":["cricket","cricket-api","cricket-app","cricket-data","cricket-score","go","go-api","go-server","golang"],"created_at":"2024-11-07T22:44:56.916Z","updated_at":"2026-01-07T23:30:19.068Z","avatar_url":"https://github.com/mskian.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Live Cricket Score Server\n\nGo-based HTTP server that fetches and display live cricket score.It retrieves data from a Cricket Score JSON API and Display the Live Cricket Score Data in `text/plain` format in Terminal and Browsers.  \n\n## Features\n\n- Fetch live cricket scores using a configurable API.\n- Display match details including title, update, live score, match date, and run rate.\n- List current batsmen and their performance.\n- List current bowlers and their performance.\n- Error Handling and Validations\n\n## Setup\n\n- Clone or Download this Repo\n\n```sh\ngit clone https://github.com/mskian/live-score-server.git\ncd live-score-server\n```\n\n- Create a `config.yaml` file in the project root with the Cricket Score API URL\n\n```yaml\n\napi_url: \"https://your-cricket-score-api-url.com/score?id=\"\n\n```\n\n- Run the Server\n\n```sh\ngo run main.go\n```\n\n- Check Live Cricket Score on Terminal or Web Browser\n\n```sh\ncurl http://localhost:6053/livescore?id=YOUR_MATCH_ID\n```\n\n## API Endpoints\n\n- GET /livescore?id={matchID}:\n\nFetches and displays live cricket scores for the specified match ID.\n\n- GET /404:\n\nCustom 404 Page Not Found handler.\n\n- GET /500:\n\nCustom 500 Internal Server Error handler.\n\n- Example Response in Terminal\n\n```yaml\nMatch Details:\n\n  Title: Example Match\n  Update: Example Update\n  Live Score: 123/4\n  Match Date: 2024-07-07\n  Run Rate: 6.5\n\nCurrent Batsmen:\n\n  - Name: Batsman 1\n    Runs: 56\n    Balls: 34\n    Strike Rate: 164.70\n\n  - Name: Batsman 2\n    Runs: 23\n    Balls: 15\n    Strike Rate: 153.33\n\nCurrent Bowlers:\n\n  - Name: Bowler 1\n    Overs: 4\n    Runs: 25\n    Wickets: 2\n\n  - Name: Bowler 2\n    Overs: 3\n    Runs: 18\n    Wickets: 1\n```\n\n## Build Package\n\n- Run Make file to build a package for your Systems\n\n```sh\nmake build\n```\n\n## Packges Build for  \n\nLinux, Apple, Windows and Android - `/makefile`  \n\n- Linux-386\n- Linux-arm-7\n- Linux-amd64\n- Linux-arm64\n- Andriod-arm64\n- windows-386\n- windows-amd64\n- darwin-amd64\n- darwin-arm64\n\n```sh\nchmod +x score\n./score\n```\n\n## API\n\nLive Cricket Score JSON API - **\u003chttps://github.com/sanwebinfo/cricket-score/tree/main/data\u003e**\n\n## Disclaimer 🗃\n\n- This is not an Offical API from Cricbuzz - it's an Unofficial API\n- This is for Education Purpose only - use at your own risk on Production Site\n\nAll Credits Goes to \u003chttps://www.cricbuzz.com/\u003e  \n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Flive-score-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskian%2Flive-score-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Flive-score-server/lists"}