{"id":15063347,"url":"https://github.com/dnovikoff/mahjong-api","last_synced_at":"2025-04-10T11:02:46.244Z","repository":{"id":56525783,"uuid":"172994149","full_name":"dnovikoff/mahjong-api","owner":"dnovikoff","description":"Riichi mahjong grpc api","archived":false,"fork":false,"pushed_at":"2023-03-02T18:20:54.000Z","size":6197,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:47:11.042Z","etag":null,"topics":["api","golang","grpc","mahjong","riichi","riichi-mahjong"],"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/dnovikoff.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":"2019-02-27T21:36:30.000Z","updated_at":"2024-09-30T09:08:35.000Z","dependencies_parsed_at":"2024-06-19T05:27:11.751Z","dependency_job_id":"6c9a4e6b-f358-4002-82ee-3820688fa4c4","html_url":"https://github.com/dnovikoff/mahjong-api","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/dnovikoff%2Fmahjong-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnovikoff%2Fmahjong-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnovikoff%2Fmahjong-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnovikoff%2Fmahjong-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnovikoff","download_url":"https://codeload.github.com/dnovikoff/mahjong-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248207044,"owners_count":21065191,"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":["api","golang","grpc","mahjong","riichi","riichi-mahjong"],"created_at":"2024-09-24T23:55:27.963Z","updated_at":"2025-04-10T11:02:46.207Z","avatar_url":"https://github.com/dnovikoff.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mahjong-api\n\n[![CI](https://github.com/dnovikoff/mahjong-api/workflows/CI/badge.svg?branch=master\u0026event=push)](https://github.com/dnovikoff/mahjong-api/actions?query=workflow%3ACI)\n[![Coverage Status](https://img.shields.io/codecov/c/github/dnovikoff/mahjong-api.svg)](https://codecov.io/gh/dnovikoff/mahjong-api)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dnovikoff/mahjong-api)](https://goreportcard.com/report/github.com/dnovikoff/mahjong-api)\n\n## Start the log server\nIn memory mode\n\n`go run ./cmd/log-server --config ./cmd/log-server/data/memory_config.yaml`\n\nor in file mode (files will be in `./logdb` folder)\n\n`go run ./cmd/log-server --config ./cmd/log-server/data/file_config.yaml`\n\nOr write your own implementation to collect logs, generated by `mahjong-server`\n\n## Start mahjong-server\nUpdate to the latest version\n`docker pull tempai/mahjong-server:latest`\n\nRun the server\n`docker run -t -i -p 9090:9090 --rm tempai/mahjong-server:latest`\n\nThe code for `mahjong-server` is **private**. Take note, that the `mahjong-server` \nis not allowed to be used as a part of **commercial/non-commercial**\nonline mahjong server without authors permission.\nCould be used for such scenarios as: **AI training**, **testing**, **research**.\n\nPlease contact me or open an issue in case of found bugs in `mahjong-server` work.\n\n#  Run example client\n`go run ./cmd/example-client --config ./cmd/example-client/data/config.yaml`\n\nThe client will run a game with a bot and report a log to the `log-server`\n\n# Alternative run with docker-compose\n`docker-compose up --abort-on-container-exit`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnovikoff%2Fmahjong-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnovikoff%2Fmahjong-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnovikoff%2Fmahjong-api/lists"}