{"id":15797271,"url":"https://github.com/boothgames/nightfury","last_synced_at":"2026-05-01T14:33:56.867Z","repository":{"id":141651792,"uuid":"188535680","full_name":"boothgames/nightfury","owner":"boothgames","description":"Puzzle based game server","archived":false,"fork":false,"pushed_at":"2023-06-01T19:49:42.000Z","size":2562,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-12T00:26:26.695Z","etag":null,"topics":["golang","socket-io"],"latest_commit_sha":null,"homepage":"https://github.com/boothgames/nightfury","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boothgames.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-05-25T07:36:55.000Z","updated_at":"2019-10-18T16:59:51.000Z","dependencies_parsed_at":"2023-07-07T19:16:39.350Z","dependency_job_id":null,"html_url":"https://github.com/boothgames/nightfury","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boothgames/nightfury","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boothgames%2Fnightfury","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boothgames%2Fnightfury/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boothgames%2Fnightfury/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boothgames%2Fnightfury/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boothgames","download_url":"https://codeload.github.com/boothgames/nightfury/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boothgames%2Fnightfury/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["golang","socket-io"],"created_at":"2024-10-05T00:06:00.230Z","updated_at":"2026-05-01T14:33:56.836Z","avatar_url":"https://github.com/boothgames.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [nightfury](https://github.com/boothgames/nightfury)\n\nPuzzle based game server\n\n## Development\n\n```bash\n$ git clone https://github.com/boothgames/nightfury.git\n$ cd nightfury\n$ make build\n$ ./out/nightfury server\n```\n\n\u003e specify --log-level `debug` for priting more detailed logging\n\n## Setup\n\n### Games\n\nThere is support for `web` and `non-web` games.\nThe web games are assumed to be embedded in the browser, so it is easy to determine if the level has been solved.\nFor the non-web games, some external factor is needed to determine whether the game is completed; currently we load all the random codes possible.\n\n#### To load data:\n\nCreate a json file with the game info as save it as `games.json`\n\n```json\n[\n  {\n    \"name\": \"smile\",\n    \"title\": \"Why so serious?\",\n    \"instruction\": \"Let's put a smile on that face!\",\n    \"type\": \"web\",\n    \"mode\": \"embedded\"\n  },\n  {\n    \"name\": \"snakes\",\n    \"title\": \"Snakes\",\n    \"instruction\": \"Help the snake to eat the right food\",\n    \"type\": \"web\",\n    \"mode\": \"embedded\"\n  },\n  {\n    \"name\": \"seeker\",\n    \"title\": \"Seek the diamonds\",\n    \"instruction\": \"Ask volunter for a tablet/phone, collect all the diamonds within 60 seconds. Tilt the device in appropriate direction for movement. Beware of the consequences :)\",\n    \"type\": \"mobile\",\n    \"mode\": \"external\",\n    \"metadata\": {\n      \"codes\": [\"1234\", \"5678\", \"0987\"]\n    }\n  }\n]\n```\n\nUpload the games to nightfury\n\n```bash\n$ curl -H \"Content-Type: application/json\" --data @games.json http://localhost:5624/v1/bulk/games\n\n```\n\n### Hints\n\nAfter completing each level, a hint is shown to the user.\n\n#### To load data:\n\nCreate a json file with the hints and save it as `hints.json`\n\n```json\n[\n  {\n    \"title\": \"hint title\",\n    \"tag\": [\"tag-1\", \"tag-2\"],\n    \"content\": \"hint content\",\n    \"takeaway\": \"hint takeaway\"\n  }\n]\n```\n\nUpload the hints to nightfury\n\n```bash\n$ curl -H \"Content-Type: application/json\" --data @hints.json http://localhost:5624/v1/bulk/hints\n\n```\n\n### Clear data\n\nThe data is stored in an embedded key/value database [boltdb](https://github.com/boltdb/bolt).\nTo clear the previously loaded data, delete the `nightfury.db` file.\n\n### Contributions\n\n[nightfury](https://github.com/boothgames/nightfury) is an open source project under the Apache 2.0 license, and contributions are gladly welcomed! To submit your changes please open a pull request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboothgames%2Fnightfury","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboothgames%2Fnightfury","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboothgames%2Fnightfury/lists"}