{"id":22952008,"url":"https://github.com/ganeshsivakumar/jhoo","last_synced_at":"2025-09-10T02:39:30.591Z","repository":{"id":203133902,"uuid":"708895269","full_name":"Ganeshsivakumar/jhoo","owner":"Ganeshsivakumar","description":"A dart package to build websites","archived":false,"fork":false,"pushed_at":"2023-11-12T11:48:16.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T13:51:11.466Z","etag":null,"topics":["dart","dart-web","web"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/jhoo","language":"Dart","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/Ganeshsivakumar.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}},"created_at":"2023-10-23T15:45:36.000Z","updated_at":"2024-11-22T04:15:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"68e3069f-3e98-4edb-922c-42dd1a0d86a0","html_url":"https://github.com/Ganeshsivakumar/jhoo","commit_stats":null,"previous_names":["ganeshsivakumar/jhoo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ganeshsivakumar%2Fjhoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ganeshsivakumar%2Fjhoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ganeshsivakumar%2Fjhoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ganeshsivakumar%2Fjhoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ganeshsivakumar","download_url":"https://codeload.github.com/Ganeshsivakumar/jhoo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251658608,"owners_count":21622896,"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":["dart","dart-web","web"],"created_at":"2024-12-14T15:29:57.688Z","updated_at":"2025-04-30T07:20:54.270Z","avatar_url":"https://github.com/Ganeshsivakumar.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nDart package to build websites\n\n## Features\n\nJhoo can help you create pure dart web apps with flutter like syntax\n\n## Getting started\n\nStart by importing the package\n```dart\nimport 'package:jhoo/jhoo.dart';\nimport 'package:jhoo/src/elements/elementTree/tree.dart';\n\n```\n\nUse ```createPage()``` inside main method to create a new HTML page,\nprovide ```pageName``` and ```element``` to the createPage() method.\n\n```dart\nvoid main() {\n  createPage(pageName: \"Home Page\", body: HomeElement());\n}\n\n```\n\npageName is the tile of the html document and body takes the dom element\nthat will be attached to the body of the html document.\n\n\nYou can create dom elements by extending ```StatefulElement```\nand you can @override build() method to return DomElement.\n\nHere, ```HomeElement``` creates 3 Text element, which is 3 'p' html element with their \nrespective id and text.\n\n```dart\nclass HomeElement extends StatefulElement {\n  @override\n  DomElement build() {\n    return Row(children: [\n      Text(id: \"t1\", text: \"Welcome to HomePage\"),\n      Text(id: \"t2\", text: \"This is second element\"),\n      Text(id: \"t3\", text: \"This is thrid Element\")\n    ]);\n  }\n}\n\n```\n\n\n## Usage\n\n`/example` contains a sample web app built with Jhoo package, it will demonstrate \nhow you can dynamically update the UI using ```StreamBuilder``` from Jhoo.\n\n\n## Additional information\n\nJhoo package is in it's early stages and not stable, it's under developement. \nPlease feel to share your ideas and contribution.\n\nrun ```dart pub get``` to fix all errors after cloning the package","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshsivakumar%2Fjhoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganeshsivakumar%2Fjhoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshsivakumar%2Fjhoo/lists"}