Spaces:
Running
Running
feat(download): add Python SDK link for Linux users
Browse files- Add alternative for Linux/macOS Intel users who can't download the desktop app yet
- Direct them to reachy_mini GitHub repo to use the Python SDK directly
- Addresses feedback about Linux users not knowing they can interact with the daemon
- src/pages/Download.jsx +61 -2
src/pages/Download.jsx
CHANGED
|
@@ -620,7 +620,7 @@ export default function Download() {
|
|
| 620 |
fontSize: 17,
|
| 621 |
}}
|
| 622 |
>
|
| 623 |
-
🚧 {currentPlatform?.name}
|
| 624 |
</Typography>
|
| 625 |
</Box>
|
| 626 |
|
|
@@ -630,13 +630,72 @@ export default function Download() {
|
|
| 630 |
color: 'rgba(255,255,255,0.5)',
|
| 631 |
mt: 2,
|
| 632 |
fontSize: 14,
|
| 633 |
-
maxWidth:
|
| 634 |
mx: 'auto',
|
| 635 |
}}
|
| 636 |
>
|
| 637 |
We're working hard to bring Reachy Mini Control to {currentPlatform?.name}.
|
| 638 |
In the meantime, Windows and macOS (Apple Silicon) are fully supported!
|
| 639 |
</Typography>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 640 |
</>
|
| 641 |
)}
|
| 642 |
|
|
|
|
| 620 |
fontSize: 17,
|
| 621 |
}}
|
| 622 |
>
|
| 623 |
+
🚧 {currentPlatform?.name} desktop app coming soon!
|
| 624 |
</Typography>
|
| 625 |
</Box>
|
| 626 |
|
|
|
|
| 630 |
color: 'rgba(255,255,255,0.5)',
|
| 631 |
mt: 2,
|
| 632 |
fontSize: 14,
|
| 633 |
+
maxWidth: 500,
|
| 634 |
mx: 'auto',
|
| 635 |
}}
|
| 636 |
>
|
| 637 |
We're working hard to bring Reachy Mini Control to {currentPlatform?.name}.
|
| 638 |
In the meantime, Windows and macOS (Apple Silicon) are fully supported!
|
| 639 |
</Typography>
|
| 640 |
+
|
| 641 |
+
{/* Alternative for Linux/advanced users - Python SDK */}
|
| 642 |
+
<Box
|
| 643 |
+
sx={{
|
| 644 |
+
mt: 3,
|
| 645 |
+
p: 3,
|
| 646 |
+
borderRadius: 2,
|
| 647 |
+
background: 'rgba(16, 185, 129, 0.08)',
|
| 648 |
+
border: '1px solid rgba(16, 185, 129, 0.25)',
|
| 649 |
+
maxWidth: 520,
|
| 650 |
+
mx: 'auto',
|
| 651 |
+
textAlign: 'left',
|
| 652 |
+
}}
|
| 653 |
+
>
|
| 654 |
+
<Typography
|
| 655 |
+
variant="body2"
|
| 656 |
+
sx={{
|
| 657 |
+
color: 'rgba(255,255,255,0.9)',
|
| 658 |
+
fontWeight: 600,
|
| 659 |
+
mb: 1,
|
| 660 |
+
fontSize: 14,
|
| 661 |
+
}}
|
| 662 |
+
>
|
| 663 |
+
🐍 Looking to use the Python SDK directly?
|
| 664 |
+
</Typography>
|
| 665 |
+
<Typography
|
| 666 |
+
variant="body2"
|
| 667 |
+
sx={{
|
| 668 |
+
color: 'rgba(255,255,255,0.6)',
|
| 669 |
+
fontSize: 13,
|
| 670 |
+
lineHeight: 1.6,
|
| 671 |
+
mb: 1.5,
|
| 672 |
+
}}
|
| 673 |
+
>
|
| 674 |
+
{detectedPlatform?.includes('linux')
|
| 675 |
+
? "Linux users can interact directly with their Reachy Mini using the Python SDK. Run the daemon locally and use the full API for custom applications."
|
| 676 |
+
: "Advanced users can interact directly with their Reachy Mini using the Python SDK and daemon."}
|
| 677 |
+
</Typography>
|
| 678 |
+
<Button
|
| 679 |
+
variant="outlined"
|
| 680 |
+
size="small"
|
| 681 |
+
href="https://github.com/pollen-robotics/reachy_mini"
|
| 682 |
+
target="_blank"
|
| 683 |
+
endIcon={<OpenInNewIcon sx={{ fontSize: 14 }} />}
|
| 684 |
+
sx={{
|
| 685 |
+
color: '#10b981',
|
| 686 |
+
borderColor: 'rgba(16, 185, 129, 0.4)',
|
| 687 |
+
fontWeight: 600,
|
| 688 |
+
fontSize: 12,
|
| 689 |
+
textTransform: 'none',
|
| 690 |
+
'&:hover': {
|
| 691 |
+
borderColor: '#10b981',
|
| 692 |
+
bgcolor: 'rgba(16, 185, 129, 0.1)',
|
| 693 |
+
},
|
| 694 |
+
}}
|
| 695 |
+
>
|
| 696 |
+
View reachy_mini on GitHub
|
| 697 |
+
</Button>
|
| 698 |
+
</Box>
|
| 699 |
</>
|
| 700 |
)}
|
| 701 |
|