{"id":20542854,"url":"https://github.com/jerryshell/osmos","last_synced_at":"2025-11-05T20:02:55.819Z","repository":{"id":66555313,"uuid":"597514066","full_name":"jerryshell/osmos","owner":"jerryshell","description":"Rust + WASM + Neural Network + Genetic Algorithm","archived":false,"fork":false,"pushed_at":"2025-09-11T13:57:02.000Z","size":395,"stargazers_count":65,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T00:03:09.508Z","etag":null,"topics":["genetic-algorithm","neural-network","rust","solidjs","vite","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://osmos.jerryshell.eu.org","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerryshell.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":"2023-02-04T19:29:40.000Z","updated_at":"2025-09-11T13:57:00.000Z","dependencies_parsed_at":"2024-12-18T17:11:54.395Z","dependency_job_id":"3e963fee-4621-4d7c-99fd-061026aa97b0","html_url":"https://github.com/jerryshell/osmos","commit_stats":{"total_commits":123,"total_committers":2,"mean_commits":61.5,"dds":0.05691056910569103,"last_synced_commit":"3db92dd7beddd5065f8bfc99fd8858c8896383c0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jerryshell/osmos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fosmos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fosmos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fosmos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fosmos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/osmos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fosmos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278866931,"owners_count":26059671,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["genetic-algorithm","neural-network","rust","solidjs","vite","wasm","webassembly"],"created_at":"2024-11-16T01:34:40.242Z","updated_at":"2025-10-08T00:03:51.038Z","avatar_url":"https://github.com/jerryshell.png","language":"Rust","readme":"# Osmos\n\nRust + WASM + Vite + 神经网络 + 遗传算法\n\nBilibili 视频：[BV1vj411A7k2](https://www.bilibili.com/video/BV1vj411A7k2)\n\n立刻体验：[osmos.jerryshell.eu.org](https://osmos.jerryshell.eu.org)\n\n## 如何运行\n\n1. 安装 `wasm-pack`\n\n[https://rustwasm.github.io/wasm-pack](https://rustwasm.github.io/wasm-pack)\n\n2. 编译 `osmos-wasm`\n\n```bash\ncd osmos-wasm\nwasm-pack build --out-dir ../osmos-web/osmos-wasm\n```\n\n3. 进入 `osmos-web` 安装依赖并运行\n\n```bash\ncd osmos-web\nnpm install\nnpm run dev\n```\n\n## 项目结构简介\n\n```\nosmos\n├── osmos-core # 核心数据结构\n├── osmos-ga   # 遗传算法\n├── osmos-nn   # 神经网络\n├── osmos-sim  # 进化模拟器\n│   └── src\n│       └── system           # 子系统\n│           ├── collision.rs # 碰撞系统\n│           ├── epoch.rs     # 迭代系统\n│           ├── movement.rs  # 移动系统\n│           ├── network.rs   # 神经网络系统\n│           └── sensor.rs    # 感知器系统\n├── osmos-wasm # 将模拟器编译为 WASM，代理模式\n└── osmos-web  # Web UI，通过导入 WASM 启动模拟器，并将模拟器的数据渲染到 Canvas 中\n```\n\n## 开源协议\n\n[GNU Affero General Public License v3.0](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fosmos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Fosmos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fosmos/lists"}