{"id":19877342,"url":"https://github.com/nau7ilus/hangmanbot","last_synced_at":"2026-03-17T20:17:06.883Z","repository":{"id":40446233,"uuid":"489881196","full_name":"nau7ilus/HangmanBot","owner":"nau7ilus","description":"🎮 The implementation of the game Hangman in the form of a Discord bot","archived":false,"fork":false,"pushed_at":"2024-11-18T06:27:05.000Z","size":1223,"stargazers_count":2,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-09T19:56:35.681Z","etag":null,"topics":["bot","canvas","discord","game","hangman","js","node"],"latest_commit_sha":null,"homepage":"https://hangman.bot","language":"JavaScript","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/nau7ilus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-05-08T07:57:42.000Z","updated_at":"2024-08-22T21:25:28.000Z","dependencies_parsed_at":"2024-02-09T05:54:05.754Z","dependency_job_id":"f262ef75-8b41-46a1-ac0b-46bf4e87012a","html_url":"https://github.com/nau7ilus/HangmanBot","commit_stats":null,"previous_names":["nieopierzony/hangmanbot","nau7ilus/hangmanbot"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nau7ilus/HangmanBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nau7ilus%2FHangmanBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nau7ilus%2FHangmanBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nau7ilus%2FHangmanBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nau7ilus%2FHangmanBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nau7ilus","download_url":"https://codeload.github.com/nau7ilus/HangmanBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nau7ilus%2FHangmanBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30630427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bot","canvas","discord","game","hangman","js","node"],"created_at":"2024-11-12T16:37:09.108Z","updated_at":"2026-03-17T20:17:06.868Z","avatar_url":"https://github.com/nau7ilus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n \n[![hangman logo](https://i.imgur.com/Ibr2LhK.png)](https://github.com/nau7ilus/HangmanBot)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![Code size](https://img.shields.io/github/languages/code-size/nau7ilus/HangmanBot?style=flat)\n[![Last release](https://img.shields.io/github/v/release/nau7ilus/HangmanBot)](https://github.com/nau7ilus/HangmanBot/releases)\n\n\u003c/div\u003e\n\n## Description\n\nThe implementation of the game [Hangman](\u003chttps://en.wikipedia.org/wiki/Hangman_(game)\u003e) in the form of a Discord bot. The main goal of the game is to guess the given word, by one letter with a limited number of attempts.\n\nTo display information about the current game uses pictures rather than text. Therefore, the project is divided into two applications: the visualizer and the bot itself. The first one is a web server on **[fastify](https://github.com/fastify/fastify)**, which provides the ability to quickly compose pictures with the needed information and immediately send them to Discord. It uses png blanks and adds the necessary information using **[canvas](https://github.com/Automattic/node-canvas)**.\n\nBot's task is to create a word, create [private thread](https://support.discord.com/hc/en-us/articles/4403205878423-Threads#h_01FBQZH4F0E9RX2K078Y6EG6QB) for game (available only for servers with 2 level of boost, in the future can be added the ability to create a normal channel), save the state of the game, using **[redis](https://github.com/redis/node-redis)**, check answers of users and set their rating in **PostgreSQL**\n\n## Prerequisites\n\n- [Node.js v16.15.0 LTS](https://nodejs.org/en/download/)\n- [PostgreSQL v14.2](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads)\n- [Redis](https://redis.io/docs/getting-started/)\n- [node-canvas](https://github.com/Automattic/node-canvas) (see [installation](https://github.com/Automattic/node-canvas#compiling) section)\n\n...or if you want to use Docker, then nothing above is required, just\n\n- [Docker Engine](https://docs.docker.com/engine/install/)\n- [Docker Composer](https://docs.docker.com/compose/install/)\n\n## Current status\n\nNothing is ready yet. The focus is on the web server, then the mechanics of the game\n\n## Changelog\n\nIf you want to see the history of code changes, check CHANGELOG.md\n\n## Contributors\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nSee GitHub to see [contributions list](https://github.com/nau7ilus/HangmanBot/graphs/contributors)\n\n## License\n\nHangmanBot is licensed under [MIT](https://github.com/nau7ilus/HangmanBot/blob/main/LICENSE) license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnau7ilus%2Fhangmanbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnau7ilus%2Fhangmanbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnau7ilus%2Fhangmanbot/lists"}