{"id":20910514,"url":"https://github.com/ziteh/elebox","last_synced_at":"2026-01-07T08:05:36.535Z","repository":{"id":205479309,"uuid":"714331145","full_name":"ziteh/elebox","owner":"ziteh","description":"Lightweight personal electronic parts inventory management","archived":false,"fork":false,"pushed_at":"2024-09-28T08:15:33.000Z","size":1114,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T21:01:51.848Z","etag":null,"topics":["embedded-database","gui","inventory","inventory-management","tauri"],"latest_commit_sha":null,"homepage":"https://elebox.ziteh.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziteh.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-11-04T15:41:52.000Z","updated_at":"2025-01-12T01:48:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbb194f5-214d-4c15-8561-c46e87f7eef2","html_url":"https://github.com/ziteh/elebox","commit_stats":null,"previous_names":["ziteh/elebox"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Felebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Felebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Felebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziteh%2Felebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziteh","download_url":"https://codeload.github.com/ziteh/elebox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243302637,"owners_count":20269537,"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":["embedded-database","gui","inventory","inventory-management","tauri"],"created_at":"2024-11-18T14:15:37.200Z","updated_at":"2026-01-07T08:05:36.504Z","avatar_url":"https://github.com/ziteh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elebox\n\n![](https://i.imgur.com/i6ihU9o.png)\n\n🌐[English](https://github.com/ziteh/elebox?tab=readme-ov-file#readme)\n\n輕量級個人電子零件物料管理工具。\n\n它旨在提供簡單、直覺、無須配置且開箱即用的使用體驗。嵌入式、單檔案資料庫讓資料備份更容易。\n\n\u003e 🚧 開發中\n\n## 特色\n\n- 類別樹\n    ![](https://i.imgur.com/phWJwdP.png)\n- 自訂欄位\n    ![](https://i.imgur.com/XFL17i5.png)\n- 以 YAML 檔匯出或匯入\n- i18n 國際化多語言 (🚧)\n- 零件欄位:\n    - 名稱\n    - 類別\n    - 數量\n    - 封裝\n    - 詳細封裝\n    - 製造商\n    - 製造商料號\n    - 別名\n    - 位置\n    - 產品連結\n    - 數據表連結\n    - 圖片連結\n    - 描述\n    - 加星\n    - n× 自訂欄位\n        - 類型\n        - 名稱\n        - 值\n    - n× 供應商\n        - 名稱\n        - 連結\n        - 價格\n        - 備註\n\n\u003e [更多截圖](https://imgur.com/a/D1NnbBg)\n\n## 用法\n\n可以從 [Releases](https://github.com/ziteh/elebox/releases) 下載可執行檔。\n\n### GUI\n\n圖形化程式使用 [Tauri](https://tauri.app/).\n\n對於開發，爲 Vite 安裝 Node.js \u003e= `20.9.0`。\n\n```bash\ncd elebox-tauri\npnpm install\npnpm tauri dev\n```\n\n### CLI\n\n如果你是直接透過 Cargo 運行（即不是使用發行的可執行檔），請將下列指令中的 `elebox-cli` 替換成 `cargo run -p elebox-cli --`。例如使用 `cargo run -p elebox-cli -- help` 取代 `elebox-cli help`。\n\n#### 基礎\n\n顯示幫助訊息：\n\n```bash\nelebox-cli help\n```\n\n使用預設的資料庫路徑和檔名 `./elebox.db`：\n\n```bash\nelebox-cli \u003cCOMMAND\u003e\n```\n\n或指定爲 `./my_box.db`:\n\n```bash\nelebox-cli my_box.db \u003cCOMMAND\u003e\n```\n\n`\u003cCOMMAND\u003e` 可以是 `init`、`part`、`category`、`export` 或 `import`。\n\n#### 初始化\n\n你需要先初始化資料庫才可以進行後續的其它操作。\n\n建立並初始化一個新的資料庫（以預設路徑和檔名）：\n\n```bash\nelebox-cli init\n```\n\n#### 編輯零件分類\n\n列出所有零件分類：\n\n```bash\nelebox-cli category\n```\n\n建立一個名爲 `MCU` 的新分類：\n\n```bash\nelebox-cli category new MCU\n```\n\n建立新名爲 `ARM` 和 `RISC-V` 的新分類，且將其設爲 `MCU` 的子類別。\n\n```bash\nelebox-cli category new ARM -p MCU\nelebox-cli category new \"RISC-V\" -p MCU\n```\n\n#### 編輯零件\n\n列出所有零件：\n\n```bash\nelebox-cli part\n```\n\n建立一個名爲 `RP2040` 的新零件庫存，且分類爲 `ARM`，數量爲 `25` 個：\n\n```bash\nelebox-cli part new RP2040 25 ARM\n```\n\n消耗或補充 10 個 `RP2040`：\n\n```bash\nelebox-cli part use RP2040 10\nelebox-cli part add RP2040 10\n```\n\n將 `RP2040` 重新命名爲 `rpi-2040`\n\n```bash\nelebox-cli part update RP2040 \"rpi-2040\"\n```\n\n## 授權條款\n\n根據選擇使用 [Apache-2.0](/LICENSE-APACHE) 或 [MIT license](/LICENSE-MIT) 進行授權。\n\nIcon 來自 [Material Design Icons](https://pictogrammers.com/library/mdi/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziteh%2Felebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziteh%2Felebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziteh%2Felebox/lists"}