system bridge
4.1.13
提示
歡迎捐款!請隨時為該項目做出貢獻
您系統的橋樑。

您可以在此處找到安裝說明。
您可以在此處找到運行該應用程序的說明。
您可以在此處找到可以通過API/Websocket訪問的文檔數據模塊。
您可以在此處找到CLI的文檔。
您可以在此處找到API的文檔。
您可以在此處找到Websocket的文檔。
包含API/Websocket和數據模塊的主要應用程序。此軟件包需要systembridgeshared軟件包。
應用程序的命令行接口。在這裡,您可以獲取token並更新設置並獲取數據。
允許其他應用程序連接到後端。例如,在家庭助理集成中。
應用程序的前端。
systembridgebackend和systembridgecli軟件包所需的共享軟件包。
大多數其他包含應用程序使用的模型的軟件包使用的共享軟件包。
專門用於Windows,添加傳感器以獲取Windows系統信息。
.setup.ps1./setup.shyarn install
yarn tauri buildyarn install
yarn tauri dev Write-Host " Make sure you have winget, GitHub CLI, Git and Python 3.12 installed before running this script! "
Read-Host - Prompt " Press Enter to continue "
Write-Output " Upgrading GitHub CLI... "
winget upgrade GitHub.CLI
Write-Output " Upgrading Git... "
winget upgrade Git.Git
Write-Output " Upgrading Python 3.12... "
winget upgrade Python.Python. 3.12
Write-Output " Clone repositories... "
gh repo clone timmo001 / system - bridge package
gh repo clone timmo001 / system - bridge - backend backend
gh repo clone timmo001 / system - bridge - cli cli
gh repo clone timmo001 / system - bridge - connector connector
gh repo clone timmo001 / system - bridge - frontend frontend
gh repo clone timmo001 / system - bridge - shared shared
gh repo clone timmo001 / system - bridge - models models
gh repo clone timmo001 / system - bridge - windows - sensors windows - sensors
Write-Output " Clone complete! " Write-Host " Make sure you have ran clone.ps1 and have winget, Git and Python 3.12 installed before running this script! "
Read-Host - Prompt " Press Enter to continue "
Write-Output " Upgrading Python 3.12... "
winget upgrade Python.Python. 3.12
Write-Output " Update pip, setuptools and wheel... "
python - m pip install -- upgrade pip setuptools wheel
Write-Output " Uninstall any existing packages... "
python - m pip uninstall systembridge - y
python - m pip uninstall systembridgebackend - y
python - m pip uninstall systembridgecli - y
python - m pip uninstall systembridgeconnector - y
python - m pip uninstall systembridgefrontend - y
python - m pip uninstall systembridgeshared - y
python - m pip uninstall systembridgemodels - y
python - m pip uninstall systembridgewindowssensors - y
Write-Output " Install packages... "
Write-Output " Install models.. "
Set-Location models && git pull && python - m pip install . && Set-Location ..
Write-Output " Install shared.. "
Set-Location shared && git pull && python - m pip install . && Set-Location ..
Write-Output " Install connector.. "
Set-Location connector && git pull && python - m pip install . && Set-Location ..
Write-Output " Install frontend.. "
Set-Location frontend && git pull && yarn install && yarn build && python - m pip install . && Set-Location ..
Write-Output " Install cli.. "
Set-Location cli && git pull && python - m pip install . && Set-Location ..
Write-Output " Install backend.. "
Set-Location backend && git pull && python - m pip install . && Set-Location ..
Write-Output " This next step requires you to build the windows-sensors/WindowsSensors/WindowsSensors.sln solution in Visual Studio. "
Read-Host - Prompt " Press Enter to continue "
Write-Output " Install windows-sensors.. "
Set-Location windows - sensors && git pull && python - m pip install . && Set-Location ..
Write-Output " Install complete! "