{"id":30290291,"url":"https://github.com/alexs-sh/aichat-buildroot","last_synced_at":"2026-06-17T23:31:25.770Z","repository":{"id":308869423,"uuid":"1034385883","full_name":"alexs-sh/aichat-buildroot","owner":"alexs-sh","description":"A helper project to integrate AiChat into Buildroot.","archived":false,"fork":false,"pushed_at":"2026-03-03T13:13:21.000Z","size":1956,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-03T17:35:01.246Z","etag":null,"topics":["ai","aichat","arm","buildroot","cli","embedded","llm","ollama","orangepi","qemu","qemu-arm","raspberrypi","webui"],"latest_commit_sha":null,"homepage":"https://github.com/sigoden/aichat","language":"Shell","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/alexs-sh.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-08T09:57:45.000Z","updated_at":"2026-03-03T13:13:25.000Z","dependencies_parsed_at":"2025-08-26T15:35:05.413Z","dependency_job_id":"11b3a294-cf18-4f86-89df-c8768eee7abf","html_url":"https://github.com/alexs-sh/aichat-buildroot","commit_stats":null,"previous_names":["alexs-sh/aichat-buildroot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexs-sh/aichat-buildroot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexs-sh%2Faichat-buildroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexs-sh%2Faichat-buildroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexs-sh%2Faichat-buildroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexs-sh%2Faichat-buildroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexs-sh","download_url":"https://codeload.github.com/alexs-sh/aichat-buildroot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexs-sh%2Faichat-buildroot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34470322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["ai","aichat","arm","buildroot","cli","embedded","llm","ollama","orangepi","qemu","qemu-arm","raspberrypi","webui"],"created_at":"2025-08-16T23:12:16.342Z","updated_at":"2026-06-17T23:31:25.756Z","avatar_url":"https://github.com/alexs-sh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\n[![Build Status](https://gitlab.com/alexs-sh/aichat-buildroot/badges/master/pipeline.svg)](https://gitlab.com/alexs-sh/aichat-buildroot/-/commits/master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA helper project to integrate [aichat](https://github.com/sigoden/aichat)\ninto [Buildroot](https://buildroot.org/). The patches submitted to the Buildroot team can be found\n[here](https://patchwork.ozlabs.org/project/buildroot/list/?series=\u0026submitter=\u0026state=\u0026q=aichat\u0026archive=\u0026delegate=)\n\n# Status\n\nAiChat works on the test platforms: Raspberry Pi 3 (ARM32), QEMU (AArch64), and\nOrange Pi (AArch64).\n\nHowever, I encountered crashes and rendering issues while working over a serial\nport. This seems to be the exact problem I saw earlier in Helix, and it's likely\ncaused by the `crossterm` crate.\n\nHere are related issues \u0026 PRs:\n- [Crossterm](https://github.com/crossterm-rs/crossterm/pull/1007) - the main problem\n- [AiChat](https://github.com/sigoden/aichat/pull/1366) - here you can find workarounds\n- [Helix crash](https://github.com/helix-editor/helix/pull/14050) and [Helix render](https://github.com/helix-editor/helix/issues/14101)  - similar issues, but in Helix editor\n\nI didn’t dig too deeply into the problem because:\n- running AiChat over a serial line is a very unlikely scenario, and there’s a\nsimple workaround.\n- serve/SSH/display modes work fine. In my opinion, this is the main use case(s).\n- it’s very likely the same issue as with Helix. Let’s revisit it if the upstream\nfixes don’t work for AiChat.\n\n# Examples\n\n**QEMU aarch64**\n\n![QEMU](./pics/aichat-qemu.png \"QEMU\")\n\n**Raspberry PI3**\n\n![Raspberry PI](./pics/aichat-rpi.png \"Raspberry PI3\")\n\n# Build\n\nThe easiest way to build it is to use a script (like CI does).\n\n```\ngit clone --recursive git@github.com:alexs-sh/aichat-buildroot.git\ncd aichat-buildroot\n./build-img.sh\n```\nPrepared images will be available at `buildroot/output/images` directory.\n\nBy default, the `build-img.sh` script builds a QEMU image. You can specify the\ndesired device by passing a configuration name to the script. For example,\n\n```\n./build-img.sh raspberrypi3_defconfig\n```\nBuildroot will generate images targeting the Raspberry Pi 3.\n\nPlease visit the `configs` directory to view the full list of supported platforms.\n\nYou can avoid using the script, as it only performs trivial operations such as\nplacing the modified configuration file in the correct location. Instead, you\ncan manually replace the configuration file and run Buildroot directly. For\nexample:\n\n```\ncp configs/qemu_aarch64_virt_defconfig buildroot/configs/qemu_aarch64_virt_defconfig\ncd buildroot\nmake qemu_aarch64_virt_defconfig\nmake\n```\n\nIf you need to add new packages or change the configuration, you can use the\ndefault Buildroot tools located in the `buildroot` directory. For example:\n\n```\ncd buildroot\nmake menuconfig\n```\n\nPlease note, Buildroot has its own requirements regarding the applications that\nshould be installed on the host system. For more details, refer to the [System requirements](https://buildroot.org/downloads/manual/manual.html#requirement)\nsection in the Buildroot documentation. Alternatively, you can check the\n`dockerfiles` directory which contains instructions to prepare Debian-based\nimages used for CI builds.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexs-sh%2Faichat-buildroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexs-sh%2Faichat-buildroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexs-sh%2Faichat-buildroot/lists"}