{"id":45080489,"url":"https://github.com/pyhoon/pakai-server-b4j","last_synced_at":"2026-02-26T21:08:02.289Z","repository":{"id":65305166,"uuid":"545365763","full_name":"pyhoon/pakai-server-b4j","owner":"pyhoon","description":"Build REST API Server Using B4J Template","archived":false,"fork":false,"pushed_at":"2026-02-19T16:22:11.000Z","size":15564,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T16:47:22.886Z","etag":null,"topics":["ajax-request","b4a","b4i","b4j","b4x","bootstrap-icons","bootstrap4","bootstrap5","crud-api","htmx","jquery","json","restful-api","template","webapi","webapp","xml"],"latest_commit_sha":null,"homepage":"https://www.b4x.com/android/forum/threads/web-project-template-pakai-server-v6-00.169224/","language":"B4X","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/pyhoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://www.paypal.com/paypalme/aeric80/"}},"created_at":"2022-10-04T08:32:04.000Z","updated_at":"2026-02-19T16:23:59.000Z","dependencies_parsed_at":"2023-12-28T18:45:57.782Z","dependency_job_id":"e4118c5f-bf88-4f8d-820c-33db42c5f069","html_url":"https://github.com/pyhoon/pakai-server-b4j","commit_stats":null,"previous_names":["pyhoon/web-api-server-b4j","pyhoon/webapi-2-b4j","pyhoon/pakai-server-b4j"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/pyhoon/pakai-server-b4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhoon%2Fpakai-server-b4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhoon%2Fpakai-server-b4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhoon%2Fpakai-server-b4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhoon%2Fpakai-server-b4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyhoon","download_url":"https://codeload.github.com/pyhoon/pakai-server-b4j/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyhoon%2Fpakai-server-b4j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29872686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T21:05:00.265Z","status":"ssl_error","status_checked_at":"2026-02-26T20:57:13.669Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ajax-request","b4a","b4i","b4j","b4x","bootstrap-icons","bootstrap4","bootstrap5","crud-api","htmx","jquery","json","restful-api","template","webapi","webapp","xml"],"created_at":"2026-02-19T14:18:38.218Z","updated_at":"2026-02-26T21:08:02.282Z","avatar_url":"https://github.com/pyhoon.png","language":"B4X","funding_links":["https://www.paypal.com/paypalme/aeric80/","https://paypal.me/aeric80/"],"categories":[],"sub_categories":[],"readme":"# Pakai Server - Web Application framework\n\nVersion: 6.36\n\nCreate Web API or Application Backend Server using B4J project template\n\n### Preview\n![Index](pakai-index.png)\n\n---\n\n## Templates\n- Pakai Server (6.36).b4xtemplate **_recommended_**\n- Pakai Server Bundle (6.36).b4xtemplate (local assets)\n\n## Depends on\n- [EndsMeet.b4xlib](https://github.com/pyhoon/EndsMeet)\n- [MiniCSS.b4xlib](https://github.com/pyhoon/MiniCSS-B4X)\n- [MiniHtml.b4xlib](https://github.com/pyhoon/MiniHtml2-B4X)\n- [MiniJS.b4xlib](https://github.com/pyhoon/MiniJS-B4X)\n- [MiniORMUtils.b4xlib](https://github.com/pyhoon/MiniORMUtils-B4X)\n- [WebApiUtils.b4xlib](https://github.com/pyhoon/WebApiUtils-B4J)\n- sqlite-jdbc-3.7.2.jar (SQLite)\n- mysql-connector-j-9.3.0.jar (MySQL)\n- mariadb-java-client-3.5.6.jar (MariaDB)\n\n## Features\n- Frontend using Bootstrap v5.3.8, Bootstrap Icons v1.13.1, HTMX v2.0.8, AlpineJS v3.15.8\n- Responsive design with modal dialog and toast\n- SQLite and MySQL/MariaDB backend\n- Built-in REST API or CRUD examples\n\n## Improvement\n- Better UI/UX/DX compared to version 5.x\n- More flexible to generate new models\n- HTML generated using B4X\n- No JavaScript module\n- No jQuery AJAX parsing\n- JSON/XML API supported\n- WebApiUtils supported with HelpHandler\n\n### Code Example\n```b4x\nPrivate Sub CreateProductsTable As MiniHtml\n\tIf App.ctx.ContainsKey(\"/products/table\") = False Then\n\t\tDim table1 As MiniHtml = Table.cls(\"table table-bordered table-hover rounded small\")\n\t\tDim thead1 As MiniHtml = Thead.cls(\"table-light\").up(table1)\n\t\tTh.up(thead1).sty(\"text-align: right; width: 50px\").text(\"#\")\n\t\tTh.up(thead1).text(\"Code\")\n\t\tTh.up(thead1).text(\"Name\")\n\t\tTh.up(thead1).text(\"Category\")\n\t\tTh.up(thead1).sty(\"text-align: right\").text(\"Price\")\n\t\tTh.up(thead1).sty(\"text-align: center; width: 120px\").text(\"Actions\")\n\t\tTbody.up(table1)\n\t\tApp.ctx.Put(\"/products/table\", table1)\n\tEnd If\n\n\tDB.SQL = DB.Open\n\tDB.Table = \"tbl_products p\"\n\tDB.Columns = Array(\"p.id id\", \"p.category_id catid\", \"c.category_name category\", \"p.product_code code\", \"p.product_name name\", \"p.product_price price\")\n\tDB.Join = DB.CreateJoin(\"tbl_categories c\", \"p.category_id = c.id\", \"\")\n\tDB.OrderBy = CreateMap(\"p.id\": \"\")\n\tDB.Query\n\t\n\tDim table1 As MiniHtml = App.ctx.Get(\"/products/table\")\n\tDim tbody1 As MiniHtml = table1.Child(1)\n\ttbody1.Children.Clear ' remove all children\n\tFor Each row As Map In DB.Results\n\t\trow.Put(\"price\", NumberFormat2(row.Get(\"price\"), 1, 2, 2, True))\n\t\tDim tr1 As MiniHtml = CreateProductsRow\n\t\ttr1.Child(0).text2(row.Get(\"id\"))\n\t\ttr1.Child(1).text2(row.Get(\"code\"))\n\t\ttr1.Child(2).text2(row.Get(\"name\"))\n\t\ttr1.Child(3).text2(row.Get(\"category\"))\n\t\ttr1.Child(4).text2(row.Get(\"price\"))\n\t\ttr1.Child(5).Child(0).attr(\"hx-get\", \"/hx/products/edit/\" \u0026 row.Get(\"id\"))\n\t\ttr1.Child(5).Child(1).attr(\"hx-get\", \"/hx/products/delete/\" \u0026 row.Get(\"id\"))\n\t\ttr1.up(tbody1)\n\tNext\n\tDB.Close\n\tReturn table1\nEnd Sub\n```\n\n**Support this project**\n\n\u003ca href=\"https://paypal.me/aeric80/\"\u003e\u003cimg src=\"https://github.com/pyhoon/pakai-server-b4j/blob/main/source/Objects/www/assets/img/sponsor.png\" width=\"174\" title=\"Buy me a coffee\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyhoon%2Fpakai-server-b4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyhoon%2Fpakai-server-b4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyhoon%2Fpakai-server-b4j/lists"}