{"id":49505203,"url":"https://github.com/danielbash/vivid_mud","last_synced_at":"2026-05-01T15:01:19.171Z","repository":{"id":354442150,"uuid":"1223617536","full_name":"DanielBash/vivid_mud","owner":"DanielBash","description":"Репозиторий разработки проекта vivid-mud - пайтон-модуля для разработки текстовых ММО РПГ","archived":false,"fork":false,"pushed_at":"2026-04-28T15:07:07.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T16:30:22.726Z","etag":null,"topics":["evennia","mmorpg","rpg","text","textual"],"latest_commit_sha":null,"homepage":"","language":"Python","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/DanielBash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-28T13:47:26.000Z","updated_at":"2026-04-28T15:10:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/DanielBash/vivid_mud","commit_stats":null,"previous_names":["danielbash/vivid_mud"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DanielBash/vivid_mud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielBash%2Fvivid_mud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielBash%2Fvivid_mud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielBash%2Fvivid_mud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielBash%2Fvivid_mud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielBash","download_url":"https://codeload.github.com/DanielBash/vivid_mud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielBash%2Fvivid_mud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501403,"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":["evennia","mmorpg","rpg","text","textual"],"created_at":"2026-05-01T15:01:18.210Z","updated_at":"2026-05-01T15:01:19.158Z","avatar_url":"https://github.com/DanielBash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://github.com/DanielBash/vivid_mud/blob/main/.github/banner.png?raw=true)\n\n# vivid-mud\n\nРепозиторий разработки пакета pypi - vivid-mud. Участие в проекте приветствуется.\nНа данный момент актуальной документации не доступно.\n\n## Установка\n```bash\npip install vivid_mud\n```\n\n## Использование\n\n\u003e Пример простого работающего онлайн-чата\n\n```python\nimport vivid_mud\nfrom textual.app import ComposeResult\nfrom textual.containers import Center\nfrom textual.widgets import Input, Button, Static\n\nclass ChatServer(vivid_mud.Server):\n    messages = []\n    def exposed_send(self, msg: str):\n        self.messages.append(msg)\n    def exposed_get_messages(self):\n        return self.messages\n\n\nclass ChatClient(vivid_mud.Client):\n    def compose(self) -\u003e ComposeResult:\n        with Center():\n            yield Static(\"\", id=\"chat\")\n            yield Input(placeholder=\"Введите сообщение...\", id=\"cmd\")\n            yield Button(\"Отправить\", id=\"send\")\n\n    def on_mount(self):\n        self.set_interval(0.1, self.refresh_messages)\n\n    def refresh_messages(self):\n        messages = self.connection.root.get_messages()\n        self.query_one(\"#chat\", Static).update(\"\\n\".join(messages))\n\n    def on_button_pressed(self, _event: Button.Pressed) -\u003e None:\n        cmd = self.query_one(\"#cmd\", Input)\n        self.connection.root.send(cmd.value)\n        cmd.value = \"\"\n\n        \n    vivid_mud.App(__name__, server=ChatServer, client=ChatClient, title=\"Онлайн чат\").run()\n```\n\nМодуль еще в разработке.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielbash%2Fvivid_mud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielbash%2Fvivid_mud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielbash%2Fvivid_mud/lists"}