{"id":22316453,"url":"https://github.com/grctest/electron-bitnet","last_synced_at":"2025-07-29T11:32:15.413Z","repository":{"id":260201848,"uuid":"877997287","full_name":"grctest/Electron-BitNet","owner":"grctest","description":"Running Microsoft's BitNet via Electron, React \u0026 Astro","archived":false,"fork":false,"pushed_at":"2025-04-24T19:31:16.000Z","size":8381,"stargazers_count":39,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-01T16:19:41.311Z","etag":null,"topics":["1-bit","1-bit-quantization","ai","astrojs","benchmarking","bitnet","electron","inference-framework","large-language-models","llm","perplexity","reactjs"],"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/grctest.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":"2024-10-24T15:42:23.000Z","updated_at":"2025-05-30T18:07:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"add9a333-b6dd-40aa-8485-863bba49c06e","html_url":"https://github.com/grctest/Electron-BitNet","commit_stats":null,"previous_names":["grctest/electron-bitnet"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/grctest/Electron-BitNet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grctest%2FElectron-BitNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grctest%2FElectron-BitNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grctest%2FElectron-BitNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grctest%2FElectron-BitNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grctest","download_url":"https://codeload.github.com/grctest/Electron-BitNet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grctest%2FElectron-BitNet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267678448,"owners_count":24126333,"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-07-29T02:00:12.549Z","response_time":2574,"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":["1-bit","1-bit-quantization","ai","astrojs","benchmarking","bitnet","electron","inference-framework","large-language-models","llm","perplexity","reactjs"],"created_at":"2024-12-03T23:06:37.666Z","updated_at":"2025-07-29T11:32:15.402Z","avatar_url":"https://github.com/grctest.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electron-BitNet\n\nRunning [Microsoft's BitNet](https://github.com/microsoft/BitNet) via [Astro](https://astro.build/), [React](https://react.dev/) \u0026 [Electron](https://www.electronjs.org/)!\n\n![image](https://github.com/user-attachments/assets/d8af4105-7ca6-49b6-9b6c-5ead7f332b11)\n\n## Functionality\n\n* Run Microsoft's official BitNet model in chat mode\n* Benchmark BitNet models\n* Calculate BitNet model perplexity\n* Switch between multiple languages\n\n## How to setup this application\n\n- Use python to prepare 1-bit models\n  - Follow [Microsoft's instructions](https://github.com/microsoft/BitNet?tab=readme-ov-file#installation), installing visual studio 2022 (including c++ desktop build tools \u0026 clang build tools) and preparing Microsoft's [Official BitNet model](https://huggingface.co/microsoft/bitnet-b1.58-2B-4T) for use.\n  - OR: Download Microsoft's official BitNet model directly: https://huggingface.co/microsoft/bitnet-b1.58-2B-4T-gguf\n- Supports generated gguf models.\n- Run the commands below to build and run the app\n\n| Command                                | Action                                           |\n| :------------------------------------- | :----------------------------------------------- |\n| `npm install`                          | Installs dependencies                            |\n| `npm run restart`                      | Starts local dev server at `localhost:4321`      |\n| `npm run build:astro`                  | Builds the production site at `./dist/`          |\n| `npm run build:astro \\| npm run start` | Builds then runs the electorn app in dev mode.   |\n| `npm run dist:windows-latest`          | Builds the windows application.                  |\n\nReference project: https://github.com/microsoft/BitNet\n\n---\n\nNote: At the moment only Windows is supported, Linux support may come in the future.\n\n---\n\nPrefer to use an installer? Check out the [latest windows releases](https://github.com/grctest/Electron-BitNet/releases)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrctest%2Felectron-bitnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrctest%2Felectron-bitnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrctest%2Felectron-bitnet/lists"}