|
|
6 ヶ月 前 | |
|---|---|---|
| backend | 6 ヶ月 前 | |
| docs | 6 ヶ月 前 | |
| frontend | 6 ヶ月 前 | |
| static | 6 ヶ月 前 | |
| .gitignore | 6 ヶ月 前 | |
| LICENSE | 6 ヶ月 前 | |
| README.md | 6 ヶ月 前 | |
| requirements.txt | 6 ヶ月 前 |
A self-hosted print archive and management system for Bambu Lab 3D printers
Features • Screenshots • Installation • Configuration • Usage • Contributing
Customizable Dashboard with drag-and-drop widgets
Print archive with grid and list views
# Clone the repository
git clone https://github.com/maziggy/bambusy.git
cd bambusy
# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate
# Install Python dependencies
pip install -r requirements.txt
# Start the server
uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
Open http://localhost:8000 in your browser.
macOS:
# Install Homebrew if not installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Python and Node.js
brew install python@3.12 node
Ubuntu/Debian:
sudo apt update
sudo apt install python3 python3-venv python3-pip nodejs npm git
Windows:
git clone https://github.com/maziggy/bambusy.git
cd bambusy
Linux/macOS:
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
Windows (PowerShell):
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install --upgrade pip
pip install -r requirements.txt
Windows (Command Prompt):
python -m venv venv
venv\Scripts\activate.bat
pip install --upgrade pip
pip install -r requirements.txt
The repository includes pre-built frontend files in /static. If you want to build from source:
cd frontend
npm install
npm run build
cd ..
uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
Open http://localhost:8000 in your browser.
Create a systemd service for automatic startup:
sudo nano /etc/systemd/system/bambusy.service
Add the following content (adjust paths as needed):
[Unit]
Description=Bambusy Print Archive
After=network.target
[Service]
Type=simple
User=YOUR_USERNAME
WorkingDirectory=/home/YOUR_USERNAME/bambusy
Environment="PATH=/home/YOUR_USERNAME/bambusy/venv/bin"
ExecStart=/home/YOUR_USERNAME/bambusy/venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Enable and start the service:
sudo systemctl daemon-reload
sudo systemctl enable bambusy
sudo systemctl start bambusy
# Check status
sudo systemctl status bambusy
# View logs
sudo journalctl -u bambusy -f
docker run -d \
--name bambusy \
-p 8000:8000 \
-v bambusy_data:/app/data \
-v bambusy_archive:/app/archive \
maziggy/bambusy:latest
cd bambusy
git pull origin main
# Activate virtual environment
source venv/bin/activate # Linux/macOS
# or: .\venv\Scripts\Activate.ps1 # Windows PowerShell
# Update dependencies
pip install -r requirements.txt
# Rebuild frontend (if needed)
cd frontend
npm install
npm run build
cd ..
# Restart the application
To connect Bambusy to your printer, you need to enable LAN Mode:
The printer should connect automatically and show real-time status.
| Key | Action |
|---|---|
1 |
Go to Printers |
2 |
Go to Archives |
3 |
Go to Statistics |
4 |
Go to Cloud Profiles |
5 |
Go to Settings |
? |
Show keyboard shortcuts |
The statistics dashboard features draggable, resizable widgets:
Your layout preferences are saved automatically.
Prints are automatically archived when they complete. You can also:
3MF files downloaded from MakerWorld contain embedded project pages with model information. To view:
bambusy/
├── backend/
│ └── app/
│ ├── api/routes/ # API endpoints
│ ├── core/ # Config, database
│ ├── models/ # SQLAlchemy models
│ ├── schemas/ # Pydantic schemas
│ └── services/ # Business logic (MQTT, FTP, etc.)
├── frontend/ # React application
├── static/ # Built frontend + images
├── archive/ # Stored 3MF files
└── bambusy.db # SQLite database
Once running, API documentation is available at:
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)cd frontend && npm run build/static folder contains index.html and /assetsThe SQLite database (bambusy.db) is created automatically. If you encounter issues:
# Backup and reset database
mv bambusy.db bambusy.db.backup
# Restart the application - a new database will be created
# If running directly
uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --log-level debug
# If running as systemd service
sudo journalctl -u bambusy -f
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the 3D printing community