{"id":28319857,"url":"https://github.com/bramtechs/solid-raylib","last_synced_at":"2026-04-14T06:33:53.683Z","repository":{"id":288598763,"uuid":"968337092","full_name":"bramtechs/solid-raylib","owner":"bramtechs","description":"Interacting with Raylib through SolidJS","archived":false,"fork":false,"pushed_at":"2025-04-19T14:33:04.000Z","size":493,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T04:50:20.248Z","etag":null,"topics":["javascript","raylib","react","reactjs","solid","solidjs"],"latest_commit_sha":null,"homepage":"","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/bramtechs.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,"zenodo":null}},"created_at":"2025-04-17T23:01:45.000Z","updated_at":"2025-04-19T14:33:07.000Z","dependencies_parsed_at":"2025-04-20T11:17:06.736Z","dependency_job_id":null,"html_url":"https://github.com/bramtechs/solid-raylib","commit_stats":null,"previous_names":["bramtechs/solid-raylib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bramtechs/solid-raylib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fsolid-raylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fsolid-raylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fsolid-raylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fsolid-raylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramtechs","download_url":"https://codeload.github.com/bramtechs/solid-raylib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramtechs%2Fsolid-raylib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31785677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["javascript","raylib","react","reactjs","solid","solidjs"],"created_at":"2025-05-25T10:07:52.637Z","updated_at":"2026-04-14T06:33:53.678Z","avatar_url":"https://github.com/bramtechs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solid Raylib - Monorepo\n\nThis project demonstrates a custom renderer for SolidJS that integrates with the Raylib graphics library.\u003cbr/\u003e\nIt is being built as an experimental GUI solution for [Doomhowl Interactive](https://doomhowl-interactive.com).\n\nVery work in progress.\n\n\u003e Reactive text nodes are not supported yet. So you can only use a minimal set of SolidJS features.\n\u003e You will need to use the recreated SolidJS components for doing things like conditionals and loops.\n\n## Project Structure\n\nThis is a monorepo containing:\n\n- `packages/solid-raylib` - The core renderer library\n- `packages/solid-raylib-demo` - A demo application showcasing the renderer\n\n## Getting Started\n\n### Install Dependencies\n\n```bash\nnpm install\n```\n\n### Build the Core Library\n\n```bash\nnpm run build:core\n```\n\n### Run the Demo\n\n```bash\nnpm run start:demo\n```\n\n## Example Code\n\n```jsx\nimport { createSignal, createEffect, onCleanup } from \"solid-raylib\";\n\nexport default function App() {\n  const [count, setCount] = createSignal(0);\n\n  createEffect(() =\u003e {\n    const timer = setInterval(() =\u003e {\n      setCount((c) =\u003e c + 0.01);\n    }, 10);\n\n    onCleanup(() =\u003e {\n      clearInterval(timer);\n    });\n  });\n\n  return (\n    \u003cwindow width={1280} height={720} title=\"Raylib App\"\u003e\n      \u003cfps x={10} y={10} /\u003e\n      \u003crectangle x={count() * 100} y={200} width={300} height={100} color=\"blue\"\u003e\u003c/rectangle\u003e\n    \u003c/window\u003e\n  );\n}\n```\n\n![](./misc/image2.png)\n\n_The rectangle moves across the screen!_\n\n## Continuous Integration\n\nThis project uses GitHub Actions for continuous integration and deployment:\n\n- **CI Workflow**: Builds the project on every push to main and pull request\n- **Publish Workflow**: Publishes the package to npm when a new version tag is pushed\n\nTo create a new release:\n\n```bash\n# Update version in package.json files\ngit tag v0.1.x\ngit push origin v0.1.x\n```\n\n## References\n\nhttps://youtu.be/Yi_MJ8cVCCs\n\nhttps://github.com/RobLoach/node-raylib\n\nhttps://github.com/whoisryosuke/solid-three-renderer\n\nhttps://www.thisdot.co/blog/deep-dive-into-how-signals-work-in-solidjs\n\nhttps://www.thisdot.co/blog/how-to-create-your-own-custom-renderer-in-solidjs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramtechs%2Fsolid-raylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramtechs%2Fsolid-raylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramtechs%2Fsolid-raylib/lists"}