{"id":19332163,"url":"https://github.com/4t145/dng-yew","last_synced_at":"2025-04-22T23:32:53.150Z","repository":{"id":42029169,"uuid":"475802205","full_name":"4t145/dng-yew","owner":"4t145","description":"web frontend of the draw and guess game","archived":false,"fork":false,"pushed_at":"2022-04-17T08:55:53.000Z","size":695,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T05:12:38.198Z","etag":null,"topics":["game","rust","rust-frontend","yew"],"latest_commit_sha":null,"homepage":"http://你画我猜.com/hall","language":"Rust","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/4t145.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-03-30T09:09:41.000Z","updated_at":"2023-04-24T15:15:34.000Z","dependencies_parsed_at":"2022-08-12T02:50:33.492Z","dependency_job_id":null,"html_url":"https://github.com/4t145/dng-yew","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/4t145%2Fdng-yew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4t145%2Fdng-yew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4t145%2Fdng-yew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4t145%2Fdng-yew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4t145","download_url":"https://codeload.github.com/4t145/dng-yew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340570,"owners_count":21414584,"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":["game","rust","rust-frontend","yew"],"created_at":"2024-11-10T02:44:15.578Z","updated_at":"2025-04-22T23:32:52.585Z","avatar_url":"https://github.com/4t145.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dng-yew\n你画我猜的网页客户端\n\n## 使用\n首先你可以通过访问 http://www.你画我猜.com/hall 来使用我在5美元vps上部署的服务。\n\n### 加入房间\n访问`\u003cwebset_url\u003e/?server=\u003cserver\u003e`，其中`\u003cserver\u003e`是房间服务器的ip+端口，如`127.0.0.1:9000`\n![图片](https://user-images.githubusercontent.com/34513116/160798411-866faf6b-59ab-4f11-a306-855f1f451118.png)\n### 设置词库\n[这](https://github.com/4t145/dng-lex)是我个人的词库的仓库，\n在聊天窗口中输入`/lexicon \u003cgithub-url\u003e`可以设置来自github上的词库，如：\n```\n/lexicon https://github.com/4t145/dng-lex/blob/main/chengyu.json\n```\n具体的词库格式请参考[这](https://github.com/4t145/dng-lex/blob/main/chengyu.json)，请确保每个字段都存在哦。\n\n⚠免责声明：您使用的网络词库与本项目没有任何关系，本项目仅仅提供加载，并不知道您的词库里有何具体内容。\n\n在聊天窗口中输入`/lexicon \u003clexcode\u003e`可以设置来自词库服务器上的词库，如：\n```\n/lexicon 1a2b3c4f\n```\n\n### 使用命令\n在聊天窗口输入`/help`来查看目前支持的命令（当然你也可以查看[相关源代码](./src/components/console/mod.rs)）\n#### 为什么没有按钮\n当然是因为没有做！如果你愿意帮忙画一个按钮，并且指出它应当安放在某个合理的位置，那么非常欢迎！\n\n\n# 自己部署\n## 服务器\n这个仓库是前端项目，相关的服务器程序和具体的使用说明在[这里](https://github.com/4t145/dng-server)\n\n\n# 编译\n如果你想自己编译这个网站，并且已经安装了rust和wasm工具链，那么应当只需要：\n```bash\ncargo install trunk\ntrunk build\n```\n如果你没有这些，那么你可以在rust官网找到相关安装操作。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4t145%2Fdng-yew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4t145%2Fdng-yew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4t145%2Fdng-yew/lists"}